import * as core from "@terrascript/core"; export interface ConfigurationArgs extends core.ResourceArgs { /** * (Optional) Authentication strategy associated with the configuration. Valid values are `simple` and * ldap`. `ldap` is not supported for `engine_type` `RabbitMQ`. */ authenticationStrategy?: string | core.StringOut; /** * (Required) Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazo * n-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters * and format of the XML. */ data: string | core.StringOut; /** * (Optional) Description of the configuration. */ description?: string | core.StringOut; /** * (Required) Type of broker engine. Valid values are `ActiveMQ` and `RabbitMQ`. */ engineType: string | core.StringOut; /** * (Required) Version of the broker engine. */ engineVersion: string | core.StringOut; /** * (Required) Name of the configuration. */ name: string | core.StringOut; /** * (Optional) Map of tags to assign to the resource. If configured with a provider [`default_tags` conf * iguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-conf * iguration-block) present, tags with matching keys will overwrite those defined at the provider-level * . */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class Configuration extends core.Resource { /** * ARN of the configuration. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Authentication strategy associated with the configuration. Valid values are `simple` and * ldap`. `ldap` is not supported for `engine_type` `RabbitMQ`. */ @core.attr(String, { computed: true }) public authenticationStrategy?: string | core.StringOut; /** * (Required) Broker configuration in XML format. See [official docs](https://docs.aws.amazon.com/amazo * n-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html) for supported parameters * and format of the XML. */ @core.attr(String) public data!: string | core.StringOut; /** * (Optional) Description of the configuration. */ @core.attr(String) public description?: string | core.StringOut; /** * (Required) Type of broker engine. Valid values are `ActiveMQ` and `RabbitMQ`. */ @core.attr(String) public engineType!: string | core.StringOut; /** * (Required) Version of the broker engine. */ @core.attr(String) public engineVersion!: string | core.StringOut; /** * Unique ID that Amazon MQ generates for the configuration. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * 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; /** * (Optional) Map of tags to assign to the resource. If configured with a provider [`default_tags` conf * iguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-conf * iguration-block) present, tags with matching keys will overwrite those defined at the provider-level * . */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: ConfigurationArgs) { super(name, "aws_mq_configuration", args); } public override getNamespace(): string { return "aws_mq"; } }