Interface CfnInstance.IEbsBlockDeviceProperty
Namespace: Amazon.CDK.AWS.OpsWorks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEbsBlockDeviceProperty
Syntax (vb)
Public Interface 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
Delete |
Whether the volume is deleted on instance termination. |
Iops | The number of I/O operations per second (IOPS) that the volume supports. |
Snapshot |
The snapshot ID. |
Volume |
The volume size, in GiB. |
Volume |
The volume type. |
Properties
DeleteOnTermination
Whether the volume is deleted on instance termination.
virtual object DeleteOnTermination { get; }
Property Value
System.
Remarks
Iops
The number of I/O operations per second (IOPS) that the volume supports.
virtual Nullable<double> Iops { get; }
Property Value
System.
Remarks
SnapshotId
The snapshot ID.
virtual string SnapshotId { get; }
Property Value
System.
Remarks
VolumeSize
The volume size, in GiB.
virtual Nullable<double> VolumeSize { get; }
Property Value
System.
Remarks
VolumeType
The volume type.
virtual string VolumeType { get; }
Property Value
System.
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).