public static interface CfnContainerRecipe.InstanceConfigurationProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnContainerRecipe.InstanceConfigurationProperty.Builder
A builder for
CfnContainerRecipe.InstanceConfigurationProperty |
static class |
CfnContainerRecipe.InstanceConfigurationProperty.Jsii$Proxy
An implementation for
CfnContainerRecipe.InstanceConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnContainerRecipe.InstanceConfigurationProperty.Builder |
builder() |
default java.lang.Object |
getBlockDeviceMappings()
Defines the block devices to attach for building an instance from this Image Builder AMI.
|
default java.lang.String |
getImage()
The AMI ID to use as the base image for a container build and test instance.
|
default java.lang.Object getBlockDeviceMappings()
default java.lang.String getImage()
If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
static CfnContainerRecipe.InstanceConfigurationProperty.Builder builder()