Skip to content
v2.274.0

CfnLocalGatewayVirtualInterfaceProps Struct ​

Properties for defining a CfnLocalGatewayVirtualInterface.

Example ​

ts
// 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 ​

localAddressstringlocal_addressstrlocalAddressStringLocalAddressstringLocalAddress*stringrequired#
The local address.
localGatewayVirtualInterfaceGroupIdstringlocal_gateway_virtual_interface_group_idstrlocalGatewayVirtualInterfaceGroupIdStringLocalGatewayVirtualInterfaceGroupIdstringLocalGatewayVirtualInterfaceGroupId*stringrequired#
The ID of the local gateway virtual interface group.
outpostLagIdstringoutpost_lag_idstroutpostLagIdStringOutpostLagIdstringOutpostLagId*stringrequired#
The Outpost LAG ID.
peerAddressstringpeer_addressstrpeerAddressStringPeerAddressstringPeerAddress*stringrequired#
The peer address.
peerBgpAsnnumberpeer_bgp_asnint | floatpeerBgpAsnNumberPeerBgpAsndoublePeerBgpAsn*float64#
The peer BGP ASN.
peerBgpAsnExtendednumberpeer_bgp_asn_extendedint | floatpeerBgpAsnExtendedNumberPeerBgpAsnExtendeddoublePeerBgpAsnExtended*float64#
The extended 32-bit ASN of the BGP peer for use with larger ASN values.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
The tags assigned to the virtual interface.
vlannumbervlanint | floatvlanNumberVlandoubleVlan*float64required#
The ID of the VLAN.