Experimental
@aws-cdk/aws-msk-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
EbsStorageInfo Struct
EBS volume information.
| Stability | Experimental |
|---|---|
| Source | lib/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 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
# 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
// 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();
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
};
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
encryptionKeyoptionalIKeyRefencryption_keyoptionalIKeyRefencryptionKeyoptionalIKeyRefEncryptionKeyoptionalIKeyRefEncryptionKeyoptionalIKeyRef #The AWS KMS key for encrypting data at rest.
Default: Uses AWS managed CMK (aws/kafka)
volumeSizeoptionalnumbervolume_sizeoptionalint | floatvolumeSizeoptionalNumberVolumeSizeoptionaldoubleVolumeSizeoptional*float64 = 1000 #The size in GiB of the EBS volume for the data drive on each broker node.