interface CfnPrivateVirtualInterfaceMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DirectConnect.CfnPrivateVirtualInterfaceMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdirectconnect#CfnPrivateVirtualInterfaceMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.directconnect.CfnPrivateVirtualInterfaceMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_directconnect.CfnPrivateVirtualInterfaceMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_directconnect » CfnPrivateVirtualInterfaceMixinProps |
Properties for CfnPrivateVirtualInterfacePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_directconnect as directconnect } from '@aws-cdk/cfn-property-mixins';
const cfnPrivateVirtualInterfaceMixinProps: directconnect.CfnPrivateVirtualInterfaceMixinProps = {
allocatePrivateVirtualInterfaceRoleArn: 'allocatePrivateVirtualInterfaceRoleArn',
bgpPeers: [{
addressFamily: 'addressFamily',
amazonAddress: 'amazonAddress',
asn: 'asn',
authKey: 'authKey',
bgpPeerId: 'bgpPeerId',
customerAddress: 'customerAddress',
}],
connectionId: 'connectionId',
directConnectGatewayId: 'directConnectGatewayId',
enableSiteLink: false,
mtu: 123,
rateLimit: 'rateLimit',
tags: [{
key: 'key',
value: 'value',
}],
virtualGatewayId: 'virtualGatewayId',
virtualInterfaceName: 'virtualInterfaceName',
vlan: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| allocate | string | The Amazon Resource Name (ARN) of the role to allocate the private virtual interface. |
| bgp | IResolvable | (IResolvable | Bgp)[] | The BGP peers configured on this virtual interface. |
| connection | string | IConnection | ILag | |
| direct | string | IDirect | |
| enable | boolean | IResolvable | Indicates whether to enable or disable SiteLink. |
| mtu? | number | The maximum transmission unit (MTU), in bytes. |
| rate | string | The rate limit (bandwidth allocation) for the virtual interface. |
| tags? | Cfn[] | The tags associated with the private virtual interface. |
| virtual | string | The ID or ARN of the virtual private gateway. |
| virtual | string | The name of the virtual interface assigned by the customer network. |
| vlan? | number | The ID of the VLAN. |
allocatePrivateVirtualInterfaceRoleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the role to allocate the private virtual interface.
Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
bgpPeers?
Type:
IResolvable | (IResolvable | Bgp)[]
(optional)
The BGP peers configured on this virtual interface.
connectionId?
Type:
string | IConnection | ILag
(optional)
directConnectGatewayId?
Type:
string | IDirect
(optional)
enableSiteLink?
Type:
boolean | IResolvable
(optional)
Indicates whether to enable or disable SiteLink.
mtu?
Type:
number
(optional)
The maximum transmission unit (MTU), in bytes.
The supported values are 1500 and 9001. The default value is 1500.
rateLimit?
Type:
string
(optional)
The rate limit (bandwidth allocation) for the virtual interface.
The value must be one of the supported bandwidth values (e.g., 50Mbps, 1Gbps, 10Gbps) and cannot exceed the bandwidth of the parent connection or LAG.
tags?
Type:
Cfn[]
(optional)
The tags associated with the private virtual interface.
virtualGatewayId?
Type:
string
(optional)
The ID or ARN of the virtual private gateway.
virtualInterfaceName?
Type:
string
(optional)
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 (-).
vlan?
Type:
number
(optional)
The ID of the VLAN.

.NET
Go
Java
Python
TypeScript