Show / Hide Table of Contents

Class GetFunction

Inheritance
System.Object
GetFunction
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.Lambda
Assembly: Pulumi.Aws.dll
Syntax
public static class GetFunction

Methods

View Source

InvokeAsync(GetFunctionArgs, InvokeOptions)

Provides information about a Lambda Function.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var config = new Config();
    var functionName = config.RequireObject<dynamic>("functionName");
    var existing = Output.Create(Aws.Lambda.GetFunction.InvokeAsync(new Aws.Lambda.GetFunctionArgs
    {
        FunctionName = functionName,
    }));
}

}

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

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