Class CfnContainerRecipe.InstanceBlockDeviceMappingProperty
Defines block device mappings for the instance used to configure your image.
Inheritance
System.Object
CfnContainerRecipe.InstanceBlockDeviceMappingProperty
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InstanceBlockDeviceMappingProperty : Object, CfnContainerRecipe.IInstanceBlockDeviceMappingProperty
Syntax (vb)
Public Class InstanceBlockDeviceMappingProperty
Inherits Object
Implements CfnContainerRecipe.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 | Use to remove a mapping from the base image. |
VirtualName | Use to manage 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
Use to remove a mapping from the base image.
public string NoDevice { get; set; }
Property Value
System.String
Remarks
VirtualName
Use to manage instance ephemeral devices.
public string VirtualName { get; set; }
Property Value
System.String