Interface CfnConfigurationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConfigurationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.689Z") @Stability(Stable) public interface CfnConfigurationProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnConfiguration.

Example:

 // 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.*;
 CfnConfigurationProps cfnConfigurationProps = CfnConfigurationProps.builder()
         .name("name")
         .serverProperties("serverProperties")
         // the properties below are optional
         .description("description")
         .kafkaVersionsList(List.of("kafkaVersionsList"))
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the configuration.

      Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".

    • getServerProperties

      @Stability(Stable) @NotNull String getServerProperties()
      Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the CLI, the contents of server.properties can be in plaintext.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the configuration.
    • getKafkaVersionsList

      @Stability(Stable) @Nullable default List<String> getKafkaVersionsList()
      AWS::MSK::Configuration.KafkaVersionsList.
    • builder

      @Stability(Stable) static CfnConfigurationProps.Builder builder()
      Returns:
      a CfnConfigurationProps.Builder of CfnConfigurationProps