import * as core from "@terrascript/core"; export interface BackendEnvironmentArgs extends core.ResourceArgs { /** * (Required) The unique ID for an Amplify app. */ appId: string | core.StringOut; /** * (Optional) The name of deployment artifacts. */ deploymentArtifacts?: string | core.StringOut; /** * (Required) The name for the backend environment. */ environmentName: string | core.StringOut; /** * (Optional) The AWS CloudFormation stack name of a backend environment. */ stackName?: string | core.StringOut; } export class BackendEnvironment extends core.Resource { /** * (Required) The unique ID for an Amplify app. */ @core.attr(String) public appId!: string | core.StringOut; /** * The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The name of deployment artifacts. */ @core.attr(String, { computed: true }) public deploymentArtifacts?: string | core.StringOut; /** * (Required) The name for the backend environment. */ @core.attr(String) public environmentName!: string | core.StringOut; /** * The unique ID of the Amplify backend environment. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The AWS CloudFormation stack name of a backend environment. */ @core.attr(String, { computed: true }) public stackName?: string | core.StringOut; constructor(name: string, args?: BackendEnvironmentArgs) { super(name, "aws_amplify_backend_environment", args); } public override getNamespace(): string { return "aws_amplify"; } }