Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-devicename

Ebs

Use to manage Amazon EBS-specific configuration for this mapping.

object? Ebs { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-ebs

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

string

Remarks

The following is an example of an empty string value in the NoDevice field.

NoDevice:""

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-nodevice

VirtualName

Manages the instance ephemeral devices.

string? VirtualName { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-virtualname

Back to top Generated by DocFX