FusionAuth v4.0.1 published on Saturday, Sep 30, 2023 by Theo Gravity
fusionauth.getLambda
Explore with Pulumi AI
# Lambda Resource
Lambdas are user defined JavaScript functions that may be executed at runtime to perform various functions. Lambdas may be used to customize the claims returned in a JWT, reconcile a SAML v2 response or an OpenID Connect response when using these external identity providers.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Fusionauth = Pulumi.Fusionauth;
return await Deployment.RunAsync(() =>
{
var defaultGoogleReconcile = Fusionauth.GetLambda.Invoke(new()
{
Name = "Default Google Reconcile provided by FusionAuth",
Type = "GoogleReconcile",
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/theogravity/pulumi-fusionauth/sdk/v3/go/fusionauth"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fusionauth.GetLambda(ctx, &fusionauth.GetLambdaArgs{
Name: pulumi.StringRef("Default Google Reconcile provided by FusionAuth"),
Type: "GoogleReconcile",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fusionauth.FusionauthFunctions;
import com.pulumi.fusionauth.inputs.GetLambdaArgs;
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 defaultGoogleReconcile = FusionauthFunctions.getLambda(GetLambdaArgs.builder()
.name("Default Google Reconcile provided by FusionAuth")
.type("GoogleReconcile")
.build());
}
}
import pulumi
import pulumi_fusionauth as fusionauth
default_google_reconcile = fusionauth.get_lambda(name="Default Google Reconcile provided by FusionAuth",
type="GoogleReconcile")
import * as pulumi from "@pulumi/pulumi";
import * as fusionauth from "@pulumi/fusionauth";
const defaultGoogleReconcile = fusionauth.getLambda({
name: "Default Google Reconcile provided by FusionAuth",
type: "GoogleReconcile",
});
variables:
defaultGoogleReconcile:
fn::invoke:
Function: fusionauth:getLambda
Arguments:
name: Default Google Reconcile provided by FusionAuth
type: GoogleReconcile
Using getLambda
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 getLambda(args: GetLambdaArgs, opts?: InvokeOptions): Promise<GetLambdaResult>
function getLambdaOutput(args: GetLambdaOutputArgs, opts?: InvokeOptions): Output<GetLambdaResult>
def get_lambda(id: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLambdaResult
def get_lambda_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLambdaResult]
func GetLambda(ctx *Context, args *GetLambdaArgs, opts ...InvokeOption) (*GetLambdaResult, error)
func GetLambdaOutput(ctx *Context, args *GetLambdaOutputArgs, opts ...InvokeOption) GetLambdaResultOutput
> Note: This function is named GetLambda
in the Go SDK.
public static class GetLambda
{
public static Task<GetLambdaResult> InvokeAsync(GetLambdaArgs args, InvokeOptions? opts = null)
public static Output<GetLambdaResult> Invoke(GetLambdaInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLambdaResult> getLambda(GetLambdaArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fusionauth:index/getLambda:getLambda
arguments:
# arguments dictionary
The following arguments are supported:
getLambda Result
The following output properties are available:
Package Details
- Repository
- fusionauth theogravity/pulumi-fusionauth
- License
- MIT
- Notes
- This Pulumi package is based on the
fusionauth
Terraform Provider.