import * as core from "@terrascript/core"; export interface DxHostedPrivateVirtualInterfaceAccepterArgs extends core.ResourceArgs { /** * (Optional) The ID of the Direct Connect gateway to which to connect the virtual interface. */ dxGatewayId?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Required) The ID of the Direct Connect virtual interface to accept. */ virtualInterfaceId: string | core.StringOut; /** * (Optional) The ID of the [virtual private gateway](vpn_gateway.html) to which to connect the virtual * interface. */ vpnGatewayId?: string | core.StringOut; } export class DxHostedPrivateVirtualInterfaceAccepter extends core.Resource { /** * The ARN of the virtual interface. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The ID of the Direct Connect gateway to which to connect the virtual interface. */ @core.attr(String) public dxGatewayId?: string | core.StringOut; /** * The ID of the virtual interface. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * (Required) The ID of the Direct Connect virtual interface to accept. */ @core.attr(String) public virtualInterfaceId!: string | core.StringOut; /** * (Optional) The ID of the [virtual private gateway](vpn_gateway.html) to which to connect the virtual * interface. */ @core.attr(String) public vpnGatewayId?: string | core.StringOut; constructor( name: string, args?: DxHostedPrivateVirtualInterfaceAccepterArgs ) { super(name, "aws_dx_hosted_private_virtual_interface_accepter", args); } public override getNamespace(): string { return "aws_direct_connect"; } }