aws-cdk-lib.aws_stepfunctions_tasks.EmrCreateCluster.VolumeSpecificationProperty

interface VolumeSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.Tasks.EmrCreateCluster.VolumeSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EmrCreateCluster_VolumeSpecificationProperty
Javasoftware.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.VolumeSpecificationProperty
Pythonaws_cdk.aws_stepfunctions_tasks.EmrCreateCluster.VolumeSpecificationProperty
TypeScript (source)aws-cdk-lib » aws_stepfunctions_tasks » 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.

See also: https://docs.aws.amazon.com/emr/latest/APIReference/API_VolumeSpecification.html

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';

declare const size: cdk.Size;
const volumeSpecificationProperty: stepfunctions_tasks.EmrCreateCluster.VolumeSpecificationProperty = {
  volumeSize: size,
  volumeType: stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceVolumeType.GP2,

  // the properties below are optional
  iops: 123,
};

Properties

NameTypeDescription
volumeSizeSizeThe volume size.
volumeTypeEbsBlockDeviceVolumeTypeThe volume type.
iops?numberThe number of I/O operations per second (IOPS) that the volume supports.

volumeSize

Type: Size

The volume size.

If the volume type is EBS-optimized, the minimum value is 10GiB. Maximum size is 1TiB


volumeType

Type: EbsBlockDeviceVolumeType

The volume type.

Volume types supported are gp2, io1, standard.


iops?

Type: number (optional, default: EMR selected default)

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