import * as core from "@terrascript/core"; export interface TransitGatewayConnectPeerAssociationArgs extends core.ResourceArgs { /** * (Required) The ID of the device. */ deviceId: string | core.StringOut; /** * (Required) The ID of the global network. */ globalNetworkId: string | core.StringOut; /** * (Optional) The ID of the link. */ linkId?: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) of the Connect peer. */ transitGatewayConnectPeerArn: string | core.StringOut; } export class TransitGatewayConnectPeerAssociation extends core.Resource { /** * (Required) The ID of the device. */ @core.attr(String) public deviceId!: string | core.StringOut; /** * (Required) The ID of the global network. */ @core.attr(String) public globalNetworkId!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The ID of the link. */ @core.attr(String) public linkId?: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) of the Connect peer. */ @core.attr(String) public transitGatewayConnectPeerArn!: string | core.StringOut; constructor(name: string, args?: TransitGatewayConnectPeerAssociationArgs) { super( name, "aws_networkmanager_transit_gateway_connect_peer_association", args ); } public override getNamespace(): string { return "aws_networkmanager"; } }