interface CfnPublicVirtualInterfaceMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DirectConnect.CfnPublicVirtualInterfaceMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdirectconnect#CfnPublicVirtualInterfaceMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.directconnect.CfnPublicVirtualInterfaceMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_directconnect.CfnPublicVirtualInterfaceMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_directconnect » CfnPublicVirtualInterfaceMixinProps |
Properties for CfnPublicVirtualInterfacePropsMixin.
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 cfnPublicVirtualInterfaceMixinProps: directconnect.CfnPublicVirtualInterfaceMixinProps = {
allocatePublicVirtualInterfaceRoleArn: 'allocatePublicVirtualInterfaceRoleArn',
bgpPeers: [{
addressFamily: 'addressFamily',
amazonAddress: 'amazonAddress',
asn: 'asn',
authKey: 'authKey',
bgpPeerId: 'bgpPeerId',
customerAddress: 'customerAddress',
}],
connectionId: 'connectionId',
routeFilterPrefixes: ['routeFilterPrefixes'],
tags: [{
key: 'key',
value: 'value',
}],
virtualInterfaceName: 'virtualInterfaceName',
vlan: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| allocate | string | The Amazon Resource Name (ARN) of the role to allocate the public virtual interface. |
| bgp | IResolvable | (IResolvable | Bgp)[] | The BGP peers configured on this virtual interface. |
| connection | string | IConnection | ILag | |
| route | string[] | The routes to be advertised to the AWS network in this region. |
| tags? | Cfn[] | The tags associated with the public virtual interface. |
| virtual | string | The name of the virtual interface assigned by the customer network. |
| vlan? | number | The ID of the VLAN. |
allocatePublicVirtualInterfaceRoleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the role to allocate the public virtual interface.
Needs directconnect:AllocatePublicVirtualInterface 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)
routeFilterPrefixes?
Type:
string[]
(optional)
The routes to be advertised to the AWS network in this region.
tags?
Type:
Cfn[]
(optional)
The tags associated with the public virtual interface.
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