import * as core from "@terrascript/core"; export interface DxConnectionAssociationArgs extends core.ResourceArgs { /** * (Required) The ID of the connection. */ connectionId: string | core.StringOut; /** * (Required) The ID of the LAG with which to associate the connection. */ lagId: string | core.StringOut; } export class DxConnectionAssociation extends core.Resource { /** * (Required) The ID of the connection. */ @core.attr(String) public connectionId!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ID of the LAG with which to associate the connection. */ @core.attr(String) public lagId!: string | core.StringOut; constructor(name: string, args?: DxConnectionAssociationArgs) { super(name, "aws_dx_connection_association", args); } public override getNamespace(): string { return "aws_direct_connect"; } }