---
type: resource-type
title: LocalGatewayVirtualInterface
description: aws resource type AWS::EC2::LocalGatewayVirtualInterface
name: LocalGatewayVirtualInterface
lexicon: aws
resource_type: AWS::EC2::LocalGatewayVirtualInterface
---
`AWS::EC2::LocalGatewayVirtualInterface`, a resource type of the aws lexicon.

## Properties

- `LocalAddress` (`string`, required): The local address.
- `LocalGatewayVirtualInterfaceGroupId` (`string`, required): The ID of the virtual interface group
- `OutpostLagId` (`string`, required): The Outpost LAG ID.
- `PeerAddress` (`string`, required): The peer address.
- `Vlan` (`number`, required): The ID of the VLAN.
- `ConfigurationState` (`string`, optional): The current state of the local gateway virtual interface
- `LocalBgpAsn` (`number`, optional): The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP)
- `LocalGatewayId` (`string`, optional): The ID of the local gateway
- `LocalGatewayVirtualInterfaceId` (`string`, optional): The ID of the virtual interface
- `OwnerId` (`string`, optional): The ID of the Amazon Web Services account that owns the local gateway virtual interface group
- `PeerBgpAsn` (`number`, optional): The peer BGP ASN.
- `PeerBgpAsnExtended` (`number`, optional): The extended 32-bit ASN of the BGP peer for use with larger ASN values.
- `Tags` (`LocalGatewayVirtualInterface_Tag[]`, optional): An array of key-value pairs to apply to this resource.

## Attributes

- `ConfigurationState`
- `LocalBgpAsn`
- `LocalGatewayId`
- `LocalGatewayVirtualInterfaceId`
- `OwnerId`
