import * as core from "@terrascript/core"; export interface DsConnectionArgs { /** * (Optional) The CodeStar Connection ARN. */ arn?: string | core.StringOut; /** * (Optional) The CodeStar Connection name. */ name?: string | core.StringOut; /** * Map of key-value resource tags to associate with the resource. */ tags?: core.Map | core.MapOut; } export class DsConnection extends core.Data { /** * (Optional) The CodeStar Connection ARN. */ @core.attr(String, { computed: true }) public arn?: string | core.StringOut; /** * The CodeStar Connection status. Possible values are `PENDING`, `AVAILABLE` and `ERROR`. */ @core.attr(String, { computed: true }) public connectionStatus!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of the host associated with the connection. */ @core.attr(String, { computed: true }) public hostArn!: string | core.StringOut; /** * The CodeStar Connection ARN. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The CodeStar Connection name. */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * The name of the external provider where your third-party code repository is configured. Possible val * ues are `Bitbucket` and `GitHub`. For connections to a GitHub Enterprise Server instance, you must c * reate an [aws_codestarconnections_host](https://registry.terraform.io/providers/hashicorp/aws/latest * /docs/resources/codestarconnections_host) resource and use `host_arn` instead. */ @core.attr(String, { computed: true }) public providerType!: string | core.StringOut; /** * Map of key-value resource tags to associate with the resource. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsConnectionArgs) { super(name, "aws_codestarconnections_connection", args); } public override getNamespace(): string { return "aws_codestarconnections"; } }