Show / Hide Table of Contents

Class HostedPrivateVirtualInterface

Provides a Direct Connect hosted private virtual interface resource. This resource represents the allocator's side of the hosted virtual interface. A hosted virtual interface is a virtual interface that is owned by another AWS account.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var foo = new Aws.DirectConnect.HostedPrivateVirtualInterface("foo", new Aws.DirectConnect.HostedPrivateVirtualInterfaceArgs
    {
        AddressFamily = "ipv4",
        BgpAsn = 65352,
        ConnectionId = "dxcon-zzzzzzzz",
        Vlan = 4094,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
HostedPrivateVirtualInterface
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.Aws.DirectConnect
Assembly: Pulumi.Aws.dll
Syntax
public class HostedPrivateVirtualInterface : CustomResource

Constructors

View Source

HostedPrivateVirtualInterface(String, HostedPrivateVirtualInterfaceArgs, CustomResourceOptions)

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

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

The unique name of the resource

HostedPrivateVirtualInterfaceArgs 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

AddressFamily

The address family for the BGP peer. ipv4 or ipv6.

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

AmazonAddress

The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.

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

AmazonSideAsn

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

Arn

The ARN of the virtual interface.

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

AwsDevice

The Direct Connect endpoint on which the virtual interface terminates.

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

BgpAsn

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Declaration
public Output<int> BgpAsn { get; }
Property Value
Type Description
Output<System.Int32>
View Source

BgpAuthKey

The authentication key for BGP configuration.

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

ConnectionId

The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.

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

CustomerAddress

The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.

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

JumboFrameCapable

Indicates whether jumbo frames (9001 MTU) are supported.

Declaration
public Output<bool> JumboFrameCapable { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

Mtu

The maximum transmission unit (MTU) is the size, in bytes, of the largest permissible packet that can be passed over the connection. The MTU of a virtual private interface can be either 1500 or 9001 (jumbo frames). Default is 1500.

Declaration
public Output<int?> Mtu { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Name

The name for the virtual interface.

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

OwnerAccountId

The AWS account that will own the new virtual interface.

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

Vlan

The VLAN ID.

Declaration
public Output<int> Vlan { get; }
Property Value
Type Description
Output<System.Int32>

Methods

View Source

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

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

Declaration
public static HostedPrivateVirtualInterface Get(string name, Input<string> id, HostedPrivateVirtualInterfaceState 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.

HostedPrivateVirtualInterfaceState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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