import * as core from "@terrascript/core"; export interface Ec2TransitGatewayVpcAttachmentAccepterArgs extends core.ResourceArgs { /** * (Optional) Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider * [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/do * cs#default_tags-configuration-block) present, tags with matching keys will overwrite those defined a * t the 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) The ID of the EC2 Transit Gateway Attachment to manage. */ transitGatewayAttachmentId: string | core.StringOut; /** * (Optional) Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway asso * ciation default route table. Default value: `true`. */ transitGatewayDefaultRouteTableAssociation?: boolean | core.BooleanOut; /** * (Optional) Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway p * ropagation default route table. Default value: `true`. */ transitGatewayDefaultRouteTablePropagation?: boolean | core.BooleanOut; } export class Ec2TransitGatewayVpcAttachmentAccepter extends core.Resource { /** * Whether Appliance Mode support is enabled. Valid values: `disable`, `enable`. */ @core.attr(String, { computed: true }) public applianceModeSupport!: string | core.StringOut; /** * Whether DNS support is enabled. Valid values: `disable`, `enable`. */ @core.attr(String, { computed: true }) public dnsSupport!: string | core.StringOut; /** * EC2 Transit Gateway Attachment identifier */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Whether IPv6 support is enabled. Valid values: `disable`, `enable`. */ @core.attr(String, { computed: true }) public ipv6Support!: string | core.StringOut; /** * Identifiers of EC2 Subnets. */ @core.attr(String, { computed: true, kind: "array" }) public subnetIds!: core.Array | core.ArrayOut; /** * (Optional) Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider * [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/do * cs#default_tags-configuration-block) present, tags with matching keys will overwrite those defined a * t the 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) The ID of the EC2 Transit Gateway Attachment to manage. */ @core.attr(String) public transitGatewayAttachmentId!: string | core.StringOut; /** * (Optional) Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway asso * ciation default route table. Default value: `true`. */ @core.attr(Boolean) public transitGatewayDefaultRouteTableAssociation?: boolean | core.BooleanOut; /** * (Optional) Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway p * ropagation default route table. Default value: `true`. */ @core.attr(Boolean) public transitGatewayDefaultRouteTablePropagation?: boolean | core.BooleanOut; /** * Identifier of EC2 Transit Gateway. */ @core.attr(String, { computed: true }) public transitGatewayId!: string | core.StringOut; /** * Identifier of EC2 VPC. */ @core.attr(String, { computed: true }) public vpcId!: string | core.StringOut; /** * Identifier of the AWS account that owns the EC2 VPC. */ @core.attr(String, { computed: true }) public vpcOwnerId!: string | core.StringOut; constructor(name: string, args?: Ec2TransitGatewayVpcAttachmentAccepterArgs) { super(name, "aws_ec2_transit_gateway_vpc_attachment_accepter", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }