Auth0

Pulumi Official
Package maintained by Pulumi
v2.9.0 published on Thursday, May 26, 2022 by Pulumi

Prompt

With this resource, you can manage your Auth0 prompts, including choosing the login experience version.

Example Usage

using Pulumi;
using Auth0 = Pulumi.Auth0;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Auth0.Prompt("example", new Auth0.PromptArgs
        {
            IdentifierFirst = false,
            UniversalLoginExperience = "classic",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-auth0/sdk/v2/go/auth0"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := auth0.NewPrompt(ctx, "example", &auth0.PromptArgs{
			IdentifierFirst:          pulumi.Bool(false),
			UniversalLoginExperience: pulumi.String("classic"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new Prompt("example", PromptArgs.builder()        
            .identifierFirst(false)
            .universalLoginExperience("classic")
            .build());

    }
}
import pulumi
import pulumi_auth0 as auth0

example = auth0.Prompt("example",
    identifier_first=False,
    universal_login_experience="classic")
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";

const example = new auth0.Prompt("example", {
    identifierFirst: false,
    universalLoginExperience: "classic",
});
resources:
  example:
    type: auth0:Prompt
    properties:
      identifierFirst: false
      universalLoginExperience: classic

Create a Prompt Resource

new Prompt(name: string, args?: PromptArgs, opts?: CustomResourceOptions);
@overload
def Prompt(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           identifier_first: Optional[bool] = None,
           universal_login_experience: Optional[str] = None)
@overload
def Prompt(resource_name: str,
           args: Optional[PromptArgs] = None,
           opts: Optional[ResourceOptions] = None)
func NewPrompt(ctx *Context, name string, args *PromptArgs, opts ...ResourceOption) (*Prompt, error)
public Prompt(string name, PromptArgs? args = null, CustomResourceOptions? opts = null)
public Prompt(String name, PromptArgs args)
public Prompt(String name, PromptArgs args, CustomResourceOptions options)
type: auth0:Prompt
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PromptArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args PromptArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PromptArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PromptArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PromptArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Prompt Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Prompt resource accepts the following input properties:

IdentifierFirst bool

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

UniversalLoginExperience string

Which login experience to use. Options include classic and new.

IdentifierFirst bool

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

UniversalLoginExperience string

Which login experience to use. Options include classic and new.

identifierFirst Boolean

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

universalLoginExperience String

Which login experience to use. Options include classic and new.

identifierFirst boolean

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

universalLoginExperience string

Which login experience to use. Options include classic and new.

identifier_first bool

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

universal_login_experience str

Which login experience to use. Options include classic and new.

identifierFirst Boolean

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

universalLoginExperience String

Which login experience to use. Options include classic and new.

Outputs

All input properties are implicitly available as output properties. Additionally, the Prompt resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing Prompt Resource

Get an existing Prompt resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PromptState, opts?: CustomResourceOptions): Prompt
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        identifier_first: Optional[bool] = None,
        universal_login_experience: Optional[str] = None) -> Prompt
func GetPrompt(ctx *Context, name string, id IDInput, state *PromptState, opts ...ResourceOption) (*Prompt, error)
public static Prompt Get(string name, Input<string> id, PromptState? state, CustomResourceOptions? opts = null)
public static Prompt get(String name, Output<String> id, PromptState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
IdentifierFirst bool

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

UniversalLoginExperience string

Which login experience to use. Options include classic and new.

IdentifierFirst bool

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

UniversalLoginExperience string

Which login experience to use. Options include classic and new.

identifierFirst Boolean

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

universalLoginExperience String

Which login experience to use. Options include classic and new.

identifierFirst boolean

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

universalLoginExperience string

Which login experience to use. Options include classic and new.

identifier_first bool

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

universal_login_experience str

Which login experience to use. Options include classic and new.

identifierFirst Boolean

Boolean. Indicates whether the identifier first is used when using the new universal login experience.

universalLoginExperience String

Which login experience to use. Options include classic and new.

Import

As this is not a resource identifiable by an ID within the Auth0 Management API, prompt can be imported using a random string. We recommend Version 4 UUID e.g.

 $ pulumi import auth0:index/prompt:Prompt example 22f4f21b-017a-319d-92e7-2291c1ca36c4

Package Details

Repository
https://github.com/pulumi/pulumi-auth0
License
Apache-2.0
Notes

This Pulumi package is based on the auth0 Terraform Provider.