interface VolumeSpecificationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EMR.CfnInstanceGroupConfig.VolumeSpecificationProperty |
![]() | software.amazon.awscdk.services.emr.CfnInstanceGroupConfig.VolumeSpecificationProperty |
![]() | aws_cdk.aws_emr.CfnInstanceGroupConfig.VolumeSpecificationProperty |
![]() | @aws-cdk/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 * as emr from '@aws-cdk/aws-emr';
const volumeSpecificationProperty: emr.CfnInstanceGroupConfig.VolumeSpecificationProperty = {
sizeInGb: 123,
volumeType: 'volumeType',
// the properties below are optional
iops: 123,
};
Properties
Name | Type | Description |
---|---|---|
size | number | The volume size, in gibibytes (GiB). |
volume | string | The volume type. |
iops? | number | The 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.