interface CfnLocalGatewayVirtualInterfaceProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnLocalGatewayVirtualInterfaceProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnLocalGatewayVirtualInterfaceProps |
![]() | software.amazon.awscdk.services.ec2.CfnLocalGatewayVirtualInterfaceProps |
![]() | aws_cdk.aws_ec2.CfnLocalGatewayVirtualInterfaceProps |
![]() | aws-cdk-lib » aws_ec2 » CfnLocalGatewayVirtualInterfaceProps |
Properties for defining a CfnLocalGatewayVirtualInterface
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnLocalGatewayVirtualInterfaceProps: ec2.CfnLocalGatewayVirtualInterfaceProps = {
localAddress: 'localAddress',
localGatewayVirtualInterfaceGroupId: 'localGatewayVirtualInterfaceGroupId',
outpostLagId: 'outpostLagId',
peerAddress: 'peerAddress',
vlan: 123,
// the properties below are optional
peerBgpAsn: 123,
peerBgpAsnExtended: 123,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
local | string | The local address. |
local | string | The ID of the local gateway virtual interface group. |
outpost | string | The Outpost LAG ID. |
peer | string | The peer address. |
vlan | number | The ID of the VLAN. |
peer | number | The peer BGP ASN. |
peer | number | The extended 32-bit ASN of the BGP peer for use with larger ASN values. |
tags? | Cfn [] | The tags assigned to the virtual interface. |
localAddress
Type:
string
The local address.
localGatewayVirtualInterfaceGroupId
Type:
string
The ID of the local gateway virtual interface group.
outpostLagId
Type:
string
The Outpost LAG ID.
peerAddress
Type:
string
The peer address.
vlan
Type:
number
The ID of the VLAN.
peerBgpAsn?
Type:
number
(optional)
The peer BGP ASN.
peerBgpAsnExtended?
Type:
number
(optional)
The extended 32-bit ASN of the BGP peer for use with larger ASN values.
tags?
Type:
Cfn
[]
(optional)
The tags assigned to the virtual interface.