Interface CfnImageRecipe.IInstanceBlockDeviceMappingProperty
Defines block device mappings for the instance used to configure your image.
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IInstanceBlockDeviceMappingProperty
Syntax (vb)
Public Interface IInstanceBlockDeviceMappingProperty
Remarks
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.ImageBuilder;
var instanceBlockDeviceMappingProperty = new InstanceBlockDeviceMappingProperty {
DeviceName = "deviceName",
Ebs = new EbsInstanceBlockDeviceSpecificationProperty {
DeleteOnTermination = false,
Encrypted = false,
Iops = 123,
KmsKeyId = "kmsKeyId",
SnapshotId = "snapshotId",
Throughput = 123,
VolumeSize = 123,
VolumeType = "volumeType"
},
NoDevice = "noDevice",
VirtualName = "virtualName"
};
Synopsis
Properties
DeviceName | The device to which these mappings apply. |
Ebs | Use to manage Amazon EBS-specific configuration for this mapping. |
NoDevice | Enter an empty string to remove a mapping from the parent image. |
VirtualName | Manages the instance ephemeral devices. |
Properties
DeviceName
The device to which these mappings apply.
virtual string DeviceName { get; }
Property Value
System.String
Remarks
Ebs
Use to manage Amazon EBS-specific configuration for this mapping.
virtual object Ebs { get; }
Property Value
System.Object
Remarks
NoDevice
Enter an empty string to remove a mapping from the parent image.
virtual string NoDevice { get; }
Property Value
System.String
Remarks
The following is an example of an empty string value in the NoDevice
field.
NoDevice:""
VirtualName
Manages the instance ephemeral devices.
virtual string VirtualName { get; }
Property Value
System.String