pulumi-fusionauth
Version:
A Pulumi package for managing FusionAuth instances.
144 lines (143 loc) • 4.55 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## # 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",
* });
* ```
*/
export declare function getLambda(args: GetLambdaArgs, opts?: pulumi.InvokeOptions): Promise<GetLambdaResult>;
/**
* A collection of arguments for invoking getLambda.
*/
export interface GetLambdaArgs {
/**
* The ID of the Lambda. At least one of `id` or `name` must be specified.
*/
id?: string;
/**
* The name of the Lambda. At least one of `id` or `name` must be specified.
*/
name?: string;
/**
* The Lambda type. The possible values are:
* * `AppleReconcile`
* * `ClientCredentialsJWTPopulate`
* * `EpicGamesReconcile`
* * `ExternalJWTReconcile`
* * `FacebookReconcile`
* * `GoogleReconcile`
* * `HYPRReconcile`
* * `JWTPopulate`
* * `LDAPConnectorReconcile`
* * `LinkedInReconcile`
* * `LoginValidation`
* * `NintendoReconcile`
* * `OpenIDReconcile`
* * `SAMLv2Populate`
* * `SAMLv2Reconcile`
* * `SCIMServerGroupRequestConverter`
* * `SCIMServerGroupResponseConverter`
* * `SCIMServerUserRequestConverter`
* * `SCIMServerUserResponseConverter`
* * `SelfServiceRegistrationValidation`
* * `SonyPSNReconcile`
* * `SteamReconcile`
* * `TwitchReconcile`
* * `TwitterReconcile`
* * `UserInfoPopulate`
* * `XboxReconcile`
*/
type: string;
}
/**
* A collection of values returned by getLambda.
*/
export interface GetLambdaResult {
/**
* The lambda function body, a JavaScript function.
*/
readonly body: string;
/**
* Whether or not debug event logging is enabled for this Lambda.
*/
readonly debug: boolean;
readonly id: string;
readonly name?: string;
readonly type: string;
}
/**
* ## # 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",
* });
* ```
*/
export declare function getLambdaOutput(args: GetLambdaOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLambdaResult>;
/**
* A collection of arguments for invoking getLambda.
*/
export interface GetLambdaOutputArgs {
/**
* The ID of the Lambda. At least one of `id` or `name` must be specified.
*/
id?: pulumi.Input<string>;
/**
* The name of the Lambda. At least one of `id` or `name` must be specified.
*/
name?: pulumi.Input<string>;
/**
* The Lambda type. The possible values are:
* * `AppleReconcile`
* * `ClientCredentialsJWTPopulate`
* * `EpicGamesReconcile`
* * `ExternalJWTReconcile`
* * `FacebookReconcile`
* * `GoogleReconcile`
* * `HYPRReconcile`
* * `JWTPopulate`
* * `LDAPConnectorReconcile`
* * `LinkedInReconcile`
* * `LoginValidation`
* * `NintendoReconcile`
* * `OpenIDReconcile`
* * `SAMLv2Populate`
* * `SAMLv2Reconcile`
* * `SCIMServerGroupRequestConverter`
* * `SCIMServerGroupResponseConverter`
* * `SCIMServerUserRequestConverter`
* * `SCIMServerUserResponseConverter`
* * `SelfServiceRegistrationValidation`
* * `SonyPSNReconcile`
* * `SteamReconcile`
* * `TwitchReconcile`
* * `TwitterReconcile`
* * `UserInfoPopulate`
* * `XboxReconcile`
*/
type: pulumi.Input<string>;
}