aws-cdk-lib.aws_ec2.CfnInstance.NoDeviceProperty
interface NoDeviceProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnInstance.NoDeviceProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnInstance_NoDeviceProperty |
![]() | software.amazon.awscdk.services.ec2.CfnInstance.NoDeviceProperty |
![]() | aws_cdk.aws_ec2.CfnInstance.NoDeviceProperty |
![]() | 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 = { };