Class CfnImageRecipe.InstanceBlockDeviceMappingProperty
Defines block device mappings for the instance used to configure your image.
Inheritance
System.Object
CfnImageRecipe.InstanceBlockDeviceMappingProperty
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InstanceBlockDeviceMappingProperty : Object, CfnImageRecipe.IInstanceBlockDeviceMappingProperty
Syntax (vb)
Public Class InstanceBlockDeviceMappingProperty
Inherits Object
Implements CfnImageRecipe.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
Constructors
InstanceBlockDeviceMappingProperty() |
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. |
Constructors
InstanceBlockDeviceMappingProperty()
public InstanceBlockDeviceMappingProperty()
Properties
DeviceName
The device to which these mappings apply.
public string DeviceName { get; set; }
Property Value
System.String
Remarks
Ebs
Use to manage Amazon EBS-specific configuration for this mapping.
public object Ebs { get; set; }
Property Value
System.Object
Remarks
NoDevice
Enter an empty string to remove a mapping from the parent image.
public string NoDevice { get; set; }
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.
public string VirtualName { get; set; }
Property Value
System.String