Class TransitVirtualInterface
Provides a Direct Connect transit virtual interface resource. A transit virtual interface is a VLAN that transports traffic from a Direct Connect gateway to one or more transit gateways.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var exampleGateway = new Aws.DirectConnect.Gateway("exampleGateway", new Aws.DirectConnect.GatewayArgs
{
AmazonSideAsn = 64512,
});
var exampleTransitVirtualInterface = new Aws.DirectConnect.TransitVirtualInterface("exampleTransitVirtualInterface", new Aws.DirectConnect.TransitVirtualInterfaceArgs
{
AddressFamily = "ipv4",
BgpAsn = 65352,
ConnectionId = aws_dx_connection.Example.Id,
DxGatewayId = exampleGateway.Id,
Vlan = 4094,
});
}
}
Inherited Members
Namespace: Pulumi.Aws.DirectConnect
Assembly: Pulumi.Aws.dll
Syntax
public class TransitVirtualInterface : CustomResource
Constructors
View SourceTransitVirtualInterface(String, TransitVirtualInterfaceArgs, CustomResourceOptions)
Create a TransitVirtualInterface resource with the given unique name, arguments, and options.
Declaration
public TransitVirtualInterface(string name, TransitVirtualInterfaceArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| TransitVirtualInterfaceArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAddressFamily
The address family for the BGP peer. ipv4 or ipv6.
Declaration
public Output<string> AddressFamily { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
AmazonSideAsn
Declaration
public Output<string> AmazonSideAsn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Arn
The ARN of the virtual interface.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AwsDevice
The Direct Connect endpoint on which the virtual interface terminates.
Declaration
public Output<string> AwsDevice { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
BgpAuthKey
The authentication key for BGP configuration.
Declaration
public Output<string> BgpAuthKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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> |
DxGatewayId
The ID of the Direct Connect gateway to which to connect the virtual interface.
Declaration
public Output<string> DxGatewayId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
JumboFrameCapable
Indicates whether jumbo frames (8500 MTU) are supported.
Declaration
public Output<bool> JumboFrameCapable { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
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 transit interface can be either 1500 or 8500 (jumbo frames). Default is 1500.
Declaration
public Output<int?> Mtu { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Name
The name for the virtual interface.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A map of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Vlan
The VLAN ID.
Declaration
public Output<int> Vlan { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(String, Input<String>, TransitVirtualInterfaceState, CustomResourceOptions)
Get an existing TransitVirtualInterface resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static TransitVirtualInterface Get(string name, Input<string> id, TransitVirtualInterfaceState 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. |
| TransitVirtualInterfaceState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| TransitVirtualInterface |