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 DsEc2TransitGatewayRouteTableArgs { /** * (Optional) One or more configuration blocks containing name-values filters. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) Identifier of the EC2 Transit Gateway Route Table. */ id?: string | core.StringOut; /** * Key-value tags for the EC2 Transit Gateway Route Table */ tags?: core.Map | core.MapOut; } export class DsEc2TransitGatewayRouteTable extends core.Data { /** * EC2 Transit Gateway Route Table Amazon Resource Name (ARN). */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Boolean whether this is the default association route table for the EC2 Transit Gateway */ @core.attr(Boolean, { computed: true }) public defaultAssociationRouteTable!: boolean | core.BooleanOut; /** * Boolean whether this is the default propagation route table for the EC2 Transit Gateway */ @core.attr(Boolean, { computed: true }) public defaultPropagationRouteTable!: boolean | core.BooleanOut; /** * (Optional) One or more configuration blocks containing name-values filters. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * (Optional) Identifier of the EC2 Transit Gateway Route Table. */ @core.attr(String, { computed: true }) public id?: string | core.StringOut; /** * Key-value tags for the EC2 Transit Gateway Route Table */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * EC2 Transit Gateway identifier */ @core.attr(String, { computed: true }) public transitGatewayId!: string | core.StringOut; constructor(name: string, args?: DsEc2TransitGatewayRouteTableArgs) { super(name, "aws_ec2_transit_gateway_route_table", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }