PeeringConnectionOptions

Provides a resource to manage VPC peering connection options.

NOTE on VPC Peering Connections and VPC Peering Connection Options: This provider provides both a standalone VPC Peering Connection Options and a VPC Peering Connection resource with accepter and requester attributes. Do not manage options for the same VPC peering connection in both a VPC Peering Connection resource and a VPC Peering Connection Options resource. Doing so will cause a conflict of options and will overwrite the options. Using a VPC Peering Connection Options resource decouples management of the connection options from management of the VPC Peering Connection and allows options to be set correctly in cross-region and cross-account scenarios.

Basic usage:

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const fooVpc = new aws.ec2.Vpc("foo", {
    cidrBlock: "10.0.0.0/16",
});
const bar = new aws.ec2.Vpc("bar", {
    cidrBlock: "10.1.0.0/16",
});
const fooVpcPeeringConnection = new aws.ec2.VpcPeeringConnection("foo", {
    autoAccept: true,
    peerVpcId: bar.id,
    vpcId: fooVpc.id,
});
const fooPeeringConnectionOptions = new aws.ec2.PeeringConnectionOptions("foo", {
    accepter: {
        allowRemoteVpcDnsResolution: true,
    },
    requester: {
        allowClassicLinkToRemoteVpc: true,
        allowVpcToRemoteClassicLink: true,
    },
    vpcPeeringConnectionId: fooVpcPeeringConnection.id,
});
import pulumi
import pulumi_aws as aws

foo_vpc = aws.ec2.Vpc("fooVpc", cidr_block="10.0.0.0/16")
bar = aws.ec2.Vpc("bar", cidr_block="10.1.0.0/16")
foo_vpc_peering_connection = aws.ec2.VpcPeeringConnection("fooVpcPeeringConnection",
    auto_accept=True,
    peer_vpc_id=bar.id,
    vpc_id=foo_vpc.id)
foo_peering_connection_options = aws.ec2.PeeringConnectionOptions("fooPeeringConnectionOptions",
    accepter={
        "allowRemoteVpcDnsResolution": True,
    },
    requester={
        "allowClassicLinkToRemoteVpc": True,
        "allowVpcToRemoteClassicLink": True,
    },
    vpc_peering_connection_id=foo_vpc_peering_connection.id)
using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var fooVpc = new Aws.Ec2.Vpc("fooVpc", new Aws.Ec2.VpcArgs
        {
            CidrBlock = "10.0.0.0/16",
        });
        var bar = new Aws.Ec2.Vpc("bar", new Aws.Ec2.VpcArgs
        {
            CidrBlock = "10.1.0.0/16",
        });
        var fooVpcPeeringConnection = new Aws.Ec2.VpcPeeringConnection("fooVpcPeeringConnection", new Aws.Ec2.VpcPeeringConnectionArgs
        {
            AutoAccept = true,
            PeerVpcId = bar.Id,
            VpcId = fooVpc.Id,
        });
        var fooPeeringConnectionOptions = new Aws.Ec2.PeeringConnectionOptions("fooPeeringConnectionOptions", new Aws.Ec2.PeeringConnectionOptionsArgs
        {
            Accepter = new Aws.Ec2.Inputs.PeeringConnectionOptionsAccepterArgs
            {
                AllowRemoteVpcDnsResolution = true,
            },
            Requester = new Aws.Ec2.Inputs.PeeringConnectionOptionsRequesterArgs
            {
                AllowClassicLinkToRemoteVpc = true,
                AllowVpcToRemoteClassicLink = true,
            },
            VpcPeeringConnectionId = fooVpcPeeringConnection.Id,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2"
	"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := ec2.NewVpc(ctx, "fooVpc", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		bar, err := ec2.NewVpc(ctx, "bar", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.1.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooVpcPeeringConnection, err := ec2.NewVpcPeeringConnection(ctx, "fooVpcPeeringConnection", &ec2.VpcPeeringConnectionArgs{
			AutoAccept: pulumi.Bool(true),
			PeerVpcId:  bar.ID(),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ec2.NewPeeringConnectionOptions(ctx, "fooPeeringConnectionOptions", &ec2.PeeringConnectionOptionsArgs{
			Accepter: &ec2.PeeringConnectionOptionsAccepterArgs{
				AllowRemoteVpcDnsResolution: pulumi.Bool(true),
			},
			Requester: &ec2.PeeringConnectionOptionsRequesterArgs{
				AllowClassicLinkToRemoteVpc: pulumi.Bool(true),
				AllowVpcToRemoteClassicLink: pulumi.Bool(true),
			},
			VpcPeeringConnectionId: fooVpcPeeringConnection.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Basic cross-account usage:

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const requester = new aws.Provider("requester", {});
const accepter = new aws.Provider("accepter", {});
const main = new aws.ec2.Vpc("main", {
    cidrBlock: "10.0.0.0/16",
    enableDnsHostnames: true,
    enableDnsSupport: true,
}, { provider: requester });
const peerVpc = new aws.ec2.Vpc("peer", {
    cidrBlock: "10.1.0.0/16",
    enableDnsHostnames: true,
    enableDnsSupport: true,
}, { provider: accepter });
const peerCallerIdentity = pulumi.output(aws.getCallerIdentity({ provider: accepter, async: true }));
const peerVpcPeeringConnection = new aws.ec2.VpcPeeringConnection("peer", {
    autoAccept: false,
    peerOwnerId: peerCallerIdentity.accountId,
    peerVpcId: peerVpc.id,
    tags: {
        Side: "Requester",
    },
    vpcId: main.id,
}, { provider: requester });
const peerVpcPeeringConnectionAccepter = new aws.ec2.VpcPeeringConnectionAccepter("peer", {
    autoAccept: true,
    tags: {
        Side: "Accepter",
    },
    vpcPeeringConnectionId: peerVpcPeeringConnection.id,
}, { provider: accepter });
const requesterPeeringConnectionOptions = new aws.ec2.PeeringConnectionOptions("requester", {
    requester: {
        allowRemoteVpcDnsResolution: true,
    },
    // As options can't be set until the connection has been accepted
    // create an explicit dependency on the accepter.
    vpcPeeringConnectionId: peerVpcPeeringConnectionAccepter.id,
}, { provider: requester });
const accepterPeeringConnectionOptions = new aws.ec2.PeeringConnectionOptions("accepter", {
    accepter: {
        allowRemoteVpcDnsResolution: true,
    },
    vpcPeeringConnectionId: peerVpcPeeringConnectionAccepter.id,
}, { provider: accepter });
import pulumi
import pulumi_aws as aws
import pulumi_pulumi as pulumi

requester = pulumi.providers.Aws("requester")
accepter = pulumi.providers.Aws("accepter")
main = aws.ec2.Vpc("main",
    cidr_block="10.0.0.0/16",
    enable_dns_hostnames=True,
    enable_dns_support=True,
    opts=ResourceOptions(provider="aws.requester"))
peer_vpc = aws.ec2.Vpc("peerVpc",
    cidr_block="10.1.0.0/16",
    enable_dns_hostnames=True,
    enable_dns_support=True,
    opts=ResourceOptions(provider="aws.accepter"))
peer_caller_identity = aws.get_caller_identity()
peer_vpc_peering_connection = aws.ec2.VpcPeeringConnection("peerVpcPeeringConnection",
    auto_accept=False,
    peer_owner_id=peer_caller_identity.account_id,
    peer_vpc_id=peer_vpc.id,
    tags={
        "Side": "Requester",
    },
    vpc_id=main.id,
    opts=ResourceOptions(provider="aws.requester"))
peer_vpc_peering_connection_accepter = aws.ec2.VpcPeeringConnectionAccepter("peerVpcPeeringConnectionAccepter",
    auto_accept=True,
    tags={
        "Side": "Accepter",
    },
    vpc_peering_connection_id=peer_vpc_peering_connection.id,
    opts=ResourceOptions(provider="aws.accepter"))
requester_peering_connection_options = aws.ec2.PeeringConnectionOptions("requesterPeeringConnectionOptions",
    requester={
        "allowRemoteVpcDnsResolution": True,
    },
    vpc_peering_connection_id=peer_vpc_peering_connection_accepter.id,
    opts=ResourceOptions(provider="aws.requester"))
accepter_peering_connection_options = aws.ec2.PeeringConnectionOptions("accepterPeeringConnectionOptions",
    accepter={
        "allowRemoteVpcDnsResolution": True,
    },
    vpc_peering_connection_id=peer_vpc_peering_connection_accepter.id,
    opts=ResourceOptions(provider="aws.accepter"))
using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var requester = new Aws.Provider("requester", new Aws.ProviderArgs
        {
        });
        var accepter = new Aws.Provider("accepter", new Aws.ProviderArgs
        {
        });
        var main = new Aws.Ec2.Vpc("main", new Aws.Ec2.VpcArgs
        {
            CidrBlock = "10.0.0.0/16",
            EnableDnsHostnames = true,
            EnableDnsSupport = true,
        }, new CustomResourceOptions
        {
            Provider = "aws.requester",
        });
        var peerVpc = new Aws.Ec2.Vpc("peerVpc", new Aws.Ec2.VpcArgs
        {
            CidrBlock = "10.1.0.0/16",
            EnableDnsHostnames = true,
            EnableDnsSupport = true,
        }, new CustomResourceOptions
        {
            Provider = "aws.accepter",
        });
        var peerCallerIdentity = Output.Create(Aws.GetCallerIdentity.InvokeAsync());
        var peerVpcPeeringConnection = new Aws.Ec2.VpcPeeringConnection("peerVpcPeeringConnection", new Aws.Ec2.VpcPeeringConnectionArgs
        {
            AutoAccept = false,
            PeerOwnerId = peerCallerIdentity.Apply(peerCallerIdentity => peerCallerIdentity.AccountId),
            PeerVpcId = peerVpc.Id,
            Tags = 
            {
                { "Side", "Requester" },
            },
            VpcId = main.Id,
        }, new CustomResourceOptions
        {
            Provider = "aws.requester",
        });
        var peerVpcPeeringConnectionAccepter = new Aws.Ec2.VpcPeeringConnectionAccepter("peerVpcPeeringConnectionAccepter", new Aws.Ec2.VpcPeeringConnectionAccepterArgs
        {
            AutoAccept = true,
            Tags = 
            {
                { "Side", "Accepter" },
            },
            VpcPeeringConnectionId = peerVpcPeeringConnection.Id,
        }, new CustomResourceOptions
        {
            Provider = "aws.accepter",
        });
        var requesterPeeringConnectionOptions = new Aws.Ec2.PeeringConnectionOptions("requesterPeeringConnectionOptions", new Aws.Ec2.PeeringConnectionOptionsArgs
        {
            Requester = new Aws.Ec2.Inputs.PeeringConnectionOptionsRequesterArgs
            {
                AllowRemoteVpcDnsResolution = true,
            },
            VpcPeeringConnectionId = peerVpcPeeringConnectionAccepter.Id,
        }, new CustomResourceOptions
        {
            Provider = "aws.requester",
        });
        var accepterPeeringConnectionOptions = new Aws.Ec2.PeeringConnectionOptions("accepterPeeringConnectionOptions", new Aws.Ec2.PeeringConnectionOptionsArgs
        {
            Accepter = new Aws.Ec2.Inputs.PeeringConnectionOptionsAccepterArgs
            {
                AllowRemoteVpcDnsResolution = true,
            },
            VpcPeeringConnectionId = peerVpcPeeringConnectionAccepter.Id,
        }, new CustomResourceOptions
        {
            Provider = "aws.accepter",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v2/go/aws"
	"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2"
	"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/providers"
	"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := providers.Newaws(ctx, "requester", nil)
		if err != nil {
			return err
		}
		_, err = providers.Newaws(ctx, "accepter", nil)
		if err != nil {
			return err
		}
		main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{
			CidrBlock:          pulumi.String("10.0.0.0/16"),
			EnableDnsHostnames: pulumi.Bool(true),
			EnableDnsSupport:   pulumi.Bool(true),
		}, pulumi.Provider("aws.requester"))
		if err != nil {
			return err
		}
		peerVpc, err := ec2.NewVpc(ctx, "peerVpc", &ec2.VpcArgs{
			CidrBlock:          pulumi.String("10.1.0.0/16"),
			EnableDnsHostnames: pulumi.Bool(true),
			EnableDnsSupport:   pulumi.Bool(true),
		}, pulumi.Provider("aws.accepter"))
		if err != nil {
			return err
		}
		peerCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		peerVpcPeeringConnection, err := ec2.NewVpcPeeringConnection(ctx, "peerVpcPeeringConnection", &ec2.VpcPeeringConnectionArgs{
			AutoAccept:  pulumi.Bool(false),
			PeerOwnerId: pulumi.String(peerCallerIdentity.AccountId),
			PeerVpcId:   peerVpc.ID(),
			Tags: pulumi.StringMap{
				"Side": pulumi.String("Requester"),
			},
			VpcId: main.ID(),
		}, pulumi.Provider("aws.requester"))
		if err != nil {
			return err
		}
		peerVpcPeeringConnectionAccepter, err := ec2.NewVpcPeeringConnectionAccepter(ctx, "peerVpcPeeringConnectionAccepter", &ec2.VpcPeeringConnectionAccepterArgs{
			AutoAccept: pulumi.Bool(true),
			Tags: pulumi.StringMap{
				"Side": pulumi.String("Accepter"),
			},
			VpcPeeringConnectionId: peerVpcPeeringConnection.ID(),
		}, pulumi.Provider("aws.accepter"))
		if err != nil {
			return err
		}
		_, err = ec2.NewPeeringConnectionOptions(ctx, "requesterPeeringConnectionOptions", &ec2.PeeringConnectionOptionsArgs{
			Requester: &ec2.PeeringConnectionOptionsRequesterArgs{
				AllowRemoteVpcDnsResolution: pulumi.Bool(true),
			},
			VpcPeeringConnectionId: peerVpcPeeringConnectionAccepter.ID(),
		}, pulumi.Provider("aws.requester"))
		if err != nil {
			return err
		}
		_, err = ec2.NewPeeringConnectionOptions(ctx, "accepterPeeringConnectionOptions", &ec2.PeeringConnectionOptionsArgs{
			Accepter: &ec2.PeeringConnectionOptionsAccepterArgs{
				AllowRemoteVpcDnsResolution: pulumi.Bool(true),
			},
			VpcPeeringConnectionId: peerVpcPeeringConnectionAccepter.ID(),
		}, pulumi.Provider("aws.accepter"))
		if err != nil {
			return err
		}
		return nil
	})
}

Create a PeeringConnectionOptions Resource

def PeeringConnectionOptions(resource_name, opts=None, accepter=None, requester=None, vpc_peering_connection_id=None, __props__=None);
name string
The unique name of the resource.
args PeeringConnectionOptionsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PeeringConnectionOptionsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PeeringConnectionOptionsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

PeeringConnectionOptions Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The PeeringConnectionOptions resource accepts the following input properties:

VpcPeeringConnectionId string

The ID of the requester VPC peering connection.

Accepter PeeringConnectionOptionsAccepterArgs

An optional configuration block that allows for VPC Peering Connection options to be set for the VPC that accepts the peering connection (a maximum of one).

Requester PeeringConnectionOptionsRequesterArgs

A optional configuration block that allows for VPC Peering Connection options to be set for the VPC that requests the peering connection (a maximum of one).

VpcPeeringConnectionId string

The ID of the requester VPC peering connection.

Accepter PeeringConnectionOptionsAccepter

An optional configuration block that allows for VPC Peering Connection options to be set for the VPC that accepts the peering connection (a maximum of one).

Requester PeeringConnectionOptionsRequester

A optional configuration block that allows for VPC Peering Connection options to be set for the VPC that requests the peering connection (a maximum of one).

vpcPeeringConnectionId string

The ID of the requester VPC peering connection.

accepter PeeringConnectionOptionsAccepter

An optional configuration block that allows for VPC Peering Connection options to be set for the VPC that accepts the peering connection (a maximum of one).

requester PeeringConnectionOptionsRequester

A optional configuration block that allows for VPC Peering Connection options to be set for the VPC that requests the peering connection (a maximum of one).

vpc_peering_connection_id str

The ID of the requester VPC peering connection.

accepter Dict[PeeringConnectionOptionsAccepter]

An optional configuration block that allows for VPC Peering Connection options to be set for the VPC that accepts the peering connection (a maximum of one).

requester Dict[PeeringConnectionOptionsRequester]

A optional configuration block that allows for VPC Peering Connection options to be set for the VPC that requests the peering connection (a maximum of one).

Outputs

All input properties are implicitly available as output properties. Additionally, the PeeringConnectionOptions resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing PeeringConnectionOptions Resource

Get an existing PeeringConnectionOptions resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

static get(resource_name, id, opts=None, accepter=None, requester=None, vpc_peering_connection_id=None, __props__=None);
func GetPeeringConnectionOptions(ctx *Context, name string, id IDInput, state *PeeringConnectionOptionsState, opts ...ResourceOption) (*PeeringConnectionOptions, error)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Accepter PeeringConnectionOptionsAccepterArgs

An optional configuration block that allows for VPC Peering Connection options to be set for the VPC that accepts the peering connection (a maximum of one).

Requester PeeringConnectionOptionsRequesterArgs

A optional configuration block that allows for VPC Peering Connection options to be set for the VPC that requests the peering connection (a maximum of one).

VpcPeeringConnectionId string

The ID of the requester VPC peering connection.

Accepter PeeringConnectionOptionsAccepter

An optional configuration block that allows for VPC Peering Connection options to be set for the VPC that accepts the peering connection (a maximum of one).

Requester PeeringConnectionOptionsRequester

A optional configuration block that allows for VPC Peering Connection options to be set for the VPC that requests the peering connection (a maximum of one).

VpcPeeringConnectionId string

The ID of the requester VPC peering connection.

accepter PeeringConnectionOptionsAccepter

An optional configuration block that allows for VPC Peering Connection options to be set for the VPC that accepts the peering connection (a maximum of one).

requester PeeringConnectionOptionsRequester

A optional configuration block that allows for VPC Peering Connection options to be set for the VPC that requests the peering connection (a maximum of one).

vpcPeeringConnectionId string

The ID of the requester VPC peering connection.

accepter Dict[PeeringConnectionOptionsAccepter]

An optional configuration block that allows for VPC Peering Connection options to be set for the VPC that accepts the peering connection (a maximum of one).

requester Dict[PeeringConnectionOptionsRequester]

A optional configuration block that allows for VPC Peering Connection options to be set for the VPC that requests the peering connection (a maximum of one).

vpc_peering_connection_id str

The ID of the requester VPC peering connection.

Supporting Types

PeeringConnectionOptionsAccepter

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AllowClassicLinkToRemoteVpc bool

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

AllowRemoteVpcDnsResolution bool

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

AllowVpcToRemoteClassicLink bool

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

AllowClassicLinkToRemoteVpc bool

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

AllowRemoteVpcDnsResolution bool

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

AllowVpcToRemoteClassicLink bool

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

allowClassicLinkToRemoteVpc boolean

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

allowRemoteVpcDnsResolution boolean

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

allowVpcToRemoteClassicLink boolean

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

allowClassicLinkToRemoteVpc bool

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

allowRemoteVpcDnsResolution bool

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

allowVpcToRemoteClassicLink bool

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

PeeringConnectionOptionsRequester

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AllowClassicLinkToRemoteVpc bool

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

AllowRemoteVpcDnsResolution bool

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

AllowVpcToRemoteClassicLink bool

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

AllowClassicLinkToRemoteVpc bool

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

AllowRemoteVpcDnsResolution bool

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

AllowVpcToRemoteClassicLink bool

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

allowClassicLinkToRemoteVpc boolean

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

allowRemoteVpcDnsResolution boolean

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

allowVpcToRemoteClassicLink boolean

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

allowClassicLinkToRemoteVpc bool

Allow a local linked EC2-Classic instance to communicate with instances in a peer VPC. This enables an outbound communication from the local ClassicLink connection to the remote VPC. This option is not supported for inter-region VPC peering.

allowRemoteVpcDnsResolution bool

Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

allowVpcToRemoteClassicLink bool

Allow a local VPC to communicate with a linked EC2-Classic instance in a peer VPC. This enables an outbound communication from the local VPC to the remote ClassicLink connection. This option is not supported for inter-region VPC peering.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.