pulumi-fusionauth
Version:
A Pulumi package for managing FusionAuth instances.
64 lines • 2.46 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLambdaOutput = exports.getLambda = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* ## # 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.
*
* [Lambdas API](https://fusionauth.io/docs/v1/tech/apis/lambdas)
*
* ## Example Usage
*
* ```typescript
* 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",
* });
* ```
*/
function getLambda(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("fusionauth:index/getLambda:getLambda", {
"id": args.id,
"name": args.name,
"type": args.type,
}, opts);
}
exports.getLambda = getLambda;
/**
* ## # 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.
*
* [Lambdas API](https://fusionauth.io/docs/v1/tech/apis/lambdas)
*
* ## Example Usage
*
* ```typescript
* 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",
* });
* ```
*/
function getLambdaOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("fusionauth:index/getLambda:getLambda", {
"id": args.id,
"name": args.name,
"type": args.type,
}, opts);
}
exports.getLambdaOutput = getLambdaOutput;
//# sourceMappingURL=getLambda.js.map