import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages branding settings for a user pool style and associates it with an app client. * * ## Example Usage * * ### Default Branding Style * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const client = new aws.cognito.ManagedLoginBranding("client", { * clientId: example.id, * userPoolId: exampleAwsCognitoUserPool.id, * useCognitoProvidedValues: true, * }); * ``` * * ### Custom Branding Style * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * import * as std from "@pulumi/std"; * * const client = new aws.cognito.ManagedLoginBranding("client", { * assets: [{ * bytes: std.filebase64({ * input: "login_branding_asset.svg", * }).then(invoke => invoke.result), * category: "PAGE_HEADER_BACKGROUND", * colorMode: "DARK", * extension: "SVG", * }], * clientId: example.id, * userPoolId: exampleAwsCognitoUserPool.id, * settings: JSON.stringify({}), * }); * ``` * * ## Import * * Using `pulumi import`, import Cognito branding settings using `userPoolId` and `managedLoginBrandingId` separated by `,`. For example: * * ```sh * $ pulumi import aws:cognito/managedLoginBranding:ManagedLoginBranding example us-west-2_rSss9Zltr,06c6ae7b-1e66-46d2-87a9-1203ea3307bd * ``` */ export declare class ManagedLoginBranding extends pulumi.CustomResource { /** * Get an existing ManagedLoginBranding 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?: ManagedLoginBrandingState, opts?: pulumi.CustomResourceOptions): ManagedLoginBranding; /** * Returns true if the given object is an instance of ManagedLoginBranding. 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 ManagedLoginBranding; /** * Image files to apply to roles like backgrounds, logos, and icons. See details below. */ readonly assets: pulumi.Output; /** * App client that the branding style is for. */ readonly clientId: pulumi.Output; /** * ID of the managed login branding style. */ readonly managedLoginBrandingId: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * JSON document with the the settings to apply to the style. */ readonly settings: pulumi.Output; /** * Settings including Amazon Cognito defaults. */ readonly settingsAll: pulumi.Output; /** * When `true`, applies the default branding style options. */ readonly useCognitoProvidedValues: pulumi.Output; /** * User pool the client belongs to. * * The following arguments are optional: */ readonly userPoolId: pulumi.Output; /** * Create a ManagedLoginBranding 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: ManagedLoginBrandingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedLoginBranding resources. */ export interface ManagedLoginBrandingState { /** * Image files to apply to roles like backgrounds, logos, and icons. See details below. */ assets?: pulumi.Input[] | undefined>; /** * App client that the branding style is for. */ clientId?: pulumi.Input; /** * ID of the managed login branding style. */ managedLoginBrandingId?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * JSON document with the the settings to apply to the style. */ settings?: pulumi.Input; /** * Settings including Amazon Cognito defaults. */ settingsAll?: pulumi.Input; /** * When `true`, applies the default branding style options. */ useCognitoProvidedValues?: pulumi.Input; /** * User pool the client belongs to. * * The following arguments are optional: */ userPoolId?: pulumi.Input; } /** * The set of arguments for constructing a ManagedLoginBranding resource. */ export interface ManagedLoginBrandingArgs { /** * Image files to apply to roles like backgrounds, logos, and icons. See details below. */ assets?: pulumi.Input[] | undefined>; /** * App client that the branding style is for. */ clientId: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * JSON document with the the settings to apply to the style. */ settings?: pulumi.Input; /** * When `true`, applies the default branding style options. */ useCognitoProvidedValues?: pulumi.Input; /** * User pool the client belongs to. * * The following arguments are optional: */ userPoolId: pulumi.Input; } //# sourceMappingURL=managedLoginBranding.d.ts.map