interface InstanceConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins.CfnContainerRecipePropsMixin.InstanceConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsimagebuilder/mixins#CfnContainerRecipePropsMixin_InstanceConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.imagebuilder.mixins.CfnContainerRecipePropsMixin.InstanceConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_imagebuilder.mixins.CfnContainerRecipePropsMixin.InstanceConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_imagebuilder » mixins » CfnContainerRecipePropsMixin » InstanceConfigurationProperty |
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 { mixins as imagebuilder_mixins } from '@aws-cdk/mixins-preview/aws-imagebuilder';
const instanceConfigurationProperty: imagebuilder_mixins.CfnContainerRecipePropsMixin.InstanceConfigurationProperty = {
blockDeviceMappings: [{
deviceName: 'deviceName',
ebs: {
deleteOnTermination: false,
encrypted: false,
iops: 123,
kmsKeyId: 'kmsKeyId',
snapshotId: 'snapshotId',
throughput: 123,
volumeSize: 123,
volumeType: 'volumeType',
},
noDevice: 'noDevice',
virtualName: 'virtualName',
}],
image: 'image',
};
Properties
| Name | Type | Description |
|---|---|---|
| block | IResolvable | (IResolvable | Instance)[] | Defines the block devices to attach for building an instance from this Image Builder AMI. |
| image? | string | The base image for a container build and test instance. |
blockDeviceMappings?
Type:
IResolvable | (IResolvable | Instance)[]
(optional)
Defines the block devices to attach for building an instance from this Image Builder AMI.
image?
Type:
string
(optional)
The base image for a container build and test instance.
This can contain an AMI ID or it can specify an AWS Systems Manager (SSM) Parameter Store Parameter, prefixed by ssm: , followed by the parameter name or ARN.
If not specified, Image Builder uses the appropriate ECS-optimized AMI as a base image.

.NET
Go
Java
Python
TypeScript