Resource: awsMskConfiguration
Manages an Amazon Managed Streaming for Kafka configuration. More information can be found on the MSK Developer Guide.
Example Usage
/*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.mskConfiguration.MskConfiguration(this, "example", {
kafkaVersions: ["2.1.0"],
name: "example",
serverProperties:
"auto.create.topics.enable = true\ndelete.topic.enable = true\n",
});
Argument Reference
The following arguments are supported:
serverProperties
- (Required) Contents of the server.properties file. Supported properties are documented in the MSK Developer Guide.kafkaVersions
- (Required) List of Apache Kafka versions which can use this configuration.name
- (Required) Name of the configuration.description
- (Optional) Description of the configuration.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- Amazon Resource Name (ARN) of the configuration.latestRevision
- Latest revision of the configuration.
Import
MSK configurations can be imported using the configuration ARN, e.g.,