interface NoDeviceProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnInstance.NoDeviceProperty |
Java | software.amazon.awscdk.services.ec2.CfnInstance.NoDeviceProperty |
Python | aws_cdk.aws_ec2.CfnInstance.NoDeviceProperty |
TypeScript | @aws-cdk/aws-ec2 » CfnInstance » NoDeviceProperty |
Suppresses the specified device included in the block device mapping of the AMI.
To suppress a device, specify an empty string.
NoDevice
is a property of the Amazon EC2 BlockDeviceMapping property.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const noDeviceProperty: ec2.CfnInstance.NoDeviceProperty = { };