aws-cdk-lib.aws_ec2.CfnInstance.NoDeviceProperty

interface NoDeviceProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnInstance.NoDeviceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnInstance_NoDeviceProperty
Javasoftware.amazon.awscdk.services.ec2.CfnInstance.NoDeviceProperty
Pythonaws_cdk.aws_ec2.CfnInstance.NoDeviceProperty
TypeScript aws-cdk-lib » 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
const noDeviceProperty: ec2.CfnInstance.NoDeviceProperty = { };