GetLocalGatewayVirtualInterfaceGroup

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

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Aws.Ec2.GetLocalGatewayVirtualInterfaceGroup.InvokeAsync(new Aws.Ec2.GetLocalGatewayVirtualInterfaceGroupArgs
        {
            LocalGatewayId = data.Aws_ec2_local_gateway.Example.Id,
        }));
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ec2"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        opt0 := data.Aws_ec2_local_gateway.Example.Id
        _, err := ec2.GetLocalGatewayVirtualInterfaceGroup(ctx, &ec2.GetLocalGatewayVirtualInterfaceGroupArgs{
            LocalGatewayId: &opt0,
        }, nil)
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.ec2.get_local_gateway_virtual_interface_group(local_gateway_id=data["aws_ec2_local_gateway"]["example"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.ec2.getLocalGatewayVirtualInterfaceGroup({
    localGatewayId: data.aws_ec2_local_gateway.example.id,
});

Using GetLocalGatewayVirtualInterfaceGroup

function getLocalGatewayVirtualInterfaceGroup(args: GetLocalGatewayVirtualInterfaceGroupArgs, opts?: InvokeOptions): Promise<GetLocalGatewayVirtualInterfaceGroupResult>
function  get_local_gateway_virtual_interface_group(filters=None, id=None, local_gateway_id=None, tags=None, opts=None)
func GetLocalGatewayVirtualInterfaceGroup(ctx *Context, args *GetLocalGatewayVirtualInterfaceGroupArgs, opts ...InvokeOption) (*GetLocalGatewayVirtualInterfaceGroupResult, error)
public static class GetLocalGatewayVirtualInterfaceGroup {
    public static Task<GetLocalGatewayVirtualInterfaceGroupResult> InvokeAsync(GetLocalGatewayVirtualInterfaceGroupArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Filters List<GetLocalGatewayVirtualInterfaceGroupFilterArgs>

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 Group.

LocalGatewayId string

Identifier of EC2 Local Gateway.

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 []GetLocalGatewayVirtualInterfaceGroupFilter

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 Group.

LocalGatewayId string

Identifier of EC2 Local Gateway.

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 GetLocalGatewayVirtualInterfaceGroupFilter[]

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 Group.

localGatewayId string

Identifier of EC2 Local Gateway.

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 List[GetLocalGatewayVirtualInterfaceGroupFilter]

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 Group.

local_gateway_id str

Identifier of EC2 Local Gateway.

tags Dict[str, str]

Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.

GetLocalGatewayVirtualInterfaceGroup Result

The following output properties are available:

Id string
LocalGatewayId string
LocalGatewayVirtualInterfaceIds List<string>

Set of EC2 Local Gateway Virtual Interface identifiers.

Tags Dictionary<string, string>
Filters List<GetLocalGatewayVirtualInterfaceGroupFilter>
Id string
LocalGatewayId string
LocalGatewayVirtualInterfaceIds []string

Set of EC2 Local Gateway Virtual Interface identifiers.

Tags map[string]string
Filters []GetLocalGatewayVirtualInterfaceGroupFilter
id string
localGatewayId string
localGatewayVirtualInterfaceIds string[]

Set of EC2 Local Gateway Virtual Interface identifiers.

tags {[key: string]: string}
filters GetLocalGatewayVirtualInterfaceGroupFilter[]
id str
local_gateway_id str
local_gateway_virtual_interface_ids List[str]

Set of EC2 Local Gateway Virtual Interface identifiers.

tags Dict[str, str]
filters List[GetLocalGatewayVirtualInterfaceGroupFilter]

Supporting Types

GetLocalGatewayVirtualInterfaceGroupFilter

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

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 List[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.