1. Packages
  2. AWS
  3. API Docs
  4. ec2
  5. getLocalGatewayVirtualInterfaceGroups
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.ec2.getLocalGatewayVirtualInterfaceGroups

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Provides details about multiple EC2 Local Gateway Virtual Interface Groups, such as identifiers. More information can be found in the Outposts User Guide.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const all = aws.ec2.getLocalGatewayVirtualInterfaceGroups({});
    
    import pulumi
    import pulumi_aws as aws
    
    all = aws.ec2.get_local_gateway_virtual_interface_groups()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ec2.GetLocalGatewayVirtualInterfaceGroups(ctx, &ec2.GetLocalGatewayVirtualInterfaceGroupsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Aws.Ec2.GetLocalGatewayVirtualInterfaceGroups.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ec2.Ec2Functions;
    import com.pulumi.aws.ec2.inputs.GetLocalGatewayVirtualInterfaceGroupsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var all = Ec2Functions.getLocalGatewayVirtualInterfaceGroups();
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          Function: aws:ec2:getLocalGatewayVirtualInterfaceGroups
          Arguments: {}
    

    Using getLocalGatewayVirtualInterfaceGroups

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLocalGatewayVirtualInterfaceGroups(args: GetLocalGatewayVirtualInterfaceGroupsArgs, opts?: InvokeOptions): Promise<GetLocalGatewayVirtualInterfaceGroupsResult>
    function getLocalGatewayVirtualInterfaceGroupsOutput(args: GetLocalGatewayVirtualInterfaceGroupsOutputArgs, opts?: InvokeOptions): Output<GetLocalGatewayVirtualInterfaceGroupsResult>
    def get_local_gateway_virtual_interface_groups(filters: Optional[Sequence[GetLocalGatewayVirtualInterfaceGroupsFilter]] = None,
                                                   tags: Optional[Mapping[str, str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetLocalGatewayVirtualInterfaceGroupsResult
    def get_local_gateway_virtual_interface_groups_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetLocalGatewayVirtualInterfaceGroupsFilterArgs]]]] = None,
                                                   tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetLocalGatewayVirtualInterfaceGroupsResult]
    func GetLocalGatewayVirtualInterfaceGroups(ctx *Context, args *GetLocalGatewayVirtualInterfaceGroupsArgs, opts ...InvokeOption) (*GetLocalGatewayVirtualInterfaceGroupsResult, error)
    func GetLocalGatewayVirtualInterfaceGroupsOutput(ctx *Context, args *GetLocalGatewayVirtualInterfaceGroupsOutputArgs, opts ...InvokeOption) GetLocalGatewayVirtualInterfaceGroupsResultOutput

    > Note: This function is named GetLocalGatewayVirtualInterfaceGroups in the Go SDK.

    public static class GetLocalGatewayVirtualInterfaceGroups 
    {
        public static Task<GetLocalGatewayVirtualInterfaceGroupsResult> InvokeAsync(GetLocalGatewayVirtualInterfaceGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetLocalGatewayVirtualInterfaceGroupsResult> Invoke(GetLocalGatewayVirtualInterfaceGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLocalGatewayVirtualInterfaceGroupsResult> getLocalGatewayVirtualInterfaceGroups(GetLocalGatewayVirtualInterfaceGroupsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:ec2/getLocalGatewayVirtualInterfaceGroups:getLocalGatewayVirtualInterfaceGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetLocalGatewayVirtualInterfaceGroupsFilter>
    One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
    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 []GetLocalGatewayVirtualInterfaceGroupsFilter
    One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
    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 List<GetLocalGatewayVirtualInterfaceGroupsFilter>
    One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
    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 GetLocalGatewayVirtualInterfaceGroupsFilter[]
    One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
    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[GetLocalGatewayVirtualInterfaceGroupsFilter]
    One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
    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.
    filters List<Property Map>
    One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
    tags Map<String>
    Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.

    getLocalGatewayVirtualInterfaceGroups Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Set of EC2 Local Gateway Virtual Interface Group identifiers.
    LocalGatewayVirtualInterfaceIds List<string>
    Set of EC2 Local Gateway Virtual Interface identifiers.
    Filters List<GetLocalGatewayVirtualInterfaceGroupsFilter>
    Tags Dictionary<string, string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Set of EC2 Local Gateway Virtual Interface Group identifiers.
    LocalGatewayVirtualInterfaceIds []string
    Set of EC2 Local Gateway Virtual Interface identifiers.
    Filters []GetLocalGatewayVirtualInterfaceGroupsFilter
    Tags map[string]string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    Set of EC2 Local Gateway Virtual Interface Group identifiers.
    localGatewayVirtualInterfaceIds List<String>
    Set of EC2 Local Gateway Virtual Interface identifiers.
    filters List<GetLocalGatewayVirtualInterfaceGroupsFilter>
    tags Map<String,String>
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    Set of EC2 Local Gateway Virtual Interface Group identifiers.
    localGatewayVirtualInterfaceIds string[]
    Set of EC2 Local Gateway Virtual Interface identifiers.
    filters GetLocalGatewayVirtualInterfaceGroupsFilter[]
    tags {[key: string]: string}
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    Set of EC2 Local Gateway Virtual Interface Group identifiers.
    local_gateway_virtual_interface_ids Sequence[str]
    Set of EC2 Local Gateway Virtual Interface identifiers.
    filters Sequence[GetLocalGatewayVirtualInterfaceGroupsFilter]
    tags Mapping[str, str]
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    Set of EC2 Local Gateway Virtual Interface Group identifiers.
    localGatewayVirtualInterfaceIds List<String>
    Set of EC2 Local Gateway Virtual Interface identifiers.
    filters List<Property Map>
    tags Map<String>

    Supporting Types

    GetLocalGatewayVirtualInterfaceGroupsFilter

    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 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 str
    Name of the filter.
    values Sequence[str]
    List of one or more values for the filter.
    name String
    Name of the filter.
    values List<String>
    List of one or more values for the filter.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi