Interface CfnService.InstanceConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnService.InstanceConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnService
@Stability(Stable)
public static interface CfnService.InstanceConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Describes the runtime configuration of an AWS App Runner service instance (scaling unit).
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnService.InstanceConfigurationProperty
static final class
An implementation forCfnService.InstanceConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
getCpu()
The number of CPU units reserved for each instance of your App Runner service.default String
The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service.default String
The amount of memory, in MB or GB, reserved for each instance of your App Runner service.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCpu
The number of CPU units reserved for each instance of your App Runner service.Default:
1 vCPU
-
getInstanceRoleArn
The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service.These are permissions that your code needs when it calls any AWS APIs.
-
getMemory
The amount of memory, in MB or GB, reserved for each instance of your App Runner service.Default:
2 GB
-
builder
-