Interface CfnImageRecipePropsMixin.IInstanceBlockDeviceMappingProperty
Defines block device mappings for the instance used to configure your image.
Namespace: Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnImageRecipePropsMixin.IInstanceBlockDeviceMappingProperty
Syntax (vb)
Public Interface CfnImageRecipePropsMixin.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.Mixins.Preview.AWS.ImageBuilder.Mixins;
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.
string? DeviceName { get; }
Property Value
Remarks
Ebs
Use to manage Amazon EBS-specific configuration for this mapping.
object? Ebs { get; }
Property Value
Remarks
Type union: either IResolvable or CfnImageRecipePropsMixin.IEbsInstanceBlockDeviceSpecificationProperty
NoDevice
Enter an empty string to remove a mapping from the parent image.
string? NoDevice { get; }
Property Value
Remarks
The following is an example of an empty string value in the NoDevice field.
NoDevice:""
VirtualName
Manages the instance ephemeral devices.
string? VirtualName { get; }