import * as core from "@terrascript/core"; export interface DsDxConnectionArgs { /** * (Required) The name of the connection to retrieve. */ name: string | core.StringOut; /** * A map of tags for the resource. */ tags?: core.Map | core.MapOut; } export class DsDxConnection extends core.Data { /** * The ARN of the connection. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The Direct Connect endpoint on which the physical connection terminates. */ @core.attr(String, { computed: true }) public awsDevice!: string | core.StringOut; /** * The bandwidth of the connection. */ @core.attr(String, { computed: true }) public bandwidth!: string | core.StringOut; /** * The ID of the connection. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The AWS Direct Connect location where the connection is located. */ @core.attr(String, { computed: true }) public location!: string | core.StringOut; /** * (Required) The name of the connection to retrieve. */ @core.attr(String) public name!: string | core.StringOut; /** * The ID of the AWS account that owns the connection. */ @core.attr(String, { computed: true }) public ownerAccountId!: string | core.StringOut; /** * The name of the service provider associated with the connection. */ @core.attr(String, { computed: true }) public providerName!: string | core.StringOut; /** * A map of tags for the resource. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsDxConnectionArgs) { super(name, "aws_dx_connection", args); } public override getNamespace(): string { return "aws_direct_connect"; } }