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 RoutesArgs extends core.SchemaArgs { carrierGatewayId: string | core.StringOut; cidrBlock: string | core.StringOut; coreNetworkArn: string | core.StringOut; destinationPrefixListId: string | core.StringOut; egressOnlyGatewayId: string | core.StringOut; gatewayId: string | core.StringOut; instanceId: string | core.StringOut; ipv6CidrBlock: string | core.StringOut; localGatewayId: string | core.StringOut; natGatewayId: string | core.StringOut; networkInterfaceId: string | core.StringOut; transitGatewayId: string | core.StringOut; vpcEndpointId: string | core.StringOut; vpcPeeringConnectionId: string | core.StringOut; } export class Routes extends core.Schema { @core.attr(String, { computed: true }) public carrierGatewayId!: string | core.StringOut; @core.attr(String, { computed: true }) public cidrBlock!: string | core.StringOut; @core.attr(String, { computed: true }) public coreNetworkArn!: string | core.StringOut; @core.attr(String, { computed: true }) public destinationPrefixListId!: string | core.StringOut; @core.attr(String, { computed: true }) public egressOnlyGatewayId!: string | core.StringOut; @core.attr(String, { computed: true }) public gatewayId!: string | core.StringOut; @core.attr(String, { computed: true }) public instanceId!: string | core.StringOut; @core.attr(String, { computed: true }) public ipv6CidrBlock!: string | core.StringOut; @core.attr(String, { computed: true }) public localGatewayId!: string | core.StringOut; @core.attr(String, { computed: true }) public natGatewayId!: string | core.StringOut; @core.attr(String, { computed: true }) public networkInterfaceId!: string | core.StringOut; @core.attr(String, { computed: true }) public transitGatewayId!: string | core.StringOut; @core.attr(String, { computed: true }) public vpcEndpointId!: string | core.StringOut; @core.attr(String, { computed: true }) public vpcPeeringConnectionId!: string | core.StringOut; } export interface AssociationsArgs extends core.SchemaArgs { gatewayId: string | core.StringOut; main: boolean | core.BooleanOut; routeTableAssociationId: string | core.StringOut; routeTableId: string | core.StringOut; subnetId: string | core.StringOut; } export class Associations extends core.Schema { @core.attr(String, { computed: true }) public gatewayId!: string | core.StringOut; @core.attr(Boolean, { computed: true }) public main!: boolean | core.BooleanOut; @core.attr(String, { computed: true }) public routeTableAssociationId!: string | core.StringOut; @core.attr(String, { computed: true }) public routeTableId!: string | core.StringOut; @core.attr(String, { computed: true }) public subnetId!: string | core.StringOut; } export interface DsRouteTableArgs { /** * (Optional) Configuration block. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) ID of an Internet Gateway or Virtual Private Gateway which is connected to the Route Tabl * e (not exported if not passed as a parameter). */ gatewayId?: string | core.StringOut; /** * (Optional) ID of the specific Route Table to retrieve. */ routeTableId?: string | core.StringOut; /** * (Optional) ID of a Subnet which is connected to the Route Table (not exported if not passed as a par * ameter). */ subnetId?: string | core.StringOut; /** * (Optional) Map of tags, each pair of which must exactly match a pair on the desired Route Table. */ tags?: core.Map | core.MapOut; /** * (Optional) ID of the VPC that the desired Route Table belongs to. */ vpcId?: string | core.StringOut; } export class DsRouteTable extends core.Data { /** * ARN of the route table. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * List of associations with attributes detailed below. */ @core.attr(Associations, { computed: true, kind: "array" }) public associations!: core.Array | core.ArrayOut; /** * (Optional) Configuration block. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * (Optional) ID of an Internet Gateway or Virtual Private Gateway which is connected to the Route Tabl * e (not exported if not passed as a parameter). */ @core.attr(String, { computed: true }) public gatewayId?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * ID of the AWS account that owns the route table. */ @core.attr(String, { computed: true }) public ownerId!: string | core.StringOut; /** * (Optional) ID of the specific Route Table to retrieve. */ @core.attr(String, { computed: true }) public routeTableId?: string | core.StringOut; /** * List of routes with attributes detailed below. */ @core.attr(Routes, { computed: true, kind: "array" }) public routes!: core.Array | core.ArrayOut; /** * (Optional) ID of a Subnet which is connected to the Route Table (not exported if not passed as a par * ameter). */ @core.attr(String, { computed: true }) public subnetId?: string | core.StringOut; /** * (Optional) Map of tags, each pair of which must exactly match a pair on the desired Route Table. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * (Optional) ID of the VPC that the desired Route Table belongs to. */ @core.attr(String, { computed: true }) public vpcId?: string | core.StringOut; constructor(name: string, args?: DsRouteTableArgs) { super(name, "aws_route_table", args); } public override getNamespace(): string { return "aws_vpc"; } }