> **Experimental**
>
> `@aws-cdk/aws-msk-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# EbsStorageInfo

EBS volume information.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/cluster.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-msk-alpha/lib/cluster.ts#L181)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as msk_alpha from '@aws-cdk/aws-msk-alpha';
import { aws_kms as interfaces_kms } from 'aws-cdk-lib/interfaces';

declare const keyRef: interfaces_kms.IKeyRef;
const ebsStorageInfo: msk_alpha.EbsStorageInfo = {
  encryptionKey: keyRef,
  volumeSize: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_msk_alpha as msk_alpha
from aws_cdk.interfaces import aws_kms as interfaces_kms

# key_ref: interfaces_kms.IKeyRef

ebs_storage_info = msk_alpha.EbsStorageInfo(
    encryption_key=key_ref,
    volume_size=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.msk.alpha.*;
import software.amazon.awscdk.interfaces.kms.*;

IKeyRef keyRef;

EbsStorageInfo ebsStorageInfo = EbsStorageInfo.builder()
        .encryptionKey(keyRef)
        .volumeSize(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MSK.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MSK.Alpha;
using Amazon.CDK.Interfaces.KMS;

IKeyRef keyRef;

var ebsStorageInfo = new EbsStorageInfo {
    EncryptionKey = keyRef,
    VolumeSize = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkmskalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import msk_alpha "github.com/aws/aws-cdk-go/awscdkmskalpha"
import "github.com/aws/aws-cdk-go/awscdk"

var keyRef IKeyRef

ebsStorageInfo := &EbsStorageInfo{
	EncryptionKey: keyRef,
	VolumeSize: jsii.Number(123),
}
```

## Properties

- `encryptionKey`: [IKeyRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_kms.IKeyRef.html) — The AWS KMS key for encrypting data at rest.

  **Default:** Uses AWS managed CMK (aws/kafka)

- `volumeSize`: number = 1000 — The size in GiB of the EBS volume for the data drive on each broker node.
