CfnConfigurationProps
- class aws_cdk.aws_msk.CfnConfigurationProps(*, name, server_properties, description=None, kafka_versions_list=None, latest_revision=None)
Bases:
object
Properties for defining a
CfnConfiguration
.- Parameters:
name (
str
) – The name of the configuration. Configuration names are strings that match the regex “^[0-9A-Za-z][0-9A-Za-z-]{0,}$”.server_properties (
str
) – Contents of theserver.properties
file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents ofserver.properties
can be in plaintext.description (
Optional
[str
]) – The description of the configuration.kafka_versions_list (
Optional
[Sequence
[str
]]) – The versions of Apache Kafka with which you can use this MSK configuration.latest_revision (
Union
[IResolvable
,LatestRevisionProperty
,Dict
[str
,Any
],None
]) – Latest revision of the MSK configuration.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_msk as msk cfn_configuration_props = msk.CfnConfigurationProps( name="name", server_properties="serverProperties", # the properties below are optional description="description", kafka_versions_list=["kafkaVersionsList"], latest_revision=msk.CfnConfiguration.LatestRevisionProperty( creation_time="creationTime", description="description", revision=123 ) )
Attributes
- description
The description of the configuration.
- kafka_versions_list
//docs.aws.amazon.com/msk/latest/developerguide/supported-kafka-versions.html>`_ with which you can use this MSK configuration.
- See:
- Type:
The `versions of Apache Kafka <https
- latest_revision
Latest revision of the MSK configuration.
- name
The name of the configuration.
Configuration names are strings that match the regex “^[0-9A-Za-z][0-9A-Za-z-]{0,}$”.
- server_properties
Contents of the
server.properties
file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents ofserver.properties
can be in plaintext.