StorageMode

class aws_cdk.aws_msk_alpha.StorageMode(value)

Bases: Enum

(experimental) The storage mode for the cluster brokers.

Stability:

experimental

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc
# bucket: s3.IBucket


cluster = msk.Cluster(self, "cluster",
    cluster_name="myCluster",
    kafka_version=msk.KafkaVersion.V3_6_0,
    vpc=vpc,
    storage_mode=msk.StorageMode.TIERED
)

Attributes

LOCAL

(experimental) Local storage mode utilizes network attached EBS storage.

Stability:

experimental

TIERED

(experimental) Tiered storage mode utilizes EBS storage and Tiered storage.

Stability:

experimental