Class VpcPeeringConnectionArgs
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class VpcPeeringConnectionArgs : ResourceArgs
Constructors
View SourceVpcPeeringConnectionArgs()
Declaration
public VpcPeeringConnectionArgs()
Properties
View SourceAccepter
An optional configuration block that allows for [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to be set for the VPC that accepts the peering connection (a maximum of one).
Declaration
public Input<VpcPeeringConnectionAccepterArgs> Accepter { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<VpcPeeringConnectionAccepterArgs> |
AutoAccept
Accept the peering (both VPCs need to be in the same AWS account).
Declaration
public Input<bool> AutoAccept { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
PeerOwnerId
The AWS account ID of the owner of the peer VPC. Defaults to the account ID the AWS provider is currently connected to.
Declaration
public Input<string> PeerOwnerId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PeerRegion
The region of the accepter VPC of the [VPC Peering Connection]. auto_accept must be false,
and use the aws.ec2.VpcPeeringConnectionAccepter to manage the accepter side.
Declaration
public Input<string> PeerRegion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PeerVpcId
The ID of the VPC with which you are creating the VPC Peering Connection.
Declaration
public Input<string> PeerVpcId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Requester
A optional configuration block that allows for [VPC Peering Connection] (https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html) options to be set for the VPC that requests the peering connection (a maximum of one).
Declaration
public Input<VpcPeeringConnectionRequesterArgs> Requester { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<VpcPeeringConnectionRequesterArgs> |
Tags
A map of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
VpcId
The ID of the requester VPC.
Declaration
public Input<string> VpcId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |