interface EbsInstanceBlockDeviceSpecificationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty |
Java | software.amazon.awscdk.services.imagebuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty |
Python | aws_cdk.aws_imagebuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty |
TypeScript | @aws-cdk/aws-imagebuilder » CfnImageRecipe » EbsInstanceBlockDeviceSpecificationProperty |
The image recipe EBS instance block device specification includes the Amazon EBS-specific block device mapping specifications for the 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 ebsInstanceBlockDeviceSpecificationProperty: imagebuilder.CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty = {
deleteOnTermination: false,
encrypted: false,
iops: 123,
kmsKeyId: 'kmsKeyId',
snapshotId: 'snapshotId',
throughput: 123,
volumeSize: 123,
volumeType: 'volumeType',
};
Properties
Name | Type | Description |
---|---|---|
delete | boolean | IResolvable | Configures delete on termination of the associated device. |
encrypted? | boolean | IResolvable | Use to configure device encryption. |
iops? | number | Use to configure device IOPS. |
kms | string | Use to configure the KMS key to use when encrypting the device. |
snapshot | string | The snapshot that defines the device contents. |
throughput? | number | For GP3 volumes only – The throughput in MiB/s that the volume supports. |
volume | number | Overrides the volume size of the device. |
volume | string | Overrides the volume type of the device. |
deleteOnTermination?
Type:
boolean |
IResolvable
(optional)
Configures delete on termination of the associated device.
encrypted?
Type:
boolean |
IResolvable
(optional)
Use to configure device encryption.
iops?
Type:
number
(optional)
Use to configure device IOPS.
kmsKeyId?
Type:
string
(optional)
Use to configure the KMS key to use when encrypting the device.
snapshotId?
Type:
string
(optional)
The snapshot that defines the device contents.
throughput?
Type:
number
(optional)
For GP3 volumes only – The throughput in MiB/s that the volume supports.
volumeSize?
Type:
number
(optional)
Overrides the volume size of the device.
volumeType?
Type:
string
(optional)
Overrides the volume type of the device.