AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::LocalGatewayVirtualInterface

CfnLocalGatewayVirtualInterface

Describes a local gateway virtual interface.

Import

import { CfnLocalGatewayVirtualInterface } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnLocalGatewayVirtualInterface

Properties

Configuration passed to the constructor as CfnLocalGatewayVirtualInterfaceProps.

localAddressRequired
string

The local address.

localGatewayVirtualInterfaceGroupIdRequired
string

The ID of the local gateway virtual interface group.

outpostLagIdRequired
string

The Outpost LAG ID.

peerAddressRequired
string

The peer address.

vlanRequired
number

The ID of the VLAN.

peerBgpAsnOptional
number

The peer BGP ASN.

peerBgpAsnExtendedOptional
number

The extended 32-bit ASN of the BGP peer for use with larger ASN values.

tagsOptional
CfnTag[]

The tags assigned to the virtual interface.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic