Show / Hide Table of Contents

Class GetLocalGateway

Inheritance
System.Object
GetLocalGateway
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public static class GetLocalGateway

Methods

View Source

InvokeAsync(GetLocalGatewayArgs, InvokeOptions)

Provides details about an EC2 Local Gateway.

{{% examples %}}

Example Usage

{{% example %}}

The following example shows how one might accept a local gateway id as a variable.

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var config = new Config();
    var localGatewayId = config.RequireObject<dynamic>("localGatewayId");
    var selected = Output.Create(Aws.Ec2.GetLocalGateway.InvokeAsync(new Aws.Ec2.GetLocalGatewayArgs
    {
        Id = localGatewayId,
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetLocalGatewayResult> InvokeAsync(GetLocalGatewayArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetLocalGatewayArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetLocalGatewayResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.