Skip to content
v2.278.0

EbsBlockDeviceConfigProperty Struct ​

Configuration of requested EBS block device associated with the instance group with count of volumes that will be associated to every instance.

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 ebsBlockDeviceConfigProperty: stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceConfigProperty = {
  volumeSpecification: {
    volumeSize: size,
    volumeType: stepfunctions_tasks.EmrCreateCluster.EbsBlockDeviceVolumeType.GP3,

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

  // the properties below are optional
  volumesPerInstance: 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

ebs_block_device_config_property = 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
)
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;

EbsBlockDeviceConfigProperty ebsBlockDeviceConfigProperty = 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();
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 ebsBlockDeviceConfigProperty = 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
};
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

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),
}

Properties ​

volumeSpecificationEmrCreateCluster.VolumeSpecificationPropertyvolume_specificationVolumeSpecificationPropertyvolumeSpecificationVolumeSpecificationPropertyVolumeSpecificationVolumeSpecificationPropertyVolumeSpecificationVolumeSpecificationProperty required #
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.
volumesPerInstanceoptionalnumbervolumes_per_instanceoptionalint | floatvolumesPerInstanceoptionalNumberVolumesPerInstanceoptionaldoubleVolumesPerInstanceoptional*float64 #
Number of EBS volumes with a specific volume configuration that will be associated with every instance in the instance group.

Default: EMR selected default