import * as core from "@terrascript/core"; export interface DeploymentArgs extends core.ResourceArgs { /** * (Required) The API identifier. */ apiId: string | core.StringOut; /** * (Optional) The description for the deployment resource. Must be less than or equal to 1024 character * s in length. */ description?: string | core.StringOut; /** * (Optional) A map of arbitrary keys and values that, when changed, will trigger a redeployment. To fo * rce a redeployment without changing these keys/values, use the [`terraform taint` command](https://w * ww.terraform.io/docs/commands/taint.html). */ triggers?: core.Map | core.MapOut; } export class Deployment extends core.Resource { /** * (Required) The API identifier. */ @core.attr(String) public apiId!: string | core.StringOut; /** * Whether the deployment was automatically released. */ @core.attr(Boolean, { computed: true }) public autoDeployed!: boolean | core.BooleanOut; /** * (Optional) The description for the deployment resource. Must be less than or equal to 1024 character * s in length. */ @core.attr(String) public description?: string | core.StringOut; /** * The deployment identifier. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A map of arbitrary keys and values that, when changed, will trigger a redeployment. To fo * rce a redeployment without changing these keys/values, use the [`terraform taint` command](https://w * ww.terraform.io/docs/commands/taint.html). */ @core.attr(String, { kind: "map" }) public triggers?: core.Map | core.MapOut; constructor(name: string, args?: DeploymentArgs) { super(name, "aws_apigatewayv2_deployment", args); } public override getNamespace(): string { return "aws_apigatewayv2"; } }