class KafkaVersion
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MSK.Alpha.KafkaVersion |
Go | github.com/aws/aws-cdk-go/awscdkmskalpha/v2#KafkaVersion |
Java | software.amazon.awscdk.services.msk.alpha.KafkaVersion |
Python | aws_cdk.aws_msk_alpha.KafkaVersion |
TypeScript (source) | @aws-cdk/aws-msk-alpha » KafkaVersion |
Kafka cluster version.
Example
declare const vpc: ec2.Vpc;
const cluster = new msk.Cluster(this, 'cluster', {
clusterName: 'myCluster',
kafkaVersion: msk.KafkaVersion.V2_8_1,
vpc,
encryptionInTransit: {
clientBroker: msk.ClientBrokerEncryption.TLS,
},
clientAuthentication: msk.ClientAuthentication.sasl({
scram: true,
}),
});
Properties
Name | Type | Description |
---|---|---|
version | string | cluster version number. |
static V1_1_1 | Kafka | Deprecated by Amazon MSK. You can't create a Kafka cluster with a deprecated version.. |
static V2_1_0 | Kafka | Deprecated by Amazon MSK. You can't create a Kafka cluster with a deprecated version.. |
static V2_2_1 | Kafka | Kafka version 2.2.1. |
static V2_3_1 | Kafka | Kafka version 2.3.1. |
static V2_4_1 | Kafka | Deprecated by Amazon MSK. You can't create a Kafka cluster with a deprecated version.. |
static V2_4_1_1 | Kafka | Kafka version 2.4.1. |
static V2_5_1 | Kafka | Kafka version 2.5.1. |
static V2_6_0 | Kafka | Kafka version 2.6.0. |
static V2_6_1 | Kafka | Kafka version 2.6.1. |
static V2_6_2 | Kafka | Kafka version 2.6.2. |
static V2_6_3 | Kafka | Kafka version 2.6.3. |
static V2_7_0 | Kafka | Kafka version 2.7.0. |
static V2_7_1 | Kafka | Kafka version 2.7.1. |
static V2_7_2 | Kafka | Kafka version 2.7.2. |
static V2_8_0 | Kafka | Kafka version 2.8.0. |
static V2_8_1 | Kafka | Kafka version 2.8.1. |
static V2_8_2_TIERED | Kafka | AWS MSK Kafka version 2.8.2.tiered. |
static V3_1_1 | Kafka | Kafka version 3.1.1. |
static V3_2_0 | Kafka | Kafka version 3.2.0. |
static V3_3_1 | Kafka | Kafka version 3.3.1. |
static V3_3_2 | Kafka | Kafka version 3.3.2. |
static V3_4_0 | Kafka | Kafka version 3.4.0. |
static V3_5_1 | Kafka | Kafka version 3.5.1. |
static V3_6_0 | Kafka | Kafka version 3.6.0. |
version
Type:
string
cluster version number.
static V1_1_1
⚠️ Deprecated: use the latest runtime instead
Type:
Kafka
Deprecated by Amazon MSK. You can't create a Kafka cluster with a deprecated version..
Kafka version 1.1.1
static V2_1_0
⚠️ Deprecated: use the latest runtime instead
Type:
Kafka
Deprecated by Amazon MSK. You can't create a Kafka cluster with a deprecated version..
Kafka version 2.1.0
static V2_2_1
Type:
Kafka
Kafka version 2.2.1.
static V2_3_1
Type:
Kafka
Kafka version 2.3.1.
static V2_4_1
⚠️ Deprecated: use the latest runtime instead
Type:
Kafka
Deprecated by Amazon MSK. You can't create a Kafka cluster with a deprecated version..
Kafka version 2.4.1
static V2_4_1_1
Type:
Kafka
Kafka version 2.4.1.
static V2_5_1
Type:
Kafka
Kafka version 2.5.1.
static V2_6_0
Type:
Kafka
Kafka version 2.6.0.
static V2_6_1
Type:
Kafka
Kafka version 2.6.1.
static V2_6_2
Type:
Kafka
Kafka version 2.6.2.
static V2_6_3
Type:
Kafka
Kafka version 2.6.3.
static V2_7_0
Type:
Kafka
Kafka version 2.7.0.
static V2_7_1
Type:
Kafka
Kafka version 2.7.1.
static V2_7_2
Type:
Kafka
Kafka version 2.7.2.
static V2_8_0
Type:
Kafka
Kafka version 2.8.0.
static V2_8_1
Type:
Kafka
Kafka version 2.8.1.
static V2_8_2_TIERED
Type:
Kafka
AWS MSK Kafka version 2.8.2.tiered.
static V3_1_1
Type:
Kafka
Kafka version 3.1.1.
static V3_2_0
Type:
Kafka
Kafka version 3.2.0.
static V3_3_1
Type:
Kafka
Kafka version 3.3.1.
static V3_3_2
Type:
Kafka
Kafka version 3.3.2.
static V3_4_0
Type:
Kafka
Kafka version 3.4.0.
static V3_5_1
Type:
Kafka
Kafka version 3.5.1.
static V3_6_0
Type:
Kafka
Kafka version 3.6.0.
Methods
Name | Description |
---|---|
is | Checks if the cluster version supports tiered storage mode. |
static of(version) | Custom cluster version. |
TieredStorageCompatible()
ispublic isTieredStorageCompatible(): boolean
Returns
boolean
Checks if the cluster version supports tiered storage mode.
static of(version)
public static of(version: string): KafkaVersion
Parameters
- version
string
— custom version number.
Returns
Custom cluster version.