import * as core from "@terrascript/core"; export interface DsApplicationArgs { /** * (Required) The ARN of the application. */ applicationId: string | core.StringOut; /** * (Optional) The requested version of the application. By default, retrieves the latest version. */ semanticVersion?: string | core.StringOut; } export class DsApplication extends core.Data { /** * (Required) The ARN of the application. */ @core.attr(String) public applicationId!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The name of the application. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * A list of capabilities describing the permissions needed to deploy the application. */ @core.attr(String, { computed: true, kind: "array" }) public requiredCapabilities!: | core.Array | core.ArrayOut; /** * (Optional) The requested version of the application. By default, retrieves the latest version. */ @core.attr(String, { computed: true }) public semanticVersion?: string | core.StringOut; /** * A URL pointing to the source code of the application version. */ @core.attr(String, { computed: true }) public sourceCodeUrl!: string | core.StringOut; /** * A URL pointing to the Cloud Formation template for the application version. */ @core.attr(String, { computed: true }) public templateUrl!: string | core.StringOut; constructor(name: string, args?: DsApplicationArgs) { super(name, "aws_serverlessapplicationrepository_application", args); } public override getNamespace(): string { return "aws_serverlessapplicationrepository"; } }