Interface EmrCreateCluster.IVolumeSpecificationProperty
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.
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVolumeSpecificationProperty
Syntax (vb)
Public Interface 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
Properties
Iops | The number of I/O operations per second (IOPS) that the volume supports. |
VolumeSize | The volume size. |
VolumeType | The volume type. |
Properties
Iops
The number of I/O operations per second (IOPS) that the volume supports.
virtual Nullable<double> Iops { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - EMR selected default
VolumeSize
The volume size.
Size VolumeSize { get; }
Property Value
Remarks
If the volume type is EBS-optimized, the minimum value is 10GiB. Maximum size is 1TiB
VolumeType
The volume type.
EmrCreateCluster.EbsBlockDeviceVolumeType VolumeType { get; }
Property Value
EmrCreateCluster.EbsBlockDeviceVolumeType
Remarks
Volume types supported are gp2, io1, standard.