Class GetAlias
Inheritance
System.Object
GetAlias
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 GetAlias
Methods
View SourceInvokeAsync(GetAliasArgs, InvokeOptions)
Provides information about a Lambda Alias.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var production = Output.Create(Aws.Lambda.GetAlias.InvokeAsync(new Aws.Lambda.GetAliasArgs
{
FunctionName = "my-lambda-func",
Name = "production",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetAliasResult> InvokeAsync(GetAliasArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAliasArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetAliasResult> |