aws-cdk-lib.aws_emr.CfnInstanceGroupConfig.VolumeSpecificationProperty

interface VolumeSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.EMR.CfnInstanceGroupConfig.VolumeSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsemr#CfnInstanceGroupConfig_VolumeSpecificationProperty
Javasoftware.amazon.awscdk.services.emr.CfnInstanceGroupConfig.VolumeSpecificationProperty
Pythonaws_cdk.aws_emr.CfnInstanceGroupConfig.VolumeSpecificationProperty
TypeScript aws-cdk-lib » aws_emr » CfnInstanceGroupConfig » VolumeSpecificationProperty

VolumeSpecification is a subproperty of the EbsBlockDeviceConfig property type.

VolumeSecification determines the volume type, IOPS, and size (GiB) for EBS volumes attached to EC2 instances.

Example

// 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 volumeSpecificationProperty: emr.CfnInstanceGroupConfig.VolumeSpecificationProperty = {
  sizeInGb: 123,
  volumeType: 'volumeType',

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

Properties

NameTypeDescription
sizeInGbnumberThe volume size, in gibibytes (GiB).
volumeTypestringThe volume type.
iops?numberThe number of I/O operations per second (IOPS) that the volume supports.

sizeInGb

Type: number

The volume size, in gibibytes (GiB).

This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.


volumeType

Type: string

The volume type.

Volume types supported are gp3, gp2, io1, st1, sc1, and standard.


iops?

Type: number (optional)

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