import * as core from "@terrascript/core"; export interface Ec2TransitGatewayRouteTableAssociationArgs extends core.ResourceArgs { /** * (Required) Identifier of EC2 Transit Gateway Attachment. */ transitGatewayAttachmentId: string | core.StringOut; /** * (Required) Identifier of EC2 Transit Gateway Route Table. */ transitGatewayRouteTableId: string | core.StringOut; } export class Ec2TransitGatewayRouteTableAssociation extends core.Resource { /** * EC2 Transit Gateway Route Table identifier combined with EC2 Transit Gateway Attachment identifier */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Identifier of the resource */ @core.attr(String, { computed: true }) public resourceId!: string | core.StringOut; /** * Type of the resource */ @core.attr(String, { computed: true }) public resourceType!: string | core.StringOut; /** * (Required) Identifier of EC2 Transit Gateway Attachment. */ @core.attr(String) public transitGatewayAttachmentId!: string | core.StringOut; /** * (Required) Identifier of EC2 Transit Gateway Route Table. */ @core.attr(String) public transitGatewayRouteTableId!: string | core.StringOut; constructor(name: string, args?: Ec2TransitGatewayRouteTableAssociationArgs) { super(name, "aws_ec2_transit_gateway_route_table_association", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }