EbsConfigurationProperty Struct
EbsConfiguration is a subproperty of InstanceFleetConfig or InstanceGroupConfig .
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.CfnCluster.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 | CfnCluster.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.