Show / Hide Table of Contents

Class VpcPeeringConnection

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
public MyStack()
{
    var mypeeringconnection = new Aiven.VpcPeeringConnection("mypeeringconnection", new Aiven.VpcPeeringConnectionArgs
    {
        PeerCloudAccount = "<PEER_ACCOUNT_ID>",
        PeerRegion = "<PEER_REGION>",
        PeerVpc = "<PEER_VPC_ID/NAME>",
        VpcId = aiven_project_vpc.Myvpc.Id,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
VpcPeeringConnection
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aiven
Assembly: Pulumi.Aiven.dll
Syntax
public class VpcPeeringConnection : CustomResource

Constructors

View Source

VpcPeeringConnection(String, VpcPeeringConnectionArgs, CustomResourceOptions)

Create a VpcPeeringConnection resource with the given unique name, arguments, and options.

Declaration
public VpcPeeringConnection(string name, VpcPeeringConnectionArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

VpcPeeringConnectionArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

PeerCloudAccount

AWS account ID or GCP project ID of the peered VPC

Declaration
public Output<string> PeerCloudAccount { get; }
Property Value
Type Description
Output<System.String>
View Source

PeeringConnectionId

Cloud provider identifier for the peering connection if available

Declaration
public Output<string> PeeringConnectionId { get; }
Property Value
Type Description
Output<System.String>
View Source

PeerRegion

AWS region of the peered VPC (if not in the same region as Aiven VPC)

Declaration
public Output<string> PeerRegion { get; }
Property Value
Type Description
Output<System.String>
View Source

PeerVpc

AWS VPC ID or GCP VPC network name of the peered VPC

Declaration
public Output<string> PeerVpc { get; }
Property Value
Type Description
Output<System.String>
View Source

State

State of the peering connection

Declaration
public Output<string> State { get; }
Property Value
Type Description
Output<System.String>
View Source

StateInfo

State-specific help or error information

Declaration
public Output<ImmutableDictionary<string, object>> StateInfo { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

VpcId

The VPC the peering connection belongs to

Declaration
public Output<string> VpcId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, VpcPeeringConnectionState, CustomResourceOptions)

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

Declaration
public static VpcPeeringConnection Get(string name, Input<string> id, VpcPeeringConnectionState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

VpcPeeringConnectionState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
VpcPeeringConnection
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.