# CfnLocalGatewayVirtualInterfaceProps

Properties for defining a `CfnLocalGatewayVirtualInterface`.

Extends: CfnLocalGatewayVirtualInterfaceProps
Used as props by: CfnLocalGatewayVirtualInterface

- Source: Generated code
- Type last changed: v2.219.0 · 1 Oct 2025

## 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

- `localAddress`: string (required) — The local address.

- `localGatewayVirtualInterfaceGroupId`: string (required) — The ID of the local gateway virtual interface group.

- `outpostLagId`: string (required) — The Outpost LAG ID.

- `peerAddress`: string (required) — The peer address.

- `peerBgpAsn`: number — The peer BGP ASN.

- `peerBgpAsnExtended`: number — The extended 32-bit ASN of the BGP peer for use with larger ASN values.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags assigned to the virtual interface.

- `vlan`: number (required) — The ID of the VLAN.
