VolumeSpecificationProperty Struct
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
| Source | aws-stepfunctions-tasks/lib/emr/emr-create-cluster.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
declare const size: cdk.Size;
const volumeSpecificationProperty: stepfunctions_tasks.EmrCreateCluster.VolumeSpecificationProperty = {
volumeSize: size,
volumeType: stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceVolumeType.GP3,
// the properties below are optional
iops: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks
# size: cdk.Size
volume_specification_property = stepfunctions_tasks.EmrCreateCluster.VolumeSpecificationProperty(
volume_size=size,
volume_type=stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceVolumeType.GP3,
# the properties below are optional
iops=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
Size size;
VolumeSpecificationProperty volumeSpecificationProperty = VolumeSpecificationProperty.builder()
.volumeSize(size)
.volumeType(EmrCreateCluster.getEbsBlockDeviceVolumeType().GP3)
// the properties below are optional
.iops(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.StepFunctions.Tasks;
Size size;
var volumeSpecificationProperty = new VolumeSpecificationProperty {
VolumeSize = size,
VolumeType = EmrCreateCluster.EbsBlockDeviceVolumeType.GP3,
// the properties below are optional
Iops = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
var size Size
volumeSpecificationProperty := &VolumeSpecificationProperty{
VolumeSize: size,
VolumeType: awscdk.Aws_stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceVolumeType_GP3,
// the properties below are optional
Iops: jsii.Number(123),
}
Properties
The number of I/O operations per second (IOPS) that the volume supports.
Default: EMR selected default
The volume size.
If the volume type is EBS-optimized, the minimum value is 10GiB. Maximum size is 1TiB
volumeTypeEmrCreateCluster.volume_typeEbsBlockDeviceVolumeTypevolumeTypeEbsBlockDeviceVolumeTypeVolumeTypeEbsBlockDeviceVolumeTypeVolumeTypeEbsBlockDeviceVolumeType required #The volume type.
Volume types supported are gp2, io1, standard.