Class EmrCreateCluster.VolumeSpecificationProperty
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
Inheritance
System.Object
EmrCreateCluster.VolumeSpecificationProperty
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VolumeSpecificationProperty : Object, EmrCreateCluster.IVolumeSpecificationProperty
Syntax (vb)
Public Class VolumeSpecificationProperty
Inherits Object
Implements EmrCreateCluster.IVolumeSpecificationProperty
Remarks
See: https://docs.aws.amazon.com/emr/latest/APIReference/API_VolumeSpecification.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;
using Amazon.CDK.AWS.StepFunctions.Tasks;
Size size;
var volumeSpecificationProperty = new VolumeSpecificationProperty {
VolumeSize = size,
VolumeType = EmrCreateCluster.EbsBlockDeviceVolumeType.GP3,
// 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. |
VolumeSize | The volume size. |
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
Default: - EMR selected default
VolumeSize
The volume size.
public Size VolumeSize { get; set; }
Property Value
Remarks
If the volume type is EBS-optimized, the minimum value is 10GiB. Maximum size is 1TiB
VolumeType
The volume type.
public EmrCreateCluster.EbsBlockDeviceVolumeType VolumeType { get; set; }
Property Value
EmrCreateCluster.EbsBlockDeviceVolumeType
Remarks
Volume types supported are gp2, io1, standard.