Interface CfnInstance.IEbsBlockDeviceProperty
Namespace: Amazon.CDK.AWS.OpsWorks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnInstance.IEbsBlockDeviceProperty
Syntax (vb)
Public Interface CfnInstance.IEbsBlockDeviceProperty
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.OpsWorks;
var ebsBlockDeviceProperty = new EbsBlockDeviceProperty {
DeleteOnTermination = false,
Iops = 123,
SnapshotId = "snapshotId",
VolumeSize = 123,
VolumeType = "volumeType"
};
Synopsis
Properties
DeleteOnTermination | Whether the volume is deleted on instance termination. |
Iops | The number of I/O operations per second (IOPS) that the volume supports. |
SnapshotId | The snapshot ID. |
VolumeSize | The volume size, in GiB. |
VolumeType | The volume type. |
Properties
DeleteOnTermination
Whether the volume is deleted on instance termination.
object? DeleteOnTermination { get; }
Property Value
Remarks
Iops
The number of I/O operations per second (IOPS) that the volume supports.
double? Iops { get; }
Property Value
Remarks
SnapshotId
The snapshot ID.
string? SnapshotId { get; }
Property Value
Remarks
VolumeSize
The volume size, in GiB.
double? VolumeSize { get; }
Property Value
Remarks
VolumeType
The volume type.
string? VolumeType { get; }
Property Value
Remarks
gp2
for General Purpose (SSD) volumes, io1
for Provisioned IOPS (SSD) volumes, st1
for Throughput Optimized hard disk drives (HDD), sc1
for Cold HDD,and standard
for Magnetic volumes.
If you specify the io1
volume type, you must also specify a value for the Iops
attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).