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::PrivateVirtualInterface
Create PrivateVirtualInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateVirtualInterface(name: string, args: PrivateVirtualInterfaceArgs, opts?: CustomResourceOptions);@overload
def PrivateVirtualInterface(resource_name: str,
args: PrivateVirtualInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateVirtualInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
bgp_peers: Optional[Sequence[PrivateVirtualInterfaceBgpPeerArgs]] = None,
connection_id: Optional[str] = None,
vlan: Optional[int] = None,
allocate_private_virtual_interface_role_arn: Optional[str] = None,
direct_connect_gateway_id: Optional[str] = None,
enable_site_link: Optional[bool] = None,
mtu: Optional[int] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
virtual_gateway_id: Optional[str] = None,
virtual_interface_name: Optional[str] = None)func NewPrivateVirtualInterface(ctx *Context, name string, args PrivateVirtualInterfaceArgs, opts ...ResourceOption) (*PrivateVirtualInterface, error)public PrivateVirtualInterface(string name, PrivateVirtualInterfaceArgs args, CustomResourceOptions? opts = null)
public PrivateVirtualInterface(String name, PrivateVirtualInterfaceArgs args)
public PrivateVirtualInterface(String name, PrivateVirtualInterfaceArgs args, CustomResourceOptions options)
type: aws-native:directconnect:PrivateVirtualInterface
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 PrivateVirtualInterfaceArgs
- 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 PrivateVirtualInterfaceArgs
- 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 PrivateVirtualInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateVirtualInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateVirtualInterfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PrivateVirtualInterface 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 PrivateVirtualInterface resource accepts the following input properties:
- Bgp
Peers List<Pulumi.Aws Native. Direct Connect. Inputs. Private Virtual Interface Bgp Peer> - The BGP peers configured on this virtual interface.
- Connection
Id string - The ID or ARN of the connection or LAG.
- Vlan int
- The ID of the VLAN.
- Allocate
Private stringVirtual Interface Role Arn - The Amazon Resource Name (ARN) of the role to allocate the private virtual interface. Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
- Direct
Connect stringGateway Id - The ID or ARN of the Direct Connect gateway.
- 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
Gateway stringId - The ID or ARN of the virtual private gateway.
- 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 []PrivateVirtual Interface Bgp Peer Args - The BGP peers configured on this virtual interface.
- Connection
Id string - The ID or ARN of the connection or LAG.
- Vlan int
- The ID of the VLAN.
- Allocate
Private stringVirtual Interface Role Arn - The Amazon Resource Name (ARN) of the role to allocate the private virtual interface. Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
- Direct
Connect stringGateway Id - The ID or ARN of the Direct Connect gateway.
- 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
Gateway stringId - The ID or ARN of the virtual private gateway.
- 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<PrivateVirtual Interface Bgp Peer> - The BGP peers configured on this virtual interface.
- connection
Id String - The ID or ARN of the connection or LAG.
- vlan Integer
- The ID of the VLAN.
- allocate
Private StringVirtual Interface Role Arn - The Amazon Resource Name (ARN) of the role to allocate the private virtual interface. Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
- direct
Connect StringGateway Id - The ID or ARN of the Direct Connect gateway.
- 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
Gateway StringId - The ID or ARN of the virtual private gateway.
- 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 PrivateVirtual Interface Bgp Peer[] - The BGP peers configured on this virtual interface.
- connection
Id string - The ID or ARN of the connection or LAG.
- vlan number
- The ID of the VLAN.
- allocate
Private stringVirtual Interface Role Arn - The Amazon Resource Name (ARN) of the role to allocate the private virtual interface. Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
- direct
Connect stringGateway Id - The ID or ARN of the Direct Connect gateway.
- 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
Gateway stringId - The ID or ARN of the virtual private gateway.
- 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[PrivateVirtual Interface Bgp Peer Args] - The BGP peers configured on this virtual interface.
- connection_
id str - The ID or ARN of the connection or LAG.
- vlan int
- The ID of the VLAN.
- allocate_
private_ strvirtual_ interface_ role_ arn - The Amazon Resource Name (ARN) of the role to allocate the private virtual interface. Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
- direct_
connect_ strgateway_ id - The ID or ARN of the Direct Connect gateway.
- 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_
gateway_ strid - The ID or ARN of the virtual private gateway.
- 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.
- vlan Number
- The ID of the VLAN.
- allocate
Private StringVirtual Interface Role Arn - The Amazon Resource Name (ARN) of the role to allocate the private virtual interface. Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
- direct
Connect StringGateway Id - The ID or ARN of the Direct Connect gateway.
- 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
Gateway StringId - The ID or ARN of the virtual private gateway.
- 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 PrivateVirtualInterface resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Virtual
Interface stringArn - The ID 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 ID 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 ID 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 ID 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 ID 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 ID of the virtual interface.
- virtual
Interface StringId - The ID of the virtual interface.
Supporting Types
PrivateVirtualInterfaceBgpPeer, PrivateVirtualInterfaceBgpPeerArgs
Information about a BGP peer.- 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.
Tag, TagArgs
A set of tags to apply to the resource.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
