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 DsEc2TransitGatewayDxGatewayAttachmentArgs { /** * (Optional) Identifier of the Direct Connect Gateway. */ dxGatewayId?: string | core.StringOut; /** * (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 Direct Connect Gateway Attachment. */ tags?: core.Map | core.MapOut; /** * (Optional) Identifier of the EC2 Transit Gateway. */ transitGatewayId?: string | core.StringOut; } export class DsEc2TransitGatewayDxGatewayAttachment extends core.Data { /** * (Optional) Identifier of the Direct Connect Gateway. */ @core.attr(String) public dxGatewayId?: string | core.StringOut; /** * (Optional) Configuration block(s) for filtering. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * EC2 Transit Gateway 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 Direct Connect Gateway 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; constructor(name: string, args?: DsEc2TransitGatewayDxGatewayAttachmentArgs) { super(name, "aws_ec2_transit_gateway_dx_gateway_attachment", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }