CfnConfigurationProps Struct
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 { aws_msk as msk } from 'aws-cdk-lib';
const cfnConfigurationProps: msk.CfnConfigurationProps = {
name: 'name',
serverProperties: 'serverProperties',
// the properties below are optional
description: 'description',
kafkaVersionsList: ['kafkaVersionsList'],
latestRevision: {
creationTime: 'creationTime',
description: 'description',
revision: 123,
},
};
Properties
kafkaVersionsListstring[]kafka_versions_listtyping.List[str]kafkaVersionsListList<String>KafkaVersionsListstring[]KafkaVersionsList*[]*string#notes
When you update the KafkaVersionsList property, CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a resource replacement . To successfully update KafkaVersionsList , you must also update the Name property 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 .
latestRevisionIResolvable | CfnConfiguration.LatestRevisionPropertylatest_revisiontyping.Union[IResolvable, LatestRevisionProperty]latestRevisionIResolvableLatestRevisionIResolvableLatestRevisioninterface{}#Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
serverPropertiesstringserver_propertiesstrserverPropertiesStringServerPropertiesstringServerProperties*stringrequired#