interface VolumeSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EMR.CfnCluster.VolumeSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsemr#CfnCluster_VolumeSpecificationProperty |
Java | software.amazon.awscdk.services.emr.CfnCluster.VolumeSpecificationProperty |
Python | aws_cdk.aws_emr.CfnCluster.VolumeSpecificationProperty |
TypeScript | aws-cdk-lib » aws_emr » CfnCluster » 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.CfnCluster.VolumeSpecificationProperty = {
sizeInGb: 123,
volumeType: 'volumeType',
// the properties below are optional
iops: 123,
throughput: 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. |
| throughput? | number | The throughput, in mebibyte per second (MiB/s). |
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.
throughput?
Type:
number
(optional)
The throughput, in mebibyte per second (MiB/s).
This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.

.NET
Go
Java
Python
TypeScript