import * as core from "@terrascript/core"; export interface ConnectionArgs extends core.ResourceArgs { /** * (Required) Name of the connection. */ connectionName: string | core.StringOut; /** * (Required) The source repository provider. Valid values: `GITHUB`. */ providerType: 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 Connection extends core.Resource { /** * ARN of the connection. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) Name of the connection. */ @core.attr(String) public connectionName!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The source repository provider. Valid values: `GITHUB`. */ @core.attr(String) public providerType!: string | core.StringOut; /** * The current state of the App Runner connection. When the state is `AVAILABLE`, you can use the conne * ction to create an [`aws_apprunner_service` resource](apprunner_service.html). */ @core.attr(String, { computed: true }) public status!: 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?: ConnectionArgs) { super(name, "aws_apprunner_connection", args); } public override getNamespace(): string { return "aws_apprunner"; } }