import * as pulumi from "@pulumi/pulumi"; /** * With this resource, you can create and manage Flows for a tenant. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // Example: * const myFlow = new auth0.Flow("my_flow", { * actions: JSON.stringify([{ * action: "UPDATE_USER", * alias: "user meta data", * allow_failure: false, * id: "update_user_PmSa", * mask_output: false, * params: { * changes: { * user_metadata: { * full_name: "{{fields.full_name}}", * }, * }, * connection_id: "", * user_id: "{{context.user.user_id}}", * }, * type: "AUTH0", * }]), * name: "Flow KYC update data", * }); * ``` * * ## Import * * This resource can be imported using the flow ID. * * Example: * * ```sh * $ pulumi import auth0:index/flow:Flow my_flow "af_4JwsAjokf6DpK8xJCkTRjK" * ``` */ export declare class Flow extends pulumi.CustomResource { /** * Get an existing Flow resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FlowState, opts?: pulumi.CustomResourceOptions): Flow; /** * Returns true if the given object is an instance of Flow. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Flow; /** * Actions of the flow. */ readonly actions: pulumi.Output; /** * Name of the flow. */ readonly name: pulumi.Output; /** * Create a Flow resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: FlowArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Flow resources. */ export interface FlowState { /** * Actions of the flow. */ actions?: pulumi.Input; /** * Name of the flow. */ name?: pulumi.Input; } /** * The set of arguments for constructing a Flow resource. */ export interface FlowArgs { /** * Actions of the flow. */ actions?: pulumi.Input; /** * Name of the flow. */ name?: pulumi.Input; }