import * as core from "@terrascript/core"; export interface WorkflowArgs extends core.ResourceArgs { defaultRunProperties?: core.Map | core.MapOut; description?: string | core.StringOut; /** * (Optional) Prevents exceeding the maximum number of concurrent runs of any of the component jobs. If * you leave this parameter blank, there is no limit to the number of concurrent workflow runs. */ maxConcurrentRuns?: number | core.NumberOut; name?: 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; } export class Workflow extends core.Resource { /** * Amazon Resource Name (ARN) of Glue Workflow */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { kind: "map" }) public defaultRunProperties?: | core.Map | core.MapOut; @core.attr(String) public description?: string | core.StringOut; /** * Workflow name */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Prevents exceeding the maximum number of concurrent runs of any of the component jobs. If * you leave this parameter blank, there is no limit to the number of concurrent workflow runs. */ @core.attr(Number) public maxConcurrentRuns?: number | core.NumberOut; @core.attr(String) public name?: 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; constructor(name: string, args?: WorkflowArgs) { super(name, "aws_glue_workflow", args); } public override getNamespace(): string { return "aws_glue"; } }