Class CfnCluster.VolumeSpecificationProperty
VolumeSpecification
is a subproperty of the EbsBlockDeviceConfig
property type.
Inheritance
System.Object
CfnCluster.VolumeSpecificationProperty
Implements
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.AWS.EMR.dll
Syntax (csharp)
public class VolumeSpecificationProperty : Object, CfnCluster.IVolumeSpecificationProperty
Syntax (vb)
Public Class VolumeSpecificationProperty
Inherits Object
Implements CfnCluster.IVolumeSpecificationProperty
Remarks
VolumeSecification
determines the volume type, IOPS, and size (GiB) for EBS volumes attached to EC2 instances.
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.EMR;
var volumeSpecificationProperty = new VolumeSpecificationProperty {
SizeInGb = 123,
VolumeType = "volumeType",
// the properties below are optional
Iops = 123
};
Synopsis
Constructors
VolumeSpecificationProperty() |
Properties
Iops | The number of I/O operations per second (IOPS) that the volume supports. |
SizeInGb | The volume size, in gibibytes (GiB). |
VolumeType | The volume type. |
Constructors
VolumeSpecificationProperty()
public VolumeSpecificationProperty()
Properties
Iops
The number of I/O operations per second (IOPS) that the volume supports.
public Nullable<double> Iops { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
SizeInGb
The volume size, in gibibytes (GiB).
public double SizeInGb { get; set; }
Property Value
System.Double
Remarks
This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
VolumeType
The volume type.
public string VolumeType { get; set; }
Property Value
System.String
Remarks
Volume types supported are gp3, gp2, io1, st1, sc1, and standard.