aws.directconnect.TransitVirtualInterface
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.directconnect.Gateway("example", {
name: "tf-dxg-example",
amazonSideAsn: "64512",
});
const exampleTransitVirtualInterface = new aws.directconnect.TransitVirtualInterface("example", {
connectionId: exampleAwsDxConnection.id,
dxGatewayId: example.id,
name: "tf-transit-vif-example",
vlan: 4094,
addressFamily: "ipv4",
bgpAsn: 65352,
});
import pulumi
import pulumi_aws as aws
example = aws.directconnect.Gateway("example",
name="tf-dxg-example",
amazon_side_asn="64512")
example_transit_virtual_interface = aws.directconnect.TransitVirtualInterface("example",
connection_id=example_aws_dx_connection["id"],
dx_gateway_id=example.id,
name="tf-transit-vif-example",
vlan=4094,
address_family="ipv4",
bgp_asn=65352)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/directconnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := directconnect.NewGateway(ctx, "example", &directconnect.GatewayArgs{
Name: pulumi.String("tf-dxg-example"),
AmazonSideAsn: pulumi.String("64512"),
})
if err != nil {
return err
}
_, err = directconnect.NewTransitVirtualInterface(ctx, "example", &directconnect.TransitVirtualInterfaceArgs{
ConnectionId: pulumi.Any(exampleAwsDxConnection.Id),
DxGatewayId: example.ID(),
Name: pulumi.String("tf-transit-vif-example"),
Vlan: pulumi.Int(4094),
AddressFamily: pulumi.String("ipv4"),
BgpAsn: pulumi.Int(65352),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.DirectConnect.Gateway("example", new()
{
Name = "tf-dxg-example",
AmazonSideAsn = "64512",
});
var exampleTransitVirtualInterface = new Aws.DirectConnect.TransitVirtualInterface("example", new()
{
ConnectionId = exampleAwsDxConnection.Id,
DxGatewayId = example.Id,
Name = "tf-transit-vif-example",
Vlan = 4094,
AddressFamily = "ipv4",
BgpAsn = 65352,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.directconnect.Gateway;
import com.pulumi.aws.directconnect.GatewayArgs;
import com.pulumi.aws.directconnect.TransitVirtualInterface;
import com.pulumi.aws.directconnect.TransitVirtualInterfaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Gateway("example", GatewayArgs.builder()
.name("tf-dxg-example")
.amazonSideAsn(64512)
.build());
var exampleTransitVirtualInterface = new TransitVirtualInterface("exampleTransitVirtualInterface", TransitVirtualInterfaceArgs.builder()
.connectionId(exampleAwsDxConnection.id())
.dxGatewayId(example.id())
.name("tf-transit-vif-example")
.vlan(4094)
.addressFamily("ipv4")
.bgpAsn(65352)
.build());
}
}
resources:
example:
type: aws:directconnect:Gateway
properties:
name: tf-dxg-example
amazonSideAsn: 64512
exampleTransitVirtualInterface:
type: aws:directconnect:TransitVirtualInterface
name: example
properties:
connectionId: ${exampleAwsDxConnection.id}
dxGatewayId: ${example.id}
name: tf-transit-vif-example
vlan: 4094
addressFamily: ipv4
bgpAsn: 65352
Create TransitVirtualInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitVirtualInterface(name: string, args: TransitVirtualInterfaceArgs, opts?: CustomResourceOptions);
@overload
def TransitVirtualInterface(resource_name: str,
args: TransitVirtualInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitVirtualInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
address_family: Optional[str] = None,
bgp_asn: Optional[int] = None,
connection_id: Optional[str] = None,
dx_gateway_id: Optional[str] = None,
vlan: Optional[int] = None,
amazon_address: Optional[str] = None,
bgp_auth_key: Optional[str] = None,
customer_address: Optional[str] = None,
mtu: Optional[int] = None,
name: Optional[str] = None,
sitelink_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None)
func NewTransitVirtualInterface(ctx *Context, name string, args TransitVirtualInterfaceArgs, opts ...ResourceOption) (*TransitVirtualInterface, error)
public TransitVirtualInterface(string name, TransitVirtualInterfaceArgs args, CustomResourceOptions? opts = null)
public TransitVirtualInterface(String name, TransitVirtualInterfaceArgs args)
public TransitVirtualInterface(String name, TransitVirtualInterfaceArgs args, CustomResourceOptions options)
type: aws:directconnect:TransitVirtualInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TransitVirtualInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TransitVirtualInterfaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TransitVirtualInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitVirtualInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitVirtualInterfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var transitVirtualInterfaceResource = new Aws.DirectConnect.TransitVirtualInterface("transitVirtualInterfaceResource", new()
{
AddressFamily = "string",
BgpAsn = 0,
ConnectionId = "string",
DxGatewayId = "string",
Vlan = 0,
AmazonAddress = "string",
BgpAuthKey = "string",
CustomerAddress = "string",
Mtu = 0,
Name = "string",
SitelinkEnabled = false,
Tags =
{
{ "string", "string" },
},
});
example, err := directconnect.NewTransitVirtualInterface(ctx, "transitVirtualInterfaceResource", &directconnect.TransitVirtualInterfaceArgs{
AddressFamily: pulumi.String("string"),
BgpAsn: pulumi.Int(0),
ConnectionId: pulumi.String("string"),
DxGatewayId: pulumi.String("string"),
Vlan: pulumi.Int(0),
AmazonAddress: pulumi.String("string"),
BgpAuthKey: pulumi.String("string"),
CustomerAddress: pulumi.String("string"),
Mtu: pulumi.Int(0),
Name: pulumi.String("string"),
SitelinkEnabled: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var transitVirtualInterfaceResource = new TransitVirtualInterface("transitVirtualInterfaceResource", TransitVirtualInterfaceArgs.builder()
.addressFamily("string")
.bgpAsn(0)
.connectionId("string")
.dxGatewayId("string")
.vlan(0)
.amazonAddress("string")
.bgpAuthKey("string")
.customerAddress("string")
.mtu(0)
.name("string")
.sitelinkEnabled(false)
.tags(Map.of("string", "string"))
.build());
transit_virtual_interface_resource = aws.directconnect.TransitVirtualInterface("transitVirtualInterfaceResource",
address_family="string",
bgp_asn=0,
connection_id="string",
dx_gateway_id="string",
vlan=0,
amazon_address="string",
bgp_auth_key="string",
customer_address="string",
mtu=0,
name="string",
sitelink_enabled=False,
tags={
"string": "string",
})
const transitVirtualInterfaceResource = new aws.directconnect.TransitVirtualInterface("transitVirtualInterfaceResource", {
addressFamily: "string",
bgpAsn: 0,
connectionId: "string",
dxGatewayId: "string",
vlan: 0,
amazonAddress: "string",
bgpAuthKey: "string",
customerAddress: "string",
mtu: 0,
name: "string",
sitelinkEnabled: false,
tags: {
string: "string",
},
});
type: aws:directconnect:TransitVirtualInterface
properties:
addressFamily: string
amazonAddress: string
bgpAsn: 0
bgpAuthKey: string
connectionId: string
customerAddress: string
dxGatewayId: string
mtu: 0
name: string
sitelinkEnabled: false
tags:
string: string
vlan: 0
TransitVirtualInterface Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TransitVirtualInterface resource accepts the following input properties:
- Address
Family string - The address family for the BGP peer.
ipv4
oripv6
. - Bgp
Asn int - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- Connection
Id string - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- Dx
Gateway stringId - The ID of the Direct Connect gateway to which to connect the virtual interface.
- Vlan int
- The VLAN ID.
- Amazon
Address string - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- Bgp
Auth stringKey - The authentication key for BGP configuration.
- Customer
Address string - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- Mtu int
- 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
or8500
(jumbo frames). Default is1500
. - Name string
- The name for the virtual interface.
- Sitelink
Enabled bool - Indicates whether to enable or disable SiteLink.
- Dictionary<string, string>
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Address
Family string - The address family for the BGP peer.
ipv4
oripv6
. - Bgp
Asn int - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- Connection
Id string - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- Dx
Gateway stringId - The ID of the Direct Connect gateway to which to connect the virtual interface.
- Vlan int
- The VLAN ID.
- Amazon
Address string - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- Bgp
Auth stringKey - The authentication key for BGP configuration.
- Customer
Address string - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- Mtu int
- 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
or8500
(jumbo frames). Default is1500
. - Name string
- The name for the virtual interface.
- Sitelink
Enabled bool - Indicates whether to enable or disable SiteLink.
- map[string]string
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- address
Family String - The address family for the BGP peer.
ipv4
oripv6
. - bgp
Asn Integer - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- connection
Id String - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- dx
Gateway StringId - The ID of the Direct Connect gateway to which to connect the virtual interface.
- vlan Integer
- The VLAN ID.
- amazon
Address String - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- bgp
Auth StringKey - The authentication key for BGP configuration.
- customer
Address String - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- mtu Integer
- 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
or8500
(jumbo frames). Default is1500
. - name String
- The name for the virtual interface.
- sitelink
Enabled Boolean - Indicates whether to enable or disable SiteLink.
- Map<String,String>
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- address
Family string - The address family for the BGP peer.
ipv4
oripv6
. - bgp
Asn number - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- connection
Id string - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- dx
Gateway stringId - The ID of the Direct Connect gateway to which to connect the virtual interface.
- vlan number
- The VLAN ID.
- amazon
Address string - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- bgp
Auth stringKey - The authentication key for BGP configuration.
- customer
Address string - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- mtu number
- 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
or8500
(jumbo frames). Default is1500
. - name string
- The name for the virtual interface.
- sitelink
Enabled boolean - Indicates whether to enable or disable SiteLink.
- {[key: string]: string}
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- address_
family str - The address family for the BGP peer.
ipv4
oripv6
. - bgp_
asn int - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- connection_
id str - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- dx_
gateway_ strid - The ID of the Direct Connect gateway to which to connect the virtual interface.
- vlan int
- The VLAN ID.
- amazon_
address str - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- bgp_
auth_ strkey - The authentication key for BGP configuration.
- customer_
address str - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- mtu int
- 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
or8500
(jumbo frames). Default is1500
. - name str
- The name for the virtual interface.
- sitelink_
enabled bool - Indicates whether to enable or disable SiteLink.
- Mapping[str, str]
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- address
Family String - The address family for the BGP peer.
ipv4
oripv6
. - bgp
Asn Number - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- connection
Id String - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- dx
Gateway StringId - The ID of the Direct Connect gateway to which to connect the virtual interface.
- vlan Number
- The VLAN ID.
- amazon
Address String - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- bgp
Auth StringKey - The authentication key for BGP configuration.
- customer
Address String - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- mtu Number
- 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
or8500
(jumbo frames). Default is1500
. - name String
- The name for the virtual interface.
- sitelink
Enabled Boolean - Indicates whether to enable or disable SiteLink.
- Map<String>
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitVirtualInterface resource produces the following output properties:
- Amazon
Side stringAsn - Arn string
- The ARN of the virtual interface.
- Aws
Device string - The Direct Connect endpoint on which the virtual interface terminates.
- Id string
- The provider-assigned unique ID for this managed resource.
- Jumbo
Frame boolCapable - Indicates whether jumbo frames (8500 MTU) are supported.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Amazon
Side stringAsn - Arn string
- The ARN of the virtual interface.
- Aws
Device string - The Direct Connect endpoint on which the virtual interface terminates.
- Id string
- The provider-assigned unique ID for this managed resource.
- Jumbo
Frame boolCapable - Indicates whether jumbo frames (8500 MTU) are supported.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- amazon
Side StringAsn - arn String
- The ARN of the virtual interface.
- aws
Device String - The Direct Connect endpoint on which the virtual interface terminates.
- id String
- The provider-assigned unique ID for this managed resource.
- jumbo
Frame BooleanCapable - Indicates whether jumbo frames (8500 MTU) are supported.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- amazon
Side stringAsn - arn string
- The ARN of the virtual interface.
- aws
Device string - The Direct Connect endpoint on which the virtual interface terminates.
- id string
- The provider-assigned unique ID for this managed resource.
- jumbo
Frame booleanCapable - Indicates whether jumbo frames (8500 MTU) are supported.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- amazon_
side_ strasn - arn str
- The ARN of the virtual interface.
- aws_
device str - The Direct Connect endpoint on which the virtual interface terminates.
- id str
- The provider-assigned unique ID for this managed resource.
- jumbo_
frame_ boolcapable - Indicates whether jumbo frames (8500 MTU) are supported.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- amazon
Side StringAsn - arn String
- The ARN of the virtual interface.
- aws
Device String - The Direct Connect endpoint on which the virtual interface terminates.
- id String
- The provider-assigned unique ID for this managed resource.
- jumbo
Frame BooleanCapable - Indicates whether jumbo frames (8500 MTU) are supported.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing TransitVirtualInterface Resource
Get an existing TransitVirtualInterface resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TransitVirtualInterfaceState, opts?: CustomResourceOptions): TransitVirtualInterface
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address_family: Optional[str] = None,
amazon_address: Optional[str] = None,
amazon_side_asn: Optional[str] = None,
arn: Optional[str] = None,
aws_device: Optional[str] = None,
bgp_asn: Optional[int] = None,
bgp_auth_key: Optional[str] = None,
connection_id: Optional[str] = None,
customer_address: Optional[str] = None,
dx_gateway_id: Optional[str] = None,
jumbo_frame_capable: Optional[bool] = None,
mtu: Optional[int] = None,
name: Optional[str] = None,
sitelink_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
vlan: Optional[int] = None) -> TransitVirtualInterface
func GetTransitVirtualInterface(ctx *Context, name string, id IDInput, state *TransitVirtualInterfaceState, opts ...ResourceOption) (*TransitVirtualInterface, error)
public static TransitVirtualInterface Get(string name, Input<string> id, TransitVirtualInterfaceState? state, CustomResourceOptions? opts = null)
public static TransitVirtualInterface get(String name, Output<String> id, TransitVirtualInterfaceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Address
Family string - The address family for the BGP peer.
ipv4
oripv6
. - Amazon
Address string - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- Amazon
Side stringAsn - Arn string
- The ARN of the virtual interface.
- Aws
Device string - The Direct Connect endpoint on which the virtual interface terminates.
- Bgp
Asn int - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- Bgp
Auth stringKey - The authentication key for BGP configuration.
- Connection
Id string - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- Customer
Address string - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- Dx
Gateway stringId - The ID of the Direct Connect gateway to which to connect the virtual interface.
- Jumbo
Frame boolCapable - Indicates whether jumbo frames (8500 MTU) are supported.
- Mtu int
- 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
or8500
(jumbo frames). Default is1500
. - Name string
- The name for the virtual interface.
- Sitelink
Enabled bool - Indicates whether to enable or disable SiteLink.
- Dictionary<string, string>
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Vlan int
- The VLAN ID.
- Address
Family string - The address family for the BGP peer.
ipv4
oripv6
. - Amazon
Address string - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- Amazon
Side stringAsn - Arn string
- The ARN of the virtual interface.
- Aws
Device string - The Direct Connect endpoint on which the virtual interface terminates.
- Bgp
Asn int - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- Bgp
Auth stringKey - The authentication key for BGP configuration.
- Connection
Id string - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- Customer
Address string - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- Dx
Gateway stringId - The ID of the Direct Connect gateway to which to connect the virtual interface.
- Jumbo
Frame boolCapable - Indicates whether jumbo frames (8500 MTU) are supported.
- Mtu int
- 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
or8500
(jumbo frames). Default is1500
. - Name string
- The name for the virtual interface.
- Sitelink
Enabled bool - Indicates whether to enable or disable SiteLink.
- map[string]string
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Vlan int
- The VLAN ID.
- address
Family String - The address family for the BGP peer.
ipv4
oripv6
. - amazon
Address String - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- amazon
Side StringAsn - arn String
- The ARN of the virtual interface.
- aws
Device String - The Direct Connect endpoint on which the virtual interface terminates.
- bgp
Asn Integer - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- bgp
Auth StringKey - The authentication key for BGP configuration.
- connection
Id String - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- customer
Address String - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- dx
Gateway StringId - The ID of the Direct Connect gateway to which to connect the virtual interface.
- jumbo
Frame BooleanCapable - Indicates whether jumbo frames (8500 MTU) are supported.
- mtu Integer
- 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
or8500
(jumbo frames). Default is1500
. - name String
- The name for the virtual interface.
- sitelink
Enabled Boolean - Indicates whether to enable or disable SiteLink.
- Map<String,String>
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vlan Integer
- The VLAN ID.
- address
Family string - The address family for the BGP peer.
ipv4
oripv6
. - amazon
Address string - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- amazon
Side stringAsn - arn string
- The ARN of the virtual interface.
- aws
Device string - The Direct Connect endpoint on which the virtual interface terminates.
- bgp
Asn number - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- bgp
Auth stringKey - The authentication key for BGP configuration.
- connection
Id string - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- customer
Address string - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- dx
Gateway stringId - The ID of the Direct Connect gateway to which to connect the virtual interface.
- jumbo
Frame booleanCapable - Indicates whether jumbo frames (8500 MTU) are supported.
- mtu number
- 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
or8500
(jumbo frames). Default is1500
. - name string
- The name for the virtual interface.
- sitelink
Enabled boolean - Indicates whether to enable or disable SiteLink.
- {[key: string]: string}
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vlan number
- The VLAN ID.
- address_
family str - The address family for the BGP peer.
ipv4
oripv6
. - amazon_
address str - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- amazon_
side_ strasn - arn str
- The ARN of the virtual interface.
- aws_
device str - The Direct Connect endpoint on which the virtual interface terminates.
- bgp_
asn int - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- bgp_
auth_ strkey - The authentication key for BGP configuration.
- connection_
id str - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- customer_
address str - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- dx_
gateway_ strid - The ID of the Direct Connect gateway to which to connect the virtual interface.
- jumbo_
frame_ boolcapable - Indicates whether jumbo frames (8500 MTU) are supported.
- mtu int
- 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
or8500
(jumbo frames). Default is1500
. - name str
- The name for the virtual interface.
- sitelink_
enabled bool - Indicates whether to enable or disable SiteLink.
- Mapping[str, str]
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vlan int
- The VLAN ID.
- address
Family String - The address family for the BGP peer.
ipv4
oripv6
. - amazon
Address String - The IPv4 CIDR address to use to send traffic to Amazon. Required for IPv4 BGP peers.
- amazon
Side StringAsn - arn String
- The ARN of the virtual interface.
- aws
Device String - The Direct Connect endpoint on which the virtual interface terminates.
- bgp
Asn Number - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- bgp
Auth StringKey - The authentication key for BGP configuration.
- connection
Id String - The ID of the Direct Connect connection (or LAG) on which to create the virtual interface.
- customer
Address String - The IPv4 CIDR destination address to which Amazon should send traffic. Required for IPv4 BGP peers.
- dx
Gateway StringId - The ID of the Direct Connect gateway to which to connect the virtual interface.
- jumbo
Frame BooleanCapable - Indicates whether jumbo frames (8500 MTU) are supported.
- mtu Number
- 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
or8500
(jumbo frames). Default is1500
. - name String
- The name for the virtual interface.
- sitelink
Enabled Boolean - Indicates whether to enable or disable SiteLink.
- Map<String>
- A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - vlan Number
- The VLAN ID.
Import
Using pulumi import
, import Direct Connect transit virtual interfaces using the VIF id
. For example:
$ pulumi import aws:directconnect/transitVirtualInterface:TransitVirtualInterface test dxvif-33cc44dd
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.