Class CfnPrivateVirtualInterfaceProps
Properties for defining a CfnPrivateVirtualInterface.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.DirectConnect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPrivateVirtualInterfaceProps : ICfnPrivateVirtualInterfaceProps
Syntax (vb)
Public Class CfnPrivateVirtualInterfaceProps Implements ICfnPrivateVirtualInterfaceProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DirectConnect;
var cfnPrivateVirtualInterfaceProps = new CfnPrivateVirtualInterfaceProps {
BgpPeers = new [] { new BgpPeerProperty {
AddressFamily = "addressFamily",
Asn = "asn",
// the properties below are optional
AmazonAddress = "amazonAddress",
AuthKey = "authKey",
BgpPeerId = "bgpPeerId",
CustomerAddress = "customerAddress"
} },
ConnectionId = "connectionId",
VirtualInterfaceName = "virtualInterfaceName",
Vlan = 123,
// the properties below are optional
AllocatePrivateVirtualInterfaceRoleArn = "allocatePrivateVirtualInterfaceRoleArn",
DirectConnectGatewayId = "directConnectGatewayId",
EnableSiteLink = false,
Mtu = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VirtualGatewayId = "virtualGatewayId"
};
Synopsis
Constructors
| CfnPrivateVirtualInterfaceProps() | Properties for defining a |
Properties
| AllocatePrivateVirtualInterfaceRoleArn | The Amazon Resource Name (ARN) of the role to allocate the private virtual interface. |
| BgpPeers | The BGP peers configured on this virtual interface. |
| ConnectionId | Properties for defining a |
| DirectConnectGatewayId | Properties for defining a |
| EnableSiteLink | Indicates whether to enable or disable SiteLink. |
| Mtu | The maximum transmission unit (MTU), in bytes. |
| Tags | The tags associated with the private virtual interface. |
| VirtualGatewayId | The ID or ARN of the virtual private gateway. |
| VirtualInterfaceName | The name of the virtual interface assigned by the customer network. |
| Vlan | The ID of the VLAN. |
Constructors
CfnPrivateVirtualInterfaceProps()
Properties for defining a CfnPrivateVirtualInterface.
public CfnPrivateVirtualInterfaceProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DirectConnect;
var cfnPrivateVirtualInterfaceProps = new CfnPrivateVirtualInterfaceProps {
BgpPeers = new [] { new BgpPeerProperty {
AddressFamily = "addressFamily",
Asn = "asn",
// the properties below are optional
AmazonAddress = "amazonAddress",
AuthKey = "authKey",
BgpPeerId = "bgpPeerId",
CustomerAddress = "customerAddress"
} },
ConnectionId = "connectionId",
VirtualInterfaceName = "virtualInterfaceName",
Vlan = 123,
// the properties below are optional
AllocatePrivateVirtualInterfaceRoleArn = "allocatePrivateVirtualInterfaceRoleArn",
DirectConnectGatewayId = "directConnectGatewayId",
EnableSiteLink = false,
Mtu = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VirtualGatewayId = "virtualGatewayId"
};
Properties
AllocatePrivateVirtualInterfaceRoleArn
The Amazon Resource Name (ARN) of the role to allocate the private virtual interface.
public string? AllocatePrivateVirtualInterfaceRoleArn { get; set; }
Property Value
Remarks
Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
BgpPeers
The BGP peers configured on this virtual interface.
public object BgpPeers { get; set; }
Property Value
Remarks
ConnectionId
Properties for defining a CfnPrivateVirtualInterface.
public object ConnectionId { get; set; }
Property Value
Remarks
DirectConnectGatewayId
Properties for defining a CfnPrivateVirtualInterface.
public object? DirectConnectGatewayId { get; set; }
Property Value
Remarks
EnableSiteLink
Indicates whether to enable or disable SiteLink.
public object? EnableSiteLink { get; set; }
Property Value
Remarks
Mtu
The maximum transmission unit (MTU), in bytes.
public double? Mtu { get; set; }
Property Value
Remarks
The supported values are 1500 and 9001. The default value is 1500.
Tags
The tags associated with the private virtual interface.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
VirtualGatewayId
The ID or ARN of the virtual private gateway.
public string? VirtualGatewayId { get; set; }
Property Value
Remarks
VirtualInterfaceName
The name of the virtual interface assigned by the customer network.
public string VirtualInterfaceName { get; set; }
Property Value
Remarks
The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
Vlan
The ID of the VLAN.
public double Vlan { get; set; }