import * as core from "@terrascript/core"; export interface DxGatewayArgs extends core.ResourceArgs { /** * (Required) The ASN to be configured on the Amazon side of the connection. The ASN must be in the pri * vate range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. */ amazonSideAsn: string | core.StringOut; /** * (Required) The name of the connection. */ name: string | core.StringOut; } export class DxGateway extends core.Resource { /** * (Required) The ASN to be configured on the Amazon side of the connection. The ASN must be in the pri * vate range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. */ @core.attr(String) public amazonSideAsn!: string | core.StringOut; /** * The ID of the gateway. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the connection. */ @core.attr(String) public name!: string | core.StringOut; /** * AWS Account ID of the gateway. */ @core.attr(String, { computed: true }) public ownerAccountId!: string | core.StringOut; constructor(name: string, args?: DxGatewayArgs) { super(name, "aws_dx_gateway", args); } public override getNamespace(): string { return "aws_direct_connect"; } }