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 DsEc2TransitGatewayVpcAttachmentArgs { /** * (Optional) One or more configuration blocks containing name-values filters. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) Identifier of the EC2 Transit Gateway VPC Attachment. */ id?: string | core.StringOut; /** * Key-value tags for the EC2 Transit Gateway VPC Attachment */ tags?: core.Map | core.MapOut; } export class DsEc2TransitGatewayVpcAttachment extends core.Data { /** * Whether Appliance Mode support is enabled. */ @core.attr(String, { computed: true }) public applianceModeSupport!: string | core.StringOut; /** * Whether DNS support is enabled. */ @core.attr(String, { computed: true }) public dnsSupport!: string | core.StringOut; /** * (Optional) One or more configuration blocks containing name-values filters. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * (Optional) Identifier of the EC2 Transit Gateway VPC Attachment. */ @core.attr(String, { computed: true }) public id?: string | core.StringOut; /** * Whether IPv6 support is enabled. */ @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; /** * Key-value tags for the EC2 Transit Gateway VPC Attachment */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * EC2 Transit Gateway identifier */ @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?: DsEc2TransitGatewayVpcAttachmentArgs) { super(name, "aws_ec2_transit_gateway_vpc_attachment", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }