Interface CfnManagedLoginBrandingProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnManagedLoginBrandingProps.Jsii$Proxy
CfnManagedLoginBranding.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
Object settings;
CfnManagedLoginBrandingProps cfnManagedLoginBrandingProps = CfnManagedLoginBrandingProps.builder()
.userPoolId("userPoolId")
// the properties below are optional
.assets(List.of(AssetTypeProperty.builder()
.category("category")
.colorMode("colorMode")
.extension("extension")
// the properties below are optional
.bytes("bytes")
.resourceId("resourceId")
.build()))
.clientId("clientId")
.returnMergedResources(false)
.settings(settings)
.useCognitoProvidedValues(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnManagedLoginBrandingPropsstatic final classAn implementation forCfnManagedLoginBrandingProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn array of image files that you want to apply to roles like backgrounds, logos, and icons.default StringThe app client that you want to assign the branding style to.default ObjectWhentrue, returns values for branding options that are unchanged from Amazon Cognito defaults.default ObjectA JSON file, encoded as aDocumenttype, with the the settings that you want to apply to your style.default ObjectWhen true, applies the default branding style options.The user pool where the branding style is assigned.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUserPoolId
The user pool where the branding style is assigned.- See Also:
-
getAssets
An array of image files that you want to apply to roles like backgrounds, logos, and icons.Each object must also indicate whether it is for dark mode, light mode, or browser-adaptive mode.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnManagedLoginBranding.AssetTypeProperty>- See Also:
-
getClientId
The app client that you want to assign the branding style to.Each style is linked to an app client until you delete it.
- See Also:
-
getReturnMergedResources
Whentrue, returns values for branding options that are unchanged from Amazon Cognito defaults.When
falseor when you omit this parameter, returns only values that you customized in your branding style.Returns union: either
BooleanorIResolvable- See Also:
-
getSettings
A JSON file, encoded as aDocumenttype, with the the settings that you want to apply to your style.The following components are not currently implemented and reserved for future use:
signUpinstructionssessionTimerDisplaylanguageSelector(for localization, see Managed login localization)
- See Also:
-
getUseCognitoProvidedValues
When true, applies the default branding style options.This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding editor.
When you specify
truefor this option, you must also omit values forSettingsandAssetsin the request.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-