Class CfnInstance.NoDeviceProperty
Suppresses the specified device included in the block device mapping of the AMI.
Inheritance
System.Object
CfnInstance.NoDeviceProperty
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class NoDeviceProperty : Object, CfnInstance.INoDeviceProperty
Syntax (vb)
Public Class NoDeviceProperty
Inherits Object
Implements CfnInstance.INoDeviceProperty
Remarks
To suppress a device, specify an empty string.
NoDevice
is a property of the Amazon EC2 BlockDeviceMapping property.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var noDeviceProperty = new NoDeviceProperty { };
Synopsis
Constructors
NoDeviceProperty() |
Constructors
NoDeviceProperty()
public NoDeviceProperty()