import * as core from "@terrascript/core"; export interface Ec2TransitGatewayRouteTableArgs extends core.ResourceArgs { /** * (Optional) Key-value tags for the EC2 Transit Gateway Route Table. If configured with a provider [`d * efault_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs# * default_tags-configuration-block) present, tags with matching keys will overwrite those defined at t * he provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Required) Identifier of EC2 Transit Gateway. */ transitGatewayId: string | core.StringOut; } export class Ec2TransitGatewayRouteTable extends core.Resource { /** * 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; /** * EC2 Transit Gateway Route Table identifier */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Key-value tags for the EC2 Transit Gateway Route Table. If configured with a provider [`d * efault_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs# * default_tags-configuration-block) present, tags with matching keys will overwrite those defined at t * he provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * (Required) Identifier of EC2 Transit Gateway. */ @core.attr(String) public transitGatewayId!: string | core.StringOut; constructor(name: string, args?: Ec2TransitGatewayRouteTableArgs) { super(name, "aws_ec2_transit_gateway_route_table", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }