CfnWorkerConfigurationProps

class aws_cdk.aws_kafkaconnect.CfnWorkerConfigurationProps(*, name, properties_file_content, description=None, tags=None)

Bases: object

Properties for defining a CfnWorkerConfiguration.

Parameters:
  • name (str) – The name of the worker configuration.

  • properties_file_content (str) – Base64 encoded contents of the connect-distributed.properties file.

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

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A collection of tags associated with a resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.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_kafkaconnect as kafkaconnect

cfn_worker_configuration_props = kafkaconnect.CfnWorkerConfigurationProps(
    name="name",
    properties_file_content="propertiesFileContent",

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

The description of a worker configuration.

See:

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

name

The name of the worker configuration.

See:

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

properties_file_content

Base64 encoded contents of the connect-distributed.properties file.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-propertiesfilecontent

tags

A collection of tags associated with a resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-workerconfiguration.html#cfn-kafkaconnect-workerconfiguration-tags