getLocalGatewayVirtualInterface

Provides details about an EC2 Local Gateway Virtual Interface. More information can be found in the Outposts User Guide.

Example Usage

Coming soon!

Coming soon!

import pulumi
import pulumi_aws as aws

example = [aws.ec2.get_local_gateway_virtual_interface(id=__value) for __key, __value in data["aws_ec2_local_gateway_virtual_interface_group"]["example"]["local_gateway_virtual_interface_ids"]]
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = .map(([, ]) => aws.ec2.getLocalGatewayVirtualInterface({
    id: __value,
}));

Using getLocalGatewayVirtualInterface

function getLocalGatewayVirtualInterface(args: GetLocalGatewayVirtualInterfaceArgs, opts?: InvokeOptions): Promise<GetLocalGatewayVirtualInterfaceResult>
def get_local_gateway_virtual_interface(filters: Optional[Sequence[GetLocalGatewayVirtualInterfaceFilter]] = None,
                                        id: Optional[str] = None,
                                        tags: Optional[Mapping[str, str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetLocalGatewayVirtualInterfaceResult
func GetLocalGatewayVirtualInterface(ctx *Context, args *GetLocalGatewayVirtualInterfaceArgs, opts ...InvokeOption) (*GetLocalGatewayVirtualInterfaceResult, error)

Note: This function is named GetLocalGatewayVirtualInterface in the Go SDK.

public static class GetLocalGatewayVirtualInterface {
    public static Task<GetLocalGatewayVirtualInterfaceResult> InvokeAsync(GetLocalGatewayVirtualInterfaceArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Filters List<GetLocalGatewayVirtualInterfaceFilter>
One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
Id string
Identifier of EC2 Local Gateway Virtual Interface.
Tags Dictionary<string, string>
Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
Filters []GetLocalGatewayVirtualInterfaceFilter
One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
Id string
Identifier of EC2 Local Gateway Virtual Interface.
Tags map[string]string
Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
filters GetLocalGatewayVirtualInterfaceFilter[]
One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
id string
Identifier of EC2 Local Gateway Virtual Interface.
tags {[key: string]: string}
Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
filters Sequence[GetLocalGatewayVirtualInterfaceFilter]
One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
id str
Identifier of EC2 Local Gateway Virtual Interface.
tags Mapping[str, str]
Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.

getLocalGatewayVirtualInterface Result

The following output properties are available:

Id string
LocalAddress string
Local address.
LocalBgpAsn int
Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the EC2 Local Gateway.
LocalGatewayId string
Identifier of the EC2 Local Gateway.
LocalGatewayVirtualInterfaceIds List<string>
PeerAddress string
Peer address.
PeerBgpAsn int
Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the peer.
Tags Dictionary<string, string>
Vlan int
Virtual Local Area Network.
Filters List<GetLocalGatewayVirtualInterfaceFilter>
Id string
LocalAddress string
Local address.
LocalBgpAsn int
Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the EC2 Local Gateway.
LocalGatewayId string
Identifier of the EC2 Local Gateway.
LocalGatewayVirtualInterfaceIds []string
PeerAddress string
Peer address.
PeerBgpAsn int
Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the peer.
Tags map[string]string
Vlan int
Virtual Local Area Network.
Filters []GetLocalGatewayVirtualInterfaceFilter
id string
localAddress string
Local address.
localBgpAsn number
Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the EC2 Local Gateway.
localGatewayId string
Identifier of the EC2 Local Gateway.
localGatewayVirtualInterfaceIds string[]
peerAddress string
Peer address.
peerBgpAsn number
Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the peer.
tags {[key: string]: string}
vlan number
Virtual Local Area Network.
filters GetLocalGatewayVirtualInterfaceFilter[]
id str
local_address str
Local address.
local_bgp_asn int
Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the EC2 Local Gateway.
local_gateway_id str
Identifier of the EC2 Local Gateway.
local_gateway_virtual_interface_ids Sequence[str]
peer_address str
Peer address.
peer_bgp_asn int
Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the peer.
tags Mapping[str, str]
vlan int
Virtual Local Area Network.
filters Sequence[GetLocalGatewayVirtualInterfaceFilter]

Supporting Types

GetLocalGatewayVirtualInterfaceFilter

Name string
Name of the filter.
Values List<string>
List of one or more values for the filter.
Name string
Name of the filter.
Values []string
List of one or more values for the filter.
name string
Name of the filter.
values string[]
List of one or more values for the filter.
name str
Name of the filter.
values Sequence[str]
List of one or more values for the filter.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.