Class KafkaVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.msk.alpha.KafkaVersion
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.109.0 (build c221850)", date="2025-03-14T03:25:08.072Z") @Stability(Experimental) public class KafkaVersion extends software.amazon.jsii.JsiiObject
(experimental) Kafka cluster version.

Example:

 Vpc vpc;
 Cluster cluster = Cluster.Builder.create(this, "cluster")
         .clusterName("myCluster")
         .kafkaVersion(KafkaVersion.V3_8_X)
         .vpc(vpc)
         .encryptionInTransit(EncryptionInTransitConfig.builder()
                 .clientBroker(ClientBrokerEncryption.TLS)
                 .build())
         .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder()
                 .scram(true)
                 .build()))
         .build();
 
  • Field Details

  • Constructor Details

    • KafkaVersion

      protected KafkaVersion(software.amazon.jsii.JsiiObjectRef objRef)
    • KafkaVersion

      protected KafkaVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • of

      @Stability(Experimental) @NotNull public static KafkaVersion of(@NotNull String version, @Nullable KafkaVersionFeatures features)
      (experimental) Custom cluster version.

      Parameters:
      version - custom version number. This parameter is required.
      features -
    • of

      @Stability(Experimental) @NotNull public static KafkaVersion of(@NotNull String version)
      (experimental) Custom cluster version.

      Parameters:
      version - custom version number. This parameter is required.
    • isTieredStorageCompatible

      @Stability(Experimental) @NotNull public Boolean isTieredStorageCompatible()
      (experimental) Checks if the cluster version supports tiered storage mode.
    • getVersion

      @Stability(Experimental) @NotNull public String getVersion()
      (experimental) cluster version number.
    • getFeatures

      @Stability(Experimental) @Nullable public KafkaVersionFeatures getFeatures()
      (experimental) features for the cluster version.