aws-cdk-lib.aws_stepfunctions_tasks.EmrCreateCluster.EbsConfigurationProperty

interface EbsConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.Tasks.EmrCreateCluster.EbsConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EmrCreateCluster_EbsConfigurationProperty
Javasoftware.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.EbsConfigurationProperty
Pythonaws_cdk.aws_stepfunctions_tasks.EmrCreateCluster.EbsConfigurationProperty
TypeScript (source)aws-cdk-lib » aws_stepfunctions_tasks » EmrCreateCluster » EbsConfigurationProperty

The Amazon EBS configuration of a cluster instance.

See also: https://docs.aws.amazon.com/emr/latest/APIReference/API_EbsConfiguration.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 ebsConfigurationProperty: stepfunctions_tasks.EmrCreateCluster.EbsConfigurationProperty = {
  ebsBlockDeviceConfigs: [{
    volumeSpecification: {
      volumeSize: size,
      volumeType: stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceVolumeType.GP2,

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

    // the properties below are optional
    volumesPerInstance: 123,
  }],
  ebsOptimized: false,
};

Properties

NameTypeDescription
ebsBlockDeviceConfigs?EbsBlockDeviceConfigProperty[]An array of Amazon EBS volume specifications attached to a cluster instance.
ebsOptimized?booleanIndicates whether an Amazon EBS volume is EBS-optimized.

ebsBlockDeviceConfigs?

Type: EbsBlockDeviceConfigProperty[] (optional, default: None)

An array of Amazon EBS volume specifications attached to a cluster instance.


ebsOptimized?

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

Indicates whether an Amazon EBS volume is EBS-optimized.