KafkaVersion

class aws_cdk.aws_msk_alpha.KafkaVersion(*args: Any, **kwargs)

Bases: object

(experimental) Kafka cluster version.

Stability:

experimental

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc

cluster = msk.Cluster(self, "cluster",
    cluster_name="myCluster",
    kafka_version=msk.KafkaVersion.V2_8_1,
    vpc=vpc,
    encryption_in_transit=msk.EncryptionInTransitConfig(
        client_broker=msk.ClientBrokerEncryption.TLS
    ),
    client_authentication=msk.ClientAuthentication.sasl(
        scram=True
    )
)

Methods

is_tiered_storage_compatible()

(experimental) Checks if the cluster version supports tiered storage mode.

Stability:

experimental

Return type:

bool

Attributes

V1_1_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_1_0 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_2_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_3_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_4_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_4_1_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_5_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_6_0 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_6_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_6_2 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_6_3 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_7_0 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_7_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_7_2 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_8_0 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_8_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V2_8_2_TIERED = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V3_1_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V3_2_0 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V3_3_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V3_3_2 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V3_4_0 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V3_5_1 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
V3_6_0 = <aws_cdk.aws_msk_alpha.KafkaVersion object>
version

(experimental) cluster version number.

Stability:

experimental

Static Methods

classmethod of(version)

(experimental) Custom cluster version.

Parameters:

version (str) – custom version number.

Stability:

experimental

Return type:

KafkaVersion