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 DsEc2TransitGatewayPeeringAttachmentArgs { /** * (Optional) One or more configuration blocks containing name-values filters. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) Identifier of the EC2 Transit Gateway Peering Attachment. */ id?: string | core.StringOut; /** * (Optional) A mapping of tags, each pair of which must exactly match */ tags?: core.Map | core.MapOut; } export class DsEc2TransitGatewayPeeringAttachment extends core.Data { /** * (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 Peering Attachment. */ @core.attr(String, { computed: true }) public id?: string | core.StringOut; /** * Identifier of the peer AWS account */ @core.attr(String, { computed: true }) public peerAccountId!: string | core.StringOut; /** * Identifier of the peer AWS region */ @core.attr(String, { computed: true }) public peerRegion!: string | core.StringOut; /** * Identifier of the peer EC2 Transit Gateway */ @core.attr(String, { computed: true }) public peerTransitGatewayId!: string | core.StringOut; /** * (Optional) A mapping of tags, each pair of which must exactly match */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Identifier of the local EC2 Transit Gateway */ @core.attr(String, { computed: true }) public transitGatewayId!: string | core.StringOut; constructor(name: string, args?: DsEc2TransitGatewayPeeringAttachmentArgs) { super(name, "aws_ec2_transit_gateway_peering_attachment", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }