import * as core from "@terrascript/core"; export interface DsStackArgs { /** * (Required) The name of the stack */ name: string | core.StringOut; /** * A map of tags associated with this stack. */ tags?: core.Map | core.MapOut; } export class DsStack extends core.Data { /** * A list of capabilities */ @core.attr(String, { computed: true, kind: "array" }) public capabilities!: core.Array | core.ArrayOut; /** * Description of the stack */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * Whether the rollback of the stack is disabled when stack creation fails */ @core.attr(Boolean, { computed: true }) public disableRollback!: boolean | core.BooleanOut; /** * The ARN of the IAM role used to create the stack. */ @core.attr(String, { computed: true }) public iamRoleArn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the stack */ @core.attr(String) public name!: string | core.StringOut; /** * A list of SNS topic ARNs to publish stack related events */ @core.attr(String, { computed: true, kind: "array" }) public notificationArns!: core.Array | core.ArrayOut; /** * A map of outputs from the stack. */ @core.attr(String, { computed: true, kind: "map" }) public outputs!: core.Map | core.MapOut; /** * A map of parameters that specify input parameters for the stack. */ @core.attr(String, { computed: true, kind: "map" }) public parameters!: core.Map | core.MapOut; /** * A map of tags associated with this stack. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Structure containing the template body. */ @core.attr(String, { computed: true }) public templateBody!: string | core.StringOut; /** * The amount of time that can pass before the stack status becomes `CREATE_FAILED` */ @core.attr(Number, { computed: true }) public timeoutInMinutes!: number | core.NumberOut; constructor(name: string, args?: DsStackArgs) { super(name, "aws_cloudformation_stack", args); } public override getNamespace(): string { return "aws_cloudformation"; } }