@Stability(value=Stable)
public static interface CfnService.InstanceConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apprunner.*;
InstanceConfigurationProperty instanceConfigurationProperty = InstanceConfigurationProperty.builder()
.cpu("cpu")
.instanceRoleArn("instanceRoleArn")
.memory("memory")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnService.InstanceConfigurationProperty.Builder
A builder for
CfnService.InstanceConfigurationProperty |
static class |
CfnService.InstanceConfigurationProperty.Jsii$Proxy
An implementation for
CfnService.InstanceConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnService.InstanceConfigurationProperty.Builder |
builder() |
default String |
getCpu()
The number of CPU units reserved for each instance of your App Runner service.
|
default String |
getInstanceRoleArn()
The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service.
|
default String |
getMemory()
The amount of memory, in MB or GB, reserved for each instance of your App Runner service.
|
@Stability(value=Stable) @Nullable default String getCpu()
Default: 1 vCPU
@Stability(value=Stable) @Nullable default String getInstanceRoleArn()
These are permissions that your code needs when it calls any AWS APIs.
@Stability(value=Stable) @Nullable default String getMemory()
Default: 2 GB
@Stability(value=Stable) static CfnService.InstanceConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.