import * as core from "@terrascript/core"; export interface DomainArgs extends core.ResourceArgs { /** * (Optional, Forces new resource) The domain description. */ description?: string | core.StringOut; /** * (Optional, Forces new resource) The name of the domain. If omitted, Terraform will assign a random, * unique name. */ name?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts * with `name`. */ namePrefix?: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-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; /** * (Required, Forces new resource) Length of time that SWF will continue to retain information about th * e workflow execution after the workflow execution is complete, must be between 0 and 90 days. */ workflowExecutionRetentionPeriodInDays: string | core.StringOut; } export class Domain extends core.Resource { /** * Amazon Resource Name (ARN) */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional, Forces new resource) The domain description. */ @core.attr(String) public description?: string | core.StringOut; /** * The name of the domain. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional, Forces new resource) The name of the domain. If omitted, Terraform will assign a random, * unique name. */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts * with `name`. */ @core.attr(String) public namePrefix?: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-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; /** * (Required, Forces new resource) Length of time that SWF will continue to retain information about th * e workflow execution after the workflow execution is complete, must be between 0 and 90 days. */ @core.attr(String) public workflowExecutionRetentionPeriodInDays!: string | core.StringOut; constructor(name: string, args?: DomainArgs) { super(name, "aws_swf_domain", args); } public override getNamespace(): string { return "aws_swf"; } }