import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * With this resource, you can create and manage Self-Service Profile for a tenant. * * > userAttributeProfileId field only available for [EA](https://auth0.com/docs/troubleshoot/product-lifecycle/product-release-stages#early-access) users. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const mySelfServiceProfile = new auth0.SelfServiceProfile("my_self_service_profile", { * userAttributes: [{ * name: "sample-name", * description: "sample-description", * isOptional: true, * }], * branding: { * logoUrl: "https://mycompany.org/v2/logo.png", * colors: { * primary: "#0059d6", * }, * }, * }); * ``` * * ## Import * * This resource can be imported using the id * * Example: * * ```sh * $ pulumi import auth0:index/selfServiceProfile:SelfServiceProfile id "ssp_32oi5unksja93124" * ``` */ export declare class SelfServiceProfile extends pulumi.CustomResource { /** * Get an existing SelfServiceProfile 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?: SelfServiceProfileState, opts?: pulumi.CustomResourceOptions): SelfServiceProfile; /** * Returns true if the given object is an instance of SelfServiceProfile. 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 SelfServiceProfile; /** * List of IdP strategies that will be shown to users during the Self-Service SSO flow. */ readonly allowedStrategies: pulumi.Output; /** * Field can be used to customize the look and feel of the wizard. */ readonly branding: pulumi.Output; /** * The ISO 8601 formatted date the profile was created. */ readonly createdAt: pulumi.Output; /** * The description of the self-service Profile */ readonly description: pulumi.Output; /** * The name of the self-service Profile */ readonly name: pulumi.Output; /** * The ISO 8601 formatted date the profile was updated. */ readonly updatedAt: pulumi.Output; /** * The ID of the user attribute profile to use for this self-service profile. Cannot be used with user_attributes. */ readonly userAttributeProfileId: pulumi.Output; /** * This array stores the mapping information that will be shown to the user during the SS-SSO flow. The user will be prompted to map the attributes on their identity provider to ensure the specified attributes get passed to Auth0. Cannot be used with user*attribute*profile*id. */ readonly userAttributes: pulumi.Output; /** * Create a SelfServiceProfile 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?: SelfServiceProfileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SelfServiceProfile resources. */ export interface SelfServiceProfileState { /** * List of IdP strategies that will be shown to users during the Self-Service SSO flow. */ allowedStrategies?: pulumi.Input[]>; /** * Field can be used to customize the look and feel of the wizard. */ branding?: pulumi.Input; /** * The ISO 8601 formatted date the profile was created. */ createdAt?: pulumi.Input; /** * The description of the self-service Profile */ description?: pulumi.Input; /** * The name of the self-service Profile */ name?: pulumi.Input; /** * The ISO 8601 formatted date the profile was updated. */ updatedAt?: pulumi.Input; /** * The ID of the user attribute profile to use for this self-service profile. Cannot be used with user_attributes. */ userAttributeProfileId?: pulumi.Input; /** * This array stores the mapping information that will be shown to the user during the SS-SSO flow. The user will be prompted to map the attributes on their identity provider to ensure the specified attributes get passed to Auth0. Cannot be used with user*attribute*profile*id. */ userAttributes?: pulumi.Input[]>; } /** * The set of arguments for constructing a SelfServiceProfile resource. */ export interface SelfServiceProfileArgs { /** * List of IdP strategies that will be shown to users during the Self-Service SSO flow. */ allowedStrategies?: pulumi.Input[]>; /** * Field can be used to customize the look and feel of the wizard. */ branding?: pulumi.Input; /** * The description of the self-service Profile */ description?: pulumi.Input; /** * The name of the self-service Profile */ name?: pulumi.Input; /** * The ID of the user attribute profile to use for this self-service profile. Cannot be used with user_attributes. */ userAttributeProfileId?: pulumi.Input; /** * This array stores the mapping information that will be shown to the user during the SS-SSO flow. The user will be prompted to map the attributes on their identity provider to ensure the specified attributes get passed to Auth0. Cannot be used with user*attribute*profile*id. */ userAttributes?: pulumi.Input[]>; }