import * as core from "@terrascript/core"; export interface DsMskKafkaVersionArgs { /** * (Optional) Ordered list of preferred Kafka versions. The first match in this list will be returned. * Either `preferred_versions` or `version` must be set. */ preferredVersions?: core.Array | core.ArrayOut; /** * (Optional) Version of MSK Kafka. For example 2.4.1.1 or "2.2.1" etc. Either `preferred_versions` or * version` must be set. */ version?: string | core.StringOut; } export class DsMskKafkaVersion extends core.Data { @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Ordered list of preferred Kafka versions. The first match in this list will be returned. * Either `preferred_versions` or `version` must be set. */ @core.attr(String, { kind: "array" }) public preferredVersions?: core.Array | core.ArrayOut; /** * Status of the MSK Kafka version eg. `ACTIVE` or `DEPRECATED`. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * (Optional) Version of MSK Kafka. For example 2.4.1.1 or "2.2.1" etc. Either `preferred_versions` or * version` must be set. */ @core.attr(String, { computed: true }) public version?: string | core.StringOut; constructor(name: string, args?: DsMskKafkaVersionArgs) { super(name, "aws_msk_kafka_version", args); } public override getNamespace(): string { return "aws_managed_streaming_for_kafka"; } }