import * as core from "@terrascript/core"; export interface Ec2TransitGatewayPolicyTableAssociationArgs extends core.ResourceArgs { /** * (Required) Identifier of EC2 Transit Gateway Attachment. */ transitGatewayAttachmentId: string | core.StringOut; /** * (Required) Identifier of EC2 Transit Gateway Policy Table. */ transitGatewayPolicyTableId: string | core.StringOut; } export class Ec2TransitGatewayPolicyTableAssociation extends core.Resource { /** * EC2 Transit Gateway Policy 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 Policy Table. */ @core.attr(String) public transitGatewayPolicyTableId!: string | core.StringOut; constructor( name: string, args?: Ec2TransitGatewayPolicyTableAssociationArgs ) { super(name, "aws_ec2_transit_gateway_policy_table_association", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }