import * as core from "@terrascript/core"; export interface MskConfigurationArgs extends core.ResourceArgs { /** * (Optional) Description of the configuration. */ description?: string | core.StringOut; /** * (Required) List of Apache Kafka versions which can use this configuration. */ kafkaVersions?: core.Array | core.ArrayOut; /** * (Required) Name of the configuration. */ name: string | core.StringOut; /** * (Required) Contents of the server.properties file. Supported properties are documented in the [MSK D * eveloper Guide](https://docs.aws.amazon.com/msk/latest/developerguide/msk-configuration-properties.h * tml). */ serverProperties: string | core.StringOut; } export class MskConfiguration extends core.Resource { /** * Amazon Resource Name (ARN) of the configuration. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Description of the configuration. */ @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) List of Apache Kafka versions which can use this configuration. */ @core.attr(String, { kind: "array" }) public kafkaVersions?: core.Array | core.ArrayOut; /** * Latest revision of the configuration. */ @core.attr(Number, { computed: true }) public latestRevision!: number | core.NumberOut; /** * (Required) Name of the configuration. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) Contents of the server.properties file. Supported properties are documented in the [MSK D * eveloper Guide](https://docs.aws.amazon.com/msk/latest/developerguide/msk-configuration-properties.h * tml). */ @core.attr(String) public serverProperties!: string | core.StringOut; constructor(name: string, args?: MskConfigurationArgs) { super(name, "aws_msk_configuration", args); } public override getNamespace(): string { return "aws_managed_streaming_for_kafka"; } }