aws.ec2.getVpcPeeringConnection
Explore with Pulumi AI
The VPC Peering Connection data source provides details about a specific VPC peering connection.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
// Declare the data source
const pc = aws.ec2.getVpcPeeringConnection({
    vpcId: foo.id,
    peerCidrBlock: "10.0.1.0/22",
});
// Create a route table
const rt = new aws.ec2.RouteTable("rt", {vpcId: foo.id});
// Create a route
const r = new aws.ec2.Route("r", {
    routeTableId: rt.id,
    destinationCidrBlock: pc.then(pc => pc.peerCidrBlock),
    vpcPeeringConnectionId: pc.then(pc => pc.id),
});
import pulumi
import pulumi_aws as aws
# Declare the data source
pc = aws.ec2.get_vpc_peering_connection(vpc_id=foo["id"],
    peer_cidr_block="10.0.1.0/22")
# Create a route table
rt = aws.ec2.RouteTable("rt", vpc_id=foo["id"])
# Create a route
r = aws.ec2.Route("r",
    route_table_id=rt.id,
    destination_cidr_block=pc.peer_cidr_block,
    vpc_peering_connection_id=pc.id)
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		pc, err := ec2.LookupVpcPeeringConnection(ctx, &ec2.LookupVpcPeeringConnectionArgs{
			VpcId:         pulumi.StringRef(foo.Id),
			PeerCidrBlock: pulumi.StringRef("10.0.1.0/22"),
		}, nil)
		if err != nil {
			return err
		}
		// Create a route table
		rt, err := ec2.NewRouteTable(ctx, "rt", &ec2.RouteTableArgs{
			VpcId: pulumi.Any(foo.Id),
		})
		if err != nil {
			return err
		}
		// Create a route
		_, err = ec2.NewRoute(ctx, "r", &ec2.RouteArgs{
			RouteTableId:           rt.ID(),
			DestinationCidrBlock:   pulumi.String(pc.PeerCidrBlock),
			VpcPeeringConnectionId: pulumi.String(pc.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    // Declare the data source
    var pc = Aws.Ec2.GetVpcPeeringConnection.Invoke(new()
    {
        VpcId = foo.Id,
        PeerCidrBlock = "10.0.1.0/22",
    });
    // Create a route table
    var rt = new Aws.Ec2.RouteTable("rt", new()
    {
        VpcId = foo.Id,
    });
    // Create a route
    var r = new Aws.Ec2.Route("r", new()
    {
        RouteTableId = rt.Id,
        DestinationCidrBlock = pc.Apply(getVpcPeeringConnectionResult => getVpcPeeringConnectionResult.PeerCidrBlock),
        VpcPeeringConnectionId = pc.Apply(getVpcPeeringConnectionResult => getVpcPeeringConnectionResult.Id),
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetVpcPeeringConnectionArgs;
import com.pulumi.aws.ec2.RouteTable;
import com.pulumi.aws.ec2.RouteTableArgs;
import com.pulumi.aws.ec2.Route;
import com.pulumi.aws.ec2.RouteArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        // Declare the data source
        final var pc = Ec2Functions.getVpcPeeringConnection(GetVpcPeeringConnectionArgs.builder()
            .vpcId(foo.id())
            .peerCidrBlock("10.0.1.0/22")
            .build());
        // Create a route table
        var rt = new RouteTable("rt", RouteTableArgs.builder()
            .vpcId(foo.id())
            .build());
        // Create a route
        var r = new Route("r", RouteArgs.builder()
            .routeTableId(rt.id())
            .destinationCidrBlock(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.peerCidrBlock()))
            .vpcPeeringConnectionId(pc.applyValue(getVpcPeeringConnectionResult -> getVpcPeeringConnectionResult.id()))
            .build());
    }
}
resources:
  # Create a route table
  rt:
    type: aws:ec2:RouteTable
    properties:
      vpcId: ${foo.id}
  # Create a route
  r:
    type: aws:ec2:Route
    properties:
      routeTableId: ${rt.id}
      destinationCidrBlock: ${pc.peerCidrBlock}
      vpcPeeringConnectionId: ${pc.id}
variables:
  # Declare the data source
  pc:
    fn::invoke:
      function: aws:ec2:getVpcPeeringConnection
      arguments:
        vpcId: ${foo.id}
        peerCidrBlock: 10.0.1.0/22
Using getVpcPeeringConnection
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpcPeeringConnection(args: GetVpcPeeringConnectionArgs, opts?: InvokeOptions): Promise<GetVpcPeeringConnectionResult>
function getVpcPeeringConnectionOutput(args: GetVpcPeeringConnectionOutputArgs, opts?: InvokeOptions): Output<GetVpcPeeringConnectionResult>def get_vpc_peering_connection(cidr_block: Optional[str] = None,
                               filters: Optional[Sequence[GetVpcPeeringConnectionFilter]] = None,
                               id: Optional[str] = None,
                               owner_id: Optional[str] = None,
                               peer_cidr_block: Optional[str] = None,
                               peer_owner_id: Optional[str] = None,
                               peer_region: Optional[str] = None,
                               peer_vpc_id: Optional[str] = None,
                               region: Optional[str] = None,
                               status: Optional[str] = None,
                               tags: Optional[Mapping[str, str]] = None,
                               vpc_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetVpcPeeringConnectionResult
def get_vpc_peering_connection_output(cidr_block: Optional[pulumi.Input[str]] = None,
                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetVpcPeeringConnectionFilterArgs]]]] = None,
                               id: Optional[pulumi.Input[str]] = None,
                               owner_id: Optional[pulumi.Input[str]] = None,
                               peer_cidr_block: Optional[pulumi.Input[str]] = None,
                               peer_owner_id: Optional[pulumi.Input[str]] = None,
                               peer_region: Optional[pulumi.Input[str]] = None,
                               peer_vpc_id: Optional[pulumi.Input[str]] = None,
                               region: Optional[pulumi.Input[str]] = None,
                               status: Optional[pulumi.Input[str]] = None,
                               tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                               vpc_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetVpcPeeringConnectionResult]func LookupVpcPeeringConnection(ctx *Context, args *LookupVpcPeeringConnectionArgs, opts ...InvokeOption) (*LookupVpcPeeringConnectionResult, error)
func LookupVpcPeeringConnectionOutput(ctx *Context, args *LookupVpcPeeringConnectionOutputArgs, opts ...InvokeOption) LookupVpcPeeringConnectionResultOutput> Note: This function is named LookupVpcPeeringConnection in the Go SDK.
public static class GetVpcPeeringConnection 
{
    public static Task<GetVpcPeeringConnectionResult> InvokeAsync(GetVpcPeeringConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetVpcPeeringConnectionResult> Invoke(GetVpcPeeringConnectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcPeeringConnectionResult> getVpcPeeringConnection(GetVpcPeeringConnectionArgs args, InvokeOptions options)
public static Output<GetVpcPeeringConnectionResult> getVpcPeeringConnection(GetVpcPeeringConnectionArgs args, InvokeOptions options)
fn::invoke:
  function: aws:ec2/getVpcPeeringConnection:getVpcPeeringConnection
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CidrBlock string
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- Filters
List<GetVpc Peering Connection Filter> 
- Custom filter block as described below.
- Id string
- ID of the specific VPC Peering Connection to retrieve.
- OwnerId string
- AWS account ID of the owner of the requester VPC of the specific VPC Peering Connection to retrieve.
- PeerCidr stringBlock 
- Primary CIDR block of the accepter VPC of the specific VPC Peering Connection to retrieve.
- PeerOwner stringId 
- AWS account ID of the owner of the accepter VPC of the specific VPC Peering Connection to retrieve.
- PeerRegion string
- Region of the accepter VPC of the specific VPC Peering Connection to retrieve.
- PeerVpc stringId 
- ID of the accepter VPC of the specific VPC Peering Connection to retrieve.
- Region string
- Region of the requester VPC of the specific VPC Peering Connection to retrieve.
- Status string
- Status of the specific VPC Peering Connection to retrieve.
- Dictionary<string, string>
- Map of tags, each pair of which must exactly match a pair on the desired VPC Peering Connection. - More complex filters can be expressed using one or more - filtersub-blocks, which take the following arguments:
- VpcId string
- ID of the requester VPC of the specific VPC Peering Connection to retrieve.
- CidrBlock string
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- Filters
[]GetVpc Peering Connection Filter 
- Custom filter block as described below.
- Id string
- ID of the specific VPC Peering Connection to retrieve.
- OwnerId string
- AWS account ID of the owner of the requester VPC of the specific VPC Peering Connection to retrieve.
- PeerCidr stringBlock 
- Primary CIDR block of the accepter VPC of the specific VPC Peering Connection to retrieve.
- PeerOwner stringId 
- AWS account ID of the owner of the accepter VPC of the specific VPC Peering Connection to retrieve.
- PeerRegion string
- Region of the accepter VPC of the specific VPC Peering Connection to retrieve.
- PeerVpc stringId 
- ID of the accepter VPC of the specific VPC Peering Connection to retrieve.
- Region string
- Region of the requester VPC of the specific VPC Peering Connection to retrieve.
- Status string
- Status of the specific VPC Peering Connection to retrieve.
- map[string]string
- Map of tags, each pair of which must exactly match a pair on the desired VPC Peering Connection. - More complex filters can be expressed using one or more - filtersub-blocks, which take the following arguments:
- VpcId string
- ID of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidrBlock String
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- filters
List<GetVpc Peering Connection Filter> 
- Custom filter block as described below.
- id String
- ID of the specific VPC Peering Connection to retrieve.
- ownerId String
- AWS account ID of the owner of the requester VPC of the specific VPC Peering Connection to retrieve.
- peerCidr StringBlock 
- Primary CIDR block of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peerOwner StringId 
- AWS account ID of the owner of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peerRegion String
- Region of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peerVpc StringId 
- ID of the accepter VPC of the specific VPC Peering Connection to retrieve.
- region String
- Region of the requester VPC of the specific VPC Peering Connection to retrieve.
- status String
- Status of the specific VPC Peering Connection to retrieve.
- Map<String,String>
- Map of tags, each pair of which must exactly match a pair on the desired VPC Peering Connection. - More complex filters can be expressed using one or more - filtersub-blocks, which take the following arguments:
- vpcId String
- ID of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidrBlock string
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- filters
GetVpc Peering Connection Filter[] 
- Custom filter block as described below.
- id string
- ID of the specific VPC Peering Connection to retrieve.
- ownerId string
- AWS account ID of the owner of the requester VPC of the specific VPC Peering Connection to retrieve.
- peerCidr stringBlock 
- Primary CIDR block of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peerOwner stringId 
- AWS account ID of the owner of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peerRegion string
- Region of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peerVpc stringId 
- ID of the accepter VPC of the specific VPC Peering Connection to retrieve.
- region string
- Region of the requester VPC of the specific VPC Peering Connection to retrieve.
- status string
- Status of the specific VPC Peering Connection to retrieve.
- {[key: string]: string}
- Map of tags, each pair of which must exactly match a pair on the desired VPC Peering Connection. - More complex filters can be expressed using one or more - filtersub-blocks, which take the following arguments:
- vpcId string
- ID of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidr_block str
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- filters
Sequence[GetVpc Peering Connection Filter] 
- Custom filter block as described below.
- id str
- ID of the specific VPC Peering Connection to retrieve.
- owner_id str
- AWS account ID of the owner of the requester VPC of the specific VPC Peering Connection to retrieve.
- peer_cidr_ strblock 
- Primary CIDR block of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peer_owner_ strid 
- AWS account ID of the owner of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peer_region str
- Region of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peer_vpc_ strid 
- ID of the accepter VPC of the specific VPC Peering Connection to retrieve.
- region str
- Region of the requester VPC of the specific VPC Peering Connection to retrieve.
- status str
- Status of the specific VPC Peering Connection to retrieve.
- Mapping[str, str]
- Map of tags, each pair of which must exactly match a pair on the desired VPC Peering Connection. - More complex filters can be expressed using one or more - filtersub-blocks, which take the following arguments:
- vpc_id str
- ID of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidrBlock String
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- filters List<Property Map>
- Custom filter block as described below.
- id String
- ID of the specific VPC Peering Connection to retrieve.
- ownerId String
- AWS account ID of the owner of the requester VPC of the specific VPC Peering Connection to retrieve.
- peerCidr StringBlock 
- Primary CIDR block of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peerOwner StringId 
- AWS account ID of the owner of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peerRegion String
- Region of the accepter VPC of the specific VPC Peering Connection to retrieve.
- peerVpc StringId 
- ID of the accepter VPC of the specific VPC Peering Connection to retrieve.
- region String
- Region of the requester VPC of the specific VPC Peering Connection to retrieve.
- status String
- Status of the specific VPC Peering Connection to retrieve.
- Map<String>
- Map of tags, each pair of which must exactly match a pair on the desired VPC Peering Connection. - More complex filters can be expressed using one or more - filtersub-blocks, which take the following arguments:
- vpcId String
- ID of the requester VPC of the specific VPC Peering Connection to retrieve.
getVpcPeeringConnection Result
The following output properties are available:
- Accepter Dictionary<string, bool>
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the accepter VPC.
- CidrBlock string
- CIDR block associated to the VPC of the specific VPC Peering Connection.
- CidrBlock List<GetSets Vpc Peering Connection Cidr Block Set> 
- List of objects with IPv4 CIDR blocks of the requester VPC.
- Id string
- Ipv6CidrBlock List<GetSets Vpc Peering Connection Ipv6Cidr Block Set> 
- List of objects with IPv6 CIDR blocks of the requester VPC.
- OwnerId string
- PeerCidr stringBlock 
- PeerCidr List<GetBlock Sets Vpc Peering Connection Peer Cidr Block Set> 
- List of objects with IPv4 CIDR blocks of the accepter VPC.
- PeerIpv6Cidr List<GetBlock Sets Vpc Peering Connection Peer Ipv6Cidr Block Set> 
- List of objects with IPv6 CIDR blocks of the accepter VPC.
- PeerOwner stringId 
- PeerRegion string
- PeerVpc stringId 
- Region string
- Requester Dictionary<string, bool>
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
- Status string
- Dictionary<string, string>
- VpcId string
- Filters
List<GetVpc Peering Connection Filter> 
- Accepter map[string]bool
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the accepter VPC.
- CidrBlock string
- CIDR block associated to the VPC of the specific VPC Peering Connection.
- CidrBlock []GetSets Vpc Peering Connection Cidr Block Set 
- List of objects with IPv4 CIDR blocks of the requester VPC.
- Id string
- Ipv6CidrBlock []GetSets Vpc Peering Connection Ipv6Cidr Block Set 
- List of objects with IPv6 CIDR blocks of the requester VPC.
- OwnerId string
- PeerCidr stringBlock 
- PeerCidr []GetBlock Sets Vpc Peering Connection Peer Cidr Block Set 
- List of objects with IPv4 CIDR blocks of the accepter VPC.
- PeerIpv6Cidr []GetBlock Sets Vpc Peering Connection Peer Ipv6Cidr Block Set 
- List of objects with IPv6 CIDR blocks of the accepter VPC.
- PeerOwner stringId 
- PeerRegion string
- PeerVpc stringId 
- Region string
- Requester map[string]bool
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
- Status string
- map[string]string
- VpcId string
- Filters
[]GetVpc Peering Connection Filter 
- accepter Map<String,Boolean>
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the accepter VPC.
- cidrBlock String
- CIDR block associated to the VPC of the specific VPC Peering Connection.
- cidrBlock List<GetSets Vpc Peering Connection Cidr Block Set> 
- List of objects with IPv4 CIDR blocks of the requester VPC.
- id String
- ipv6CidrBlock List<GetSets Vpc Peering Connection Ipv6Cidr Block Set> 
- List of objects with IPv6 CIDR blocks of the requester VPC.
- ownerId String
- peerCidr StringBlock 
- peerCidr List<GetBlock Sets Vpc Peering Connection Peer Cidr Block Set> 
- List of objects with IPv4 CIDR blocks of the accepter VPC.
- peerIpv6Cidr List<GetBlock Sets Vpc Peering Connection Peer Ipv6Cidr Block Set> 
- List of objects with IPv6 CIDR blocks of the accepter VPC.
- peerOwner StringId 
- peerRegion String
- peerVpc StringId 
- region String
- requester Map<String,Boolean>
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
- status String
- Map<String,String>
- vpcId String
- filters
List<GetVpc Peering Connection Filter> 
- accepter {[key: string]: boolean}
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the accepter VPC.
- cidrBlock string
- CIDR block associated to the VPC of the specific VPC Peering Connection.
- cidrBlock GetSets Vpc Peering Connection Cidr Block Set[] 
- List of objects with IPv4 CIDR blocks of the requester VPC.
- id string
- ipv6CidrBlock GetSets Vpc Peering Connection Ipv6Cidr Block Set[] 
- List of objects with IPv6 CIDR blocks of the requester VPC.
- ownerId string
- peerCidr stringBlock 
- peerCidr GetBlock Sets Vpc Peering Connection Peer Cidr Block Set[] 
- List of objects with IPv4 CIDR blocks of the accepter VPC.
- peerIpv6Cidr GetBlock Sets Vpc Peering Connection Peer Ipv6Cidr Block Set[] 
- List of objects with IPv6 CIDR blocks of the accepter VPC.
- peerOwner stringId 
- peerRegion string
- peerVpc stringId 
- region string
- requester {[key: string]: boolean}
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
- status string
- {[key: string]: string}
- vpcId string
- filters
GetVpc Peering Connection Filter[] 
- accepter Mapping[str, bool]
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the accepter VPC.
- cidr_block str
- CIDR block associated to the VPC of the specific VPC Peering Connection.
- cidr_block_ Sequence[Getsets Vpc Peering Connection Cidr Block Set] 
- List of objects with IPv4 CIDR blocks of the requester VPC.
- id str
- ipv6_cidr_ Sequence[Getblock_ sets Vpc Peering Connection Ipv6Cidr Block Set] 
- List of objects with IPv6 CIDR blocks of the requester VPC.
- owner_id str
- peer_cidr_ strblock 
- peer_cidr_ Sequence[Getblock_ sets Vpc Peering Connection Peer Cidr Block Set] 
- List of objects with IPv4 CIDR blocks of the accepter VPC.
- peer_ipv6_ Sequence[Getcidr_ block_ sets Vpc Peering Connection Peer Ipv6Cidr Block Set] 
- List of objects with IPv6 CIDR blocks of the accepter VPC.
- peer_owner_ strid 
- peer_region str
- peer_vpc_ strid 
- region str
- requester Mapping[str, bool]
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
- status str
- Mapping[str, str]
- vpc_id str
- filters
Sequence[GetVpc Peering Connection Filter] 
- accepter Map<Boolean>
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the accepter VPC.
- cidrBlock String
- CIDR block associated to the VPC of the specific VPC Peering Connection.
- cidrBlock List<Property Map>Sets 
- List of objects with IPv4 CIDR blocks of the requester VPC.
- id String
- ipv6CidrBlock List<Property Map>Sets 
- List of objects with IPv6 CIDR blocks of the requester VPC.
- ownerId String
- peerCidr StringBlock 
- peerCidr List<Property Map>Block Sets 
- List of objects with IPv4 CIDR blocks of the accepter VPC.
- peerIpv6Cidr List<Property Map>Block Sets 
- List of objects with IPv6 CIDR blocks of the accepter VPC.
- peerOwner StringId 
- peerRegion String
- peerVpc StringId 
- region String
- requester Map<Boolean>
- Configuration block that describes [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options set for the requester VPC.
- status String
- Map<String>
- vpcId String
- filters List<Property Map>
Supporting Types
GetVpcPeeringConnectionCidrBlockSet      
- CidrBlock string
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- CidrBlock string
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidrBlock String
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidrBlock string
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidr_block str
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidrBlock String
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
GetVpcPeeringConnectionFilter    
- Name string
- Name of the field to filter by, as defined by the underlying AWS API.
- Values List<string>
- Set of values that are accepted for the given field. A VPC Peering Connection will be selected if any one of the given values matches.
- Name string
- Name of the field to filter by, as defined by the underlying AWS API.
- Values []string
- Set of values that are accepted for the given field. A VPC Peering Connection will be selected if any one of the given values matches.
- name String
- Name of the field to filter by, as defined by the underlying AWS API.
- values List<String>
- Set of values that are accepted for the given field. A VPC Peering Connection will be selected if any one of the given values matches.
- name string
- Name of the field to filter by, as defined by the underlying AWS API.
- values string[]
- Set of values that are accepted for the given field. A VPC Peering Connection will be selected if any one of the given values matches.
- name str
- Name of the field to filter by, as defined by the underlying AWS API.
- values Sequence[str]
- Set of values that are accepted for the given field. A VPC Peering Connection will be selected if any one of the given values matches.
- name String
- Name of the field to filter by, as defined by the underlying AWS API.
- values List<String>
- Set of values that are accepted for the given field. A VPC Peering Connection will be selected if any one of the given values matches.
GetVpcPeeringConnectionIpv6CidrBlockSet      
- Ipv6CidrBlock string
- Ipv6CidrBlock string
- ipv6CidrBlock String
- ipv6CidrBlock string
- ipv6_cidr_ strblock 
- ipv6CidrBlock String
GetVpcPeeringConnectionPeerCidrBlockSet       
- CidrBlock string
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- CidrBlock string
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidrBlock String
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidrBlock string
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidr_block str
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
- cidrBlock String
- Primary CIDR block of the requester VPC of the specific VPC Peering Connection to retrieve.
GetVpcPeeringConnectionPeerIpv6CidrBlockSet       
- Ipv6CidrBlock string
- Ipv6CidrBlock string
- ipv6CidrBlock String
- ipv6CidrBlock string
- ipv6_cidr_ strblock 
- ipv6CidrBlock String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.