Interface CfnContainerRecipe.InstanceConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerRecipe.InstanceConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnContainerRecipe
@Stability(Stable)
public static interface CfnContainerRecipe.InstanceConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Defines a custom base AMI and block device mapping configurations of an instance used for building and testing container images.
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.imagebuilder.*; InstanceConfigurationProperty instanceConfigurationProperty = InstanceConfigurationProperty.builder() .blockDeviceMappings(List.of(InstanceBlockDeviceMappingProperty.builder() .deviceName("deviceName") .ebs(EbsInstanceBlockDeviceSpecificationProperty.builder() .deleteOnTermination(false) .encrypted(false) .iops(123) .kmsKeyId("kmsKeyId") .snapshotId("snapshotId") .throughput(123) .volumeSize(123) .volumeType("volumeType") .build()) .noDevice("noDevice") .virtualName("virtualName") .build())) .image("image") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnContainerRecipe.InstanceConfigurationProperty
static final class
An implementation forCfnContainerRecipe.InstanceConfigurationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBlockDeviceMappings
Defines the block devices to attach for building an instance from this Image Builder AMI.- See Also:
-
getImage
The AMI ID to use as the base image for a container build and test instance.If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
- See Also:
-
builder
-