interface InstanceBlockDeviceMappingProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.CfnImageRecipe.InstanceBlockDeviceMappingProperty |
Java | software.amazon.awscdk.services.imagebuilder.CfnImageRecipe.InstanceBlockDeviceMappingProperty |
Python | aws_cdk.aws_imagebuilder.CfnImageRecipe.InstanceBlockDeviceMappingProperty |
TypeScript | @aws-cdk/aws-imagebuilder » CfnImageRecipe » InstanceBlockDeviceMappingProperty |
Defines block device mappings for the instance used to configure your image.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as imagebuilder from '@aws-cdk/aws-imagebuilder';
const instanceBlockDeviceMappingProperty: imagebuilder.CfnImageRecipe.InstanceBlockDeviceMappingProperty = {
deviceName: 'deviceName',
ebs: {
deleteOnTermination: false,
encrypted: false,
iops: 123,
kmsKeyId: 'kmsKeyId',
snapshotId: 'snapshotId',
throughput: 123,
volumeSize: 123,
volumeType: 'volumeType',
},
noDevice: 'noDevice',
virtualName: 'virtualName',
};
Properties
Name | Type | Description |
---|---|---|
device | string | The device to which these mappings apply. |
ebs? | IResolvable | Ebs | Use to manage Amazon EBS-specific configuration for this mapping. |
no | string | Enter an empty string to remove a mapping from the parent image. |
virtual | string | Manages the instance ephemeral devices. |
deviceName?
Type:
string
(optional)
The device to which these mappings apply.
ebs?
Type:
IResolvable
|
Ebs
(optional)
Use to manage Amazon EBS-specific configuration for this mapping.
noDevice?
Type:
string
(optional)
Enter an empty string to remove a mapping from the parent image.
The following is an example of an empty string value in the NoDevice
field.
NoDevice:""
virtualName?
Type:
string
(optional)
Manages the instance ephemeral devices.