# EbsBlockDeviceConfigProperty

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

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `volumeSpecification`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInstanceGroupConfig.VolumeSpecificationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_emr.CfnInstanceGroupConfig.VolumeSpecificationProperty.html) (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.

- `volumesPerInstance`: number — Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group.
