EbsConfigurationProperty Struct
The Amazon EBS configuration of a cluster instance.
| 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 ebsConfigurationProperty: stepfunctions_tasks.EmrCreateCluster.EbsConfigurationProperty = {
ebsBlockDeviceConfigs: [{
volumeSpecification: {
volumeSize: size,
volumeType: stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceVolumeType.GP3,
// the properties below are optional
iops: 123,
},
// the properties below are optional
volumesPerInstance: 123,
}],
ebsOptimized: false,
};
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
ebs_configuration_property = stepfunctions_tasks.EmrCreateCluster.EbsConfigurationProperty(
ebs_block_device_configs=[stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceConfigProperty(
volume_specification=stepfunctions_tasks.EmrCreateCluster.VolumeSpecificationProperty(
volume_size=size,
volume_type=stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceVolumeType.GP3,
# the properties below are optional
iops=123
),
# the properties below are optional
volumes_per_instance=123
)],
ebs_optimized=False
)
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;
EbsConfigurationProperty ebsConfigurationProperty = EbsConfigurationProperty.builder()
.ebsBlockDeviceConfigs(List.of(EbsBlockDeviceConfigProperty.builder()
.volumeSpecification(VolumeSpecificationProperty.builder()
.volumeSize(size)
.volumeType(EmrCreateCluster.getEbsBlockDeviceVolumeType().GP3)
// the properties below are optional
.iops(123)
.build())
// the properties below are optional
.volumesPerInstance(123)
.build()))
.ebsOptimized(false)
.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 ebsConfigurationProperty = new EbsConfigurationProperty {
EbsBlockDeviceConfigs = new [] { new EbsBlockDeviceConfigProperty {
VolumeSpecification = new VolumeSpecificationProperty {
VolumeSize = size,
VolumeType = EmrCreateCluster.EbsBlockDeviceVolumeType.GP3,
// the properties below are optional
Iops = 123
},
// the properties below are optional
VolumesPerInstance = 123
} },
EbsOptimized = false
};
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
ebsConfigurationProperty := &EbsConfigurationProperty{
EbsBlockDeviceConfigs: []EbsBlockDeviceConfigProperty{
&EbsBlockDeviceConfigProperty{
VolumeSpecification: &VolumeSpecificationProperty{
VolumeSize: size,
VolumeType: awscdk.Aws_stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceVolumeType_GP3,
// the properties below are optional
Iops: jsii.Number(123),
},
// the properties below are optional
VolumesPerInstance: jsii.Number(123),
},
},
EbsOptimized: jsii.Boolean(false),
}
Properties
ebsBlockDeviceConfigsoptionalEmrCreateCluster.ebs_block_device_configsoptionaltyping.List[EbsBlockDeviceConfigProperty]ebsBlockDeviceConfigsoptionalList<EbsBlockDeviceConfigProperty>EbsBlockDeviceConfigsoptionalEbsBlockDeviceConfigProperty[]EbsBlockDeviceConfigsoptional*[]EbsBlockDeviceConfigProperty = None #An array of Amazon EBS volume specifications attached to a cluster instance.
ebsOptimizedoptionalbooleanebs_optimizedoptionalboolebsOptimizedoptionalBooleanEbsOptimizedoptionalboolEbsOptimizedoptional*bool #Indicates whether an Amazon EBS volume is EBS-optimized.
Default: EMR selected default