Skip to content
v2.274.0

EbsConfigurationProperty Struct ​

EbsConfiguration determines the EBS volumes to attach to EMR cluster instances.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emr as emr } from 'aws-cdk-lib';
const ebsConfigurationProperty: emr.CfnInstanceFleetConfig.EbsConfigurationProperty = {
  ebsBlockDeviceConfigs: [{
    volumeSpecification: {
      sizeInGb: 123,
      volumeType: 'volumeType',

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

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

Properties ​

ebsBlockDeviceConfigsIResolvable | IResolvable | CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty[]ebs_block_device_configstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EbsBlockDeviceConfigProperty]]]ebsBlockDeviceConfigsIResolvableEbsBlockDeviceConfigsIResolvableEbsBlockDeviceConfigsinterface{}#
An array of Amazon EBS volume specifications attached to a cluster instance.
ebsOptimizedboolean | IResolvableebs_optimizedtyping.Union[bool, IResolvable]ebsOptimizedBooleanEbsOptimizedboolEbsOptimizedinterface{}#
Indicates whether an Amazon EBS volume is EBS-optimized.

The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.