import * as core from "@terrascript/core"; export interface DxGatewayAssociationProposalArgs extends core.ResourceArgs { /** * (Optional) VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR blo * ck of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. */ allowedPrefixes?: core.Array | core.ArrayOut; /** * (Required) The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. */ associatedGatewayId: string | core.StringOut; /** * (Required) Direct Connect Gateway identifier. */ dxGatewayId: string | core.StringOut; /** * (Required) AWS Account identifier of the Direct Connect Gateway's owner. */ dxGatewayOwnerAccountId: string | core.StringOut; } export class DxGatewayAssociationProposal extends core.Resource { /** * (Optional) VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR blo * ck of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. */ @core.attr(String, { computed: true, kind: "array" }) public allowedPrefixes?: core.Array | core.ArrayOut; /** * (Required) The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. */ @core.attr(String) public associatedGatewayId!: string | core.StringOut; /** * The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Co * nnect gateway. */ @core.attr(String, { computed: true }) public associatedGatewayOwnerAccountId!: string | core.StringOut; /** * The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`. */ @core.attr(String, { computed: true }) public associatedGatewayType!: string | core.StringOut; /** * (Required) Direct Connect Gateway identifier. */ @core.attr(String) public dxGatewayId!: string | core.StringOut; /** * (Required) AWS Account identifier of the Direct Connect Gateway's owner. */ @core.attr(String) public dxGatewayOwnerAccountId!: string | core.StringOut; /** * Direct Connect Gateway Association Proposal identifier. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; constructor(name: string, args?: DxGatewayAssociationProposalArgs) { super(name, "aws_dx_gateway_association_proposal", args); } public override getNamespace(): string { return "aws_direct_connect"; } }