Skip to content
v2.278.0

EbsBlockDeviceConfigProperty Struct ​

Configuration of requested EBS block device associated with the instance group with count of volumes that are 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 { aws_emr as emr } from 'aws-cdk-lib';
const ebsBlockDeviceConfigProperty: emr.CfnInstanceGroupConfig.EbsBlockDeviceConfigProperty = {
  volumeSpecification: {
    sizeInGb: 123,
    volumeType: 'volumeType',

    // the properties below are optional
    iops: 123,
    throughput: 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.
from aws_cdk import aws_emr as emr

ebs_block_device_config_property = emr.CfnInstanceGroupConfig.EbsBlockDeviceConfigProperty(
    volume_specification=emr.CfnInstanceGroupConfig.VolumeSpecificationProperty(
        size_in_gb=123,
        volume_type="volumeType",

        # the properties below are optional
        iops=123,
        throughput=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.services.emr.*;

EbsBlockDeviceConfigProperty ebsBlockDeviceConfigProperty = EbsBlockDeviceConfigProperty.builder()
        .volumeSpecification(VolumeSpecificationProperty.builder()
                .sizeInGb(123)
                .volumeType("volumeType")

                // the properties below are optional
                .iops(123)
                .throughput(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.AWS.EMR;

var ebsBlockDeviceConfigProperty = new EbsBlockDeviceConfigProperty {
    VolumeSpecification = new VolumeSpecificationProperty {
        SizeInGb = 123,
        VolumeType = "volumeType",

        // the properties below are optional
        Iops = 123,
        Throughput = 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 "github.com/aws/aws-cdk-go/awscdk"

ebsBlockDeviceConfigProperty := &EbsBlockDeviceConfigProperty{
	VolumeSpecification: &VolumeSpecificationProperty{
		SizeInGb: jsii.Number(123),
		VolumeType: jsii.String("volumeType"),

		// the properties below are optional
		Iops: jsii.Number(123),
		Throughput: jsii.Number(123),
	},

	// the properties below are optional
	VolumesPerInstance: jsii.Number(123),
}

Properties ​

volumeSpecificationIResolvable | CfnInstanceGroupConfig.VolumeSpecificationPropertyvolume_specificationtyping.Union[IResolvable, VolumeSpecificationProperty]volumeSpecificationIResolvableVolumeSpecificationIResolvableVolumeSpecificationinterface{} required #
EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster.
volumesPerInstanceoptionalnumbervolumes_per_instanceoptionalint | floatvolumesPerInstanceoptionalNumberVolumesPerInstanceoptionaldoubleVolumesPerInstanceoptional*float64 #
Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group.