Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.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.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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-deleteontermination

Iops

The number of I/O operations per second (IOPS) that the volume supports.

double? Iops { get; }
Property Value

double?

Remarks

For more information, see EbsBlockDevice .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-iops

SnapshotId

The snapshot ID.

string? SnapshotId { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-snapshotid

VolumeSize

The volume size, in GiB.

double? VolumeSize { get; }
Property Value

double?

Remarks

For more information, see EbsBlockDevice .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-volumesize

VolumeType

The volume type.

string? VolumeType { get; }
Property Value

string

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).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-volumetype

Back to top Generated by DocFX