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 DsEc2TransitGatewayConnectArgs { /** * (Optional) One or more configuration blocks containing name-values filters. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * Key-value tags for the EC2 Transit Gateway Connect */ tags?: core.Map | core.MapOut; /** * (Optional) Identifier of the EC2 Transit Gateway Connect. */ transitGatewayConnectId?: string | core.StringOut; } export class DsEc2TransitGatewayConnect extends core.Data { /** * (Optional) One or more configuration blocks containing name-values filters. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The tunnel protocol */ @core.attr(String, { computed: true }) public protocol!: string | core.StringOut; /** * Key-value tags for the EC2 Transit Gateway Connect */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * (Optional) Identifier of the EC2 Transit Gateway Connect. */ @core.attr(String, { computed: true }) public transitGatewayConnectId?: string | core.StringOut; /** * EC2 Transit Gateway identifier */ @core.attr(String, { computed: true }) public transitGatewayId!: string | core.StringOut; /** * The underlaying VPC attachment */ @core.attr(String, { computed: true }) public transportAttachmentId!: string | core.StringOut; constructor(name: string, args?: DsEc2TransitGatewayConnectArgs) { super(name, "aws_ec2_transit_gateway_connect", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }