We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
Resource Type definition for AWS::DirectConnect::TransitVirtualInterface
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,
bgp_peers: Optional[Sequence[TransitVirtualInterfaceBgpPeerArgs]] = None,
connection_id: Optional[str] = None,
direct_connect_gateway_id: Optional[str] = None,
vlan: Optional[int] = None,
allocate_transit_virtual_interface_role_arn: Optional[str] = None,
enable_site_link: Optional[bool] = None,
mtu: Optional[int] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
virtual_interface_name: Optional[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-native: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.
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:
- Bgp
Peers List<Pulumi.Aws Native. Direct Connect. Inputs. Transit Virtual Interface Bgp Peer> - The BGP peers configured on this virtual interface..
- Connection
Id string - The ID or ARN of the connection or LAG.
- Direct
Connect stringGateway Id - The ID or ARN of the Direct Connect gateway.
- Vlan int
- The ID of the VLAN.
- Allocate
Transit stringVirtual Interface Role Arn - The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation. Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.
- Enable
Site boolLink - Indicates whether to enable or disable SiteLink.
- Mtu int
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags associated with the private virtual interface.
- Virtual
Interface stringName - The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
- Bgp
Peers []TransitVirtual Interface Bgp Peer Args - The BGP peers configured on this virtual interface..
- Connection
Id string - The ID or ARN of the connection or LAG.
- Direct
Connect stringGateway Id - The ID or ARN of the Direct Connect gateway.
- Vlan int
- The ID of the VLAN.
- Allocate
Transit stringVirtual Interface Role Arn - The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation. Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.
- Enable
Site boolLink - Indicates whether to enable or disable SiteLink.
- Mtu int
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
-
Tag
Args - The tags associated with the private virtual interface.
- Virtual
Interface stringName - The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
- bgp
Peers List<TransitVirtual Interface Bgp Peer> - The BGP peers configured on this virtual interface..
- connection
Id String - The ID or ARN of the connection or LAG.
- direct
Connect StringGateway Id - The ID or ARN of the Direct Connect gateway.
- vlan Integer
- The ID of the VLAN.
- allocate
Transit StringVirtual Interface Role Arn - The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation. Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.
- enable
Site BooleanLink - Indicates whether to enable or disable SiteLink.
- mtu Integer
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
- List<Tag>
- The tags associated with the private virtual interface.
- virtual
Interface StringName - The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
- bgp
Peers TransitVirtual Interface Bgp Peer[] - The BGP peers configured on this virtual interface..
- connection
Id string - The ID or ARN of the connection or LAG.
- direct
Connect stringGateway Id - The ID or ARN of the Direct Connect gateway.
- vlan number
- The ID of the VLAN.
- allocate
Transit stringVirtual Interface Role Arn - The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation. Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.
- enable
Site booleanLink - Indicates whether to enable or disable SiteLink.
- mtu number
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
- Tag[]
- The tags associated with the private virtual interface.
- virtual
Interface stringName - The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
- bgp_
peers Sequence[TransitVirtual Interface Bgp Peer Args] - The BGP peers configured on this virtual interface..
- connection_
id str - The ID or ARN of the connection or LAG.
- direct_
connect_ strgateway_ id - The ID or ARN of the Direct Connect gateway.
- vlan int
- The ID of the VLAN.
- allocate_
transit_ strvirtual_ interface_ role_ arn - The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation. Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.
- enable_
site_ boollink - Indicates whether to enable or disable SiteLink.
- mtu int
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
-
Sequence[Tag
Args] - The tags associated with the private virtual interface.
- virtual_
interface_ strname - The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
- bgp
Peers List<Property Map> - The BGP peers configured on this virtual interface..
- connection
Id String - The ID or ARN of the connection or LAG.
- direct
Connect StringGateway Id - The ID or ARN of the Direct Connect gateway.
- vlan Number
- The ID of the VLAN.
- allocate
Transit StringVirtual Interface Role Arn - The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation. Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.
- enable
Site BooleanLink - Indicates whether to enable or disable SiteLink.
- mtu Number
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
- List<Property Map>
- The tags associated with the private virtual interface.
- virtual
Interface StringName - The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitVirtualInterface resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Virtual
Interface stringArn - The ARN of the virtual interface.
- Virtual
Interface stringId - The ID of the virtual interface.
- Id string
- The provider-assigned unique ID for this managed resource.
- Virtual
Interface stringArn - The ARN of the virtual interface.
- Virtual
Interface stringId - The ID of the virtual interface.
- id String
- The provider-assigned unique ID for this managed resource.
- virtual
Interface StringArn - The ARN of the virtual interface.
- virtual
Interface StringId - The ID of the virtual interface.
- id string
- The provider-assigned unique ID for this managed resource.
- virtual
Interface stringArn - The ARN of the virtual interface.
- virtual
Interface stringId - The ID of the virtual interface.
- id str
- The provider-assigned unique ID for this managed resource.
- virtual_
interface_ strarn - The ARN of the virtual interface.
- virtual_
interface_ strid - The ID of the virtual interface.
- id String
- The provider-assigned unique ID for this managed resource.
- virtual
Interface StringArn - The ARN of the virtual interface.
- virtual
Interface StringId - The ID of the virtual interface.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.TransitVirtualInterfaceBgpPeer, TransitVirtualInterfaceBgpPeerArgs
A key-value pair to associate with a resource.- Address
Family string - The address family for the BGP peer.
- Asn string
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- Amazon
Address string - The IP address assigned to the Amazon interface.
- Auth
Key string - The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximum length of 80 characters.
- Bgp
Peer stringId - Customer
Address string - The IP address assigned to the customer interface.
- Address
Family string - The address family for the BGP peer.
- Asn string
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- Amazon
Address string - The IP address assigned to the Amazon interface.
- Auth
Key string - The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximum length of 80 characters.
- Bgp
Peer stringId - Customer
Address string - The IP address assigned to the customer interface.
- address
Family String - The address family for the BGP peer.
- asn String
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- amazon
Address String - The IP address assigned to the Amazon interface.
- auth
Key String - The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximum length of 80 characters.
- bgp
Peer StringId - customer
Address String - The IP address assigned to the customer interface.
- address
Family string - The address family for the BGP peer.
- asn string
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- amazon
Address string - The IP address assigned to the Amazon interface.
- auth
Key string - The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximum length of 80 characters.
- bgp
Peer stringId - customer
Address string - The IP address assigned to the customer interface.
- address_
family str - The address family for the BGP peer.
- asn str
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- amazon_
address str - The IP address assigned to the Amazon interface.
- auth_
key str - The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximum length of 80 characters.
- bgp_
peer_ strid - customer_
address str - The IP address assigned to the customer interface.
- address
Family String - The address family for the BGP peer.
- asn String
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- amazon
Address String - The IP address assigned to the Amazon interface.
- auth
Key String - The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximum length of 80 characters.
- bgp
Peer StringId - customer
Address String - The IP address assigned to the customer interface.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
