Interface CfnConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConfigurationProps.Jsii$Proxy
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"))
.latestRevision(LatestRevisionProperty.builder()
.creationTime("creationTime")
.description("description")
.revision(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConfigurationPropsstatic final classAn implementation forCfnConfigurationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe description of the configuration.The versions of Apache Kafka with which you can use this MSK configuration.default ObjectLatest revision of the MSK configuration.getName()The name of the configuration.Contents of theserver.propertiesfile.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the configuration.Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
- See Also:
-
getServerProperties
Contents of theserver.propertiesfile. When using the console, the SDK, or the AWS CLI , the contents ofserver.propertiescan be in plaintext.- See Also:
-
getDescription
The description of the configuration.- See Also:
-
getKafkaVersionsList
The versions of Apache Kafka with which you can use this MSK configuration.When you update the
KafkaVersionsListproperty, CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a resource replacement . To successfully updateKafkaVersionsList, you must also update theNameproperty in the same operation.If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes.
For more information, see Can’t update KafkaVersionsList in MSK configuration in the Amazon MSK Developer Guide .
- See Also:
-
getLatestRevision
Latest revision of the MSK configuration.Returns union: either
IResolvableorCfnConfiguration.LatestRevisionProperty- See Also:
-
builder
- Returns:
- a
CfnConfigurationProps.BuilderofCfnConfigurationProps
-