import * as core from "@terrascript/core"; export interface CustomerGatewayAssociationArgs extends core.ResourceArgs { /** * (Required) The Amazon Resource Name (ARN) of the customer gateway. */ customerGatewayArn: string | core.StringOut; /** * (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; } export class CustomerGatewayAssociation extends core.Resource { /** * (Required) The Amazon Resource Name (ARN) of the customer gateway. */ @core.attr(String) public customerGatewayArn!: string | core.StringOut; /** * (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; constructor(name: string, args?: CustomerGatewayAssociationArgs) { super(name, "aws_networkmanager_customer_gateway_association", args); } public override getNamespace(): string { return "aws_networkmanager"; } }