Resource: awsMskconnectWorkerConfiguration
Provides an Amazon MSK Connect Worker Configuration Resource.
Example Usage
Basic configuration
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.mskconnectWorkerConfiguration.MskconnectWorkerConfiguration(
this,
"example",
{
name: "example",
propertiesFileContent:
"key.converter=org.apache.kafka.connect.storage.StringConverter\nvalue.converter=org.apache.kafka.connect.storage.StringConverter\n",
}
);
Argument Reference
The following arguments are required:
name
- (Required) The name of the worker configuration.propertiesFileContent
- (Required) Contents of connect-distributed.properties file. The value can be either base64 encoded or in raw format.
The following arguments are optional:
description
- (Optional) A summary description of the worker configuration.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- the Amazon Resource Name (ARN) of the worker configuration.latestRevision
- an ID of the latest successfully created revision of the worker configuration.
Import
MSK Connect Worker Configuration can be imported using the plugin's arn
, e.g.,