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 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.

  • description (Optional[str]) – The description of the configuration.

  • kafka_versions_list (Optional[Sequence[str]]) –

  • latest_revision (Union[IResolvable, LatestRevisionProperty, Dict[str, Any], None]) – Latest revision of the 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-description

kafka_versions_list

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-kafkaversionslist

Type:

see

latest_revision

Latest revision of the configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-latestrevision

name

The name of the configuration.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-name

server_properties

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html#cfn-msk-configuration-serverproperties