Class CfnImageRecipe.EbsInstanceBlockDeviceSpecificationProperty
The image recipe EBS instance block device specification includes the Amazon EBS-specific block device mapping specifications for the image.
Inheritance
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EbsInstanceBlockDeviceSpecificationProperty : Object, CfnImageRecipe.IEbsInstanceBlockDeviceSpecificationProperty
Syntax (vb)
Public Class EbsInstanceBlockDeviceSpecificationProperty
Inherits Object
Implements CfnImageRecipe.IEbsInstanceBlockDeviceSpecificationProperty
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 ebsInstanceBlockDeviceSpecificationProperty = new EbsInstanceBlockDeviceSpecificationProperty {
DeleteOnTermination = false,
Encrypted = false,
Iops = 123,
KmsKeyId = "kmsKeyId",
SnapshotId = "snapshotId",
Throughput = 123,
VolumeSize = 123,
VolumeType = "volumeType"
};
Synopsis
Constructors
EbsInstanceBlockDeviceSpecificationProperty() |
Properties
DeleteOnTermination | Configures delete on termination of the associated device. |
Encrypted | Use to configure device encryption. |
Iops | Use to configure device IOPS. |
KmsKeyId | Use to configure the KMS key to use when encrypting the device. |
SnapshotId | The snapshot that defines the device contents. |
Throughput | For GP3 volumes only – The throughput in MiB/s that the volume supports. |
VolumeSize | Overrides the volume size of the device. |
VolumeType | Overrides the volume type of the device. |
Constructors
EbsInstanceBlockDeviceSpecificationProperty()
public EbsInstanceBlockDeviceSpecificationProperty()
Properties
DeleteOnTermination
Configures delete on termination of the associated device.
public object DeleteOnTermination { get; set; }
Property Value
System.Object
Remarks
Encrypted
Use to configure device encryption.
public object Encrypted { get; set; }
Property Value
System.Object
Remarks
Iops
Use to configure device IOPS.
public Nullable<double> Iops { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
KmsKeyId
Use to configure the KMS key to use when encrypting the device.
public string KmsKeyId { get; set; }
Property Value
System.String
Remarks
SnapshotId
The snapshot that defines the device contents.
public string SnapshotId { get; set; }
Property Value
System.String
Remarks
Throughput
For GP3 volumes only – The throughput in MiB/s that the volume supports.
public Nullable<double> Throughput { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
VolumeSize
Overrides the volume size of the device.
public Nullable<double> VolumeSize { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
VolumeType
Overrides the volume type of the device.
public string VolumeType { get; set; }
Property Value
System.String