import * as core from "@terrascript/core"; export interface PeerCidrBlockSetArgs extends core.SchemaArgs { cidrBlock: string | core.StringOut; } export class PeerCidrBlockSet extends core.Schema { @core.attr(String, { computed: true }) public cidrBlock!: string | core.StringOut; } 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 CidrBlockSetArgs extends core.SchemaArgs { cidrBlock: string | core.StringOut; } export class CidrBlockSet extends core.Schema { @core.attr(String, { computed: true }) public cidrBlock!: string | core.StringOut; } export interface DsPeeringConnectionArgs { /** * (Optional) The primary CIDR block of the requester VPC of the specific VPC Peering Connection to ret * rieve. */ cidrBlock?: string | core.StringOut; /** * (Optional) Custom filter block as described below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) The ID of the specific VPC Peering Connection to retrieve. */ id?: string | core.StringOut; /** * (Optional) The AWS account ID of the owner of the requester VPC of the specific VPC Peering Connecti * on to retrieve. */ ownerId?: string | core.StringOut; /** * (Optional) The primary CIDR block of the accepter VPC of the specific VPC Peering Connection to retr * ieve. */ peerCidrBlock?: string | core.StringOut; /** * (Optional) The AWS account ID of the owner of the accepter VPC of the specific VPC Peering Connectio * n to retrieve. */ peerOwnerId?: string | core.StringOut; /** * (Optional) The region of the accepter VPC of the specific VPC Peering Connection to retrieve. */ peerRegion?: string | core.StringOut; /** * (Optional) The ID of the accepter VPC of the specific VPC Peering Connection to retrieve. */ peerVpcId?: string | core.StringOut; /** * (Optional) The region of the requester VPC of the specific VPC Peering Connection to retrieve. */ region?: string | core.StringOut; /** * (Optional) The status of the specific VPC Peering Connection to retrieve. */ status?: string | core.StringOut; /** * (Optional) A map of tags, each pair of which must exactly match */ tags?: core.Map | core.MapOut; /** * (Optional) The ID of the requester VPC of the specific VPC Peering Connection to retrieve. */ vpcId?: string | core.StringOut; } export class DsPeeringConnection extends core.Data { /** * A configuration block that describes [VPC Peering Connection] */ @core.attr(Boolean, { computed: true, kind: "map" }) public accepter!: core.Map | core.MapOut; /** * (Optional) The primary CIDR block of the requester VPC of the specific VPC Peering Connection to ret * rieve. */ @core.attr(String, { computed: true }) public cidrBlock?: string | core.StringOut; /** * List of objects with CIDR blocks of the requester VPC. */ @core.attr(CidrBlockSet, { computed: true, kind: "array" }) public cidrBlockSet!: core.Array | core.ArrayOut; /** * (Optional) Custom filter block as described below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * (Optional) The ID of the specific VPC Peering Connection to retrieve. */ @core.attr(String, { computed: true }) public id?: string | core.StringOut; /** * (Optional) The AWS account ID of the owner of the requester VPC of the specific VPC Peering Connecti * on to retrieve. */ @core.attr(String, { computed: true }) public ownerId?: string | core.StringOut; /** * (Optional) The primary CIDR block of the accepter VPC of the specific VPC Peering Connection to retr * ieve. */ @core.attr(String, { computed: true }) public peerCidrBlock?: string | core.StringOut; /** * List of objects with CIDR blocks of the accepter VPC. */ @core.attr(PeerCidrBlockSet, { computed: true, kind: "array" }) public peerCidrBlockSet!: | core.Array | core.ArrayOut; /** * (Optional) The AWS account ID of the owner of the accepter VPC of the specific VPC Peering Connectio * n to retrieve. */ @core.attr(String, { computed: true }) public peerOwnerId?: string | core.StringOut; /** * (Optional) The region of the accepter VPC of the specific VPC Peering Connection to retrieve. */ @core.attr(String, { computed: true }) public peerRegion?: string | core.StringOut; /** * (Optional) The ID of the accepter VPC of the specific VPC Peering Connection to retrieve. */ @core.attr(String, { computed: true }) public peerVpcId?: string | core.StringOut; /** * (Optional) The region of the requester VPC of the specific VPC Peering Connection to retrieve. */ @core.attr(String, { computed: true }) public region?: string | core.StringOut; /** * A configuration block that describes [VPC Peering Connection] */ @core.attr(Boolean, { computed: true, kind: "map" }) public requester!: core.Map | core.MapOut; /** * (Optional) The status of the specific VPC Peering Connection to retrieve. */ @core.attr(String, { computed: true }) public status?: string | core.StringOut; /** * (Optional) A map of tags, each pair of which must exactly match */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * (Optional) The ID of the requester VPC of the specific VPC Peering Connection to retrieve. */ @core.attr(String, { computed: true }) public vpcId?: string | core.StringOut; constructor(name: string, args?: DsPeeringConnectionArgs) { super(name, "aws_vpc_peering_connection", args); } public override getNamespace(): string { return "aws_vpc"; } }