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 DsPeeringConnectionsArgs { /** * (Optional) Custom filter block as described below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) A mapping of tags, each pair of which must exactly match */ tags?: core.Map | core.MapOut; } export class DsPeeringConnections extends core.Data { /** * (Optional) Custom filter block as described below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * AWS Region. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The IDs of the VPC Peering Connections. */ @core.attr(String, { computed: true, kind: "array" }) public ids!: core.Array | core.ArrayOut; /** * (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; constructor(name: string, args?: DsPeeringConnectionsArgs) { super(name, "aws_vpc_peering_connections", args); } public override getNamespace(): string { return "aws_vpc"; } }