CfnLocalGatewayVirtualInterfaceProps
- class aws_cdk.aws_ec2.CfnLocalGatewayVirtualInterfaceProps(*, local_address, local_gateway_virtual_interface_group_id, outpost_lag_id, peer_address, vlan, peer_bgp_asn=None, peer_bgp_asn_extended=None, tags=None)
- Bases: - object- Properties for defining a - CfnLocalGatewayVirtualInterface.- Parameters:
- local_address ( - str) – The local address.
- local_gateway_virtual_interface_group_id ( - str) – The ID of the local gateway virtual interface group.
- outpost_lag_id ( - str) – The Outpost LAG ID.
- peer_address ( - str) – The peer address.
- vlan ( - Union[- int,- float]) – The ID of the VLAN.
- peer_bgp_asn ( - Union[- int,- float,- None]) – The peer BGP ASN.
- peer_bgp_asn_extended ( - Union[- int,- float,- None]) – The extended 32-bit ASN of the BGP peer for use with larger ASN values.
- tags ( - Optional[- Sequence[- Union[- CfnTag,- Dict[- str,- Any]]]]) – The tags assigned to the virtual interface.
 
- See:
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 cfn_local_gateway_virtual_interface_props = ec2.CfnLocalGatewayVirtualInterfaceProps( local_address="localAddress", local_gateway_virtual_interface_group_id="localGatewayVirtualInterfaceGroupId", outpost_lag_id="outpostLagId", peer_address="peerAddress", vlan=123, # the properties below are optional peer_bgp_asn=123, peer_bgp_asn_extended=123, tags=[CfnTag( key="key", value="value" )] ) - Attributes - local_address
- The local address. 
 - local_gateway_virtual_interface_group_id
- The ID of the local gateway virtual interface group. 
 - outpost_lag_id
- The Outpost LAG ID. 
 - peer_address
- The peer address. 
 - peer_bgp_asn
- The peer BGP ASN. 
 - peer_bgp_asn_extended
- The extended 32-bit ASN of the BGP peer for use with larger ASN values. 
 - tags
- The tags assigned to the virtual interface.