import * as pulumi from "@pulumi/pulumi"; /** * With this resource, you can manage Auth0 Custom Token Exchange Profiles * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // Below action is created with custom-token-exchange as supported_triggers * // This action is then linked using the action_id param to the token-exchange profile * const myAction = new auth0.Action("my_action", { * name: "TokenExchange-Action", * code: `exports.onExecuteCustomTokenExchange = async (event, api) => { * \\tconsole.log(\\"foo\\") * };\\" * `, * deploy: true, * supportedTriggers: { * id: "custom-token-exchange", * version: "v1", * }, * }); * const myTokenExchangeProfile = new auth0.TokenExchangeProfile("my_token_exchange_profile", { * name: "token-exchange-prof", * subjectTokenType: "https://acme.com/cis-token", * actionId: myAction.id, * type: "custom_authentication", * }); * ``` * * ## Import * * This resource can be imported using the token exchange profile ID. * * Example: * * ```sh * $ pulumi import auth0:index/tokenExchangeProfile:TokenExchangeProfile profile "tep_XXXXXXXXXXXXXX" * ``` */ export declare class TokenExchangeProfile extends pulumi.CustomResource { /** * Get an existing TokenExchangeProfile 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?: TokenExchangeProfileState, opts?: pulumi.CustomResourceOptions): TokenExchangeProfile; /** * Returns true if the given object is an instance of TokenExchangeProfile. 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 TokenExchangeProfile; /** * Unique identifier of the Action */ readonly actionId: pulumi.Output; /** * The ISO 8601 formatted date the credential was created. */ readonly createdAt: pulumi.Output; /** * Name of the token exchange profile. */ readonly name: pulumi.Output; /** * Type of the subject token */ readonly subjectTokenType: pulumi.Output; /** * Type of the token exchange profile */ readonly type: pulumi.Output; /** * The ISO 8601 formatted date the credential was updated. */ readonly updatedAt: pulumi.Output; /** * Create a TokenExchangeProfile 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?: TokenExchangeProfileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TokenExchangeProfile resources. */ export interface TokenExchangeProfileState { /** * Unique identifier of the Action */ actionId?: pulumi.Input; /** * The ISO 8601 formatted date the credential was created. */ createdAt?: pulumi.Input; /** * Name of the token exchange profile. */ name?: pulumi.Input; /** * Type of the subject token */ subjectTokenType?: pulumi.Input; /** * Type of the token exchange profile */ type?: pulumi.Input; /** * The ISO 8601 formatted date the credential was updated. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a TokenExchangeProfile resource. */ export interface TokenExchangeProfileArgs { /** * Unique identifier of the Action */ actionId?: pulumi.Input; /** * Name of the token exchange profile. */ name?: pulumi.Input; /** * Type of the subject token */ subjectTokenType?: pulumi.Input; /** * Type of the token exchange profile */ type?: pulumi.Input; }