import * as core from "@terrascript/core"; export interface FilterArgs extends core.SchemaArgs { name: string | core.StringOut; values: core.Array | core.ArrayOut; } export class Filter extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String, { kind: "array" }) public values!: core.Array | core.ArrayOut; } export interface DsEc2TransitGatewayVpnAttachmentArgs { /** * (Optional) Configuration block(s) for filtering. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) A map of tags, each pair of which must exactly match a pair on the desired Transit Gatewa * y VPN Attachment. */ tags?: core.Map | core.MapOut; /** * (Optional) Identifier of the EC2 Transit Gateway. */ transitGatewayId?: string | core.StringOut; /** * (Optional) Identifier of the EC2 VPN Connection. */ vpnConnectionId?: string | core.StringOut; } export class DsEc2TransitGatewayVpnAttachment extends core.Data { /** * (Optional) Configuration block(s) for filtering. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * EC2 Transit Gateway VPN Attachment identifier */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A map of tags, each pair of which must exactly match a pair on the desired Transit Gatewa * y VPN Attachment. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * (Optional) Identifier of the EC2 Transit Gateway. */ @core.attr(String) public transitGatewayId?: string | core.StringOut; /** * (Optional) Identifier of the EC2 VPN Connection. */ @core.attr(String) public vpnConnectionId?: string | core.StringOut; constructor(name: string, args?: DsEc2TransitGatewayVpnAttachmentArgs) { super(name, "aws_ec2_transit_gateway_vpn_attachment", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }