import * as core from "@terrascript/core"; export interface AppArgs extends core.ResourceArgs { /** * (Optional) The compute platform can either be `ECS`, `Lambda`, or `Server`. Default is `Server`. */ computePlatform?: string | core.StringOut; /** * (Required) The name of the application. */ 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 App extends core.Resource { /** * The application ID. */ @core.attr(String, { computed: true }) public applicationId!: string | core.StringOut; /** * The ARN of the CodeDeploy application. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The compute platform can either be `ECS`, `Lambda`, or `Server`. Default is `Server`. */ @core.attr(String) public computePlatform?: string | core.StringOut; /** * The name for a connection to a GitHub account. */ @core.attr(String, { computed: true }) public githubAccountName!: string | core.StringOut; /** * Amazon's assigned ID for the application. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Whether the user has authenticated with GitHub for the specified application. */ @core.attr(Boolean, { computed: true }) public linkedToGithub!: boolean | core.BooleanOut; /** * (Required) The name of the application. */ @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?: AppArgs) { super(name, "aws_codedeploy_app", args); } public override getNamespace(): string { return "aws_codedeploy"; } }