Class CfnManagedLoginBrandingPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
This operation is the programmatic option for the creation of a new style in the branding designer.
Provides values for UI customization in a Settings JSON object and image files in an Assets array. To send the JSON object Document type parameter in Settings , you might need to update to the most recent version of your AWS SDK.
This operation has a 2-megabyte request-size limit and include the CSS settings and image assets for your app client. Your branding settings might exceed 2MB in size. Amazon Cognito doesn't require that you pass all parameters in one request and preserves existing style settings that you don't specify. If your request is larger than 2MB, separate it into multiple requests, each with a size smaller than the limit.
As a best practice, modify the output of DescribeManagedLoginBrandingByClient into the request parameters for this operation. To get all settings, set ReturnMergedResources to true . For more information, see API and SDK operations for managed login branding
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.cognito.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
Object settings;
CfnManagedLoginBrandingPropsMixin cfnManagedLoginBrandingPropsMixin = CfnManagedLoginBrandingPropsMixin.Builder.create(CfnManagedLoginBrandingMixinProps.builder()
.assets(List.of(AssetTypeProperty.builder()
.bytes("bytes")
.category("category")
.colorMode("colorMode")
.extension("extension")
.resourceId("resourceId")
.build()))
.clientId("clientId")
.returnMergedResources(false)
.settings(settings)
.useCognitoProvidedValues(false)
.userPoolId("userPoolId")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn image file from a managed login branding style in a user pool.static final classA fluent builder forCfnManagedLoginBrandingPropsMixin.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::Cognito::ManagedLoginBranding.CfnManagedLoginBrandingPropsMixin(CfnManagedLoginBrandingMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Cognito::ManagedLoginBranding.protectedCfnManagedLoginBrandingPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnManagedLoginBrandingPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnManagedLoginBrandingMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnManagedLoginBrandingPropsMixin
protected CfnManagedLoginBrandingPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnManagedLoginBrandingPropsMixin
protected CfnManagedLoginBrandingPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnManagedLoginBrandingPropsMixin
@Stability(Stable) public CfnManagedLoginBrandingPropsMixin(@NotNull CfnManagedLoginBrandingMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Cognito::ManagedLoginBranding.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnManagedLoginBrandingPropsMixin
@Stability(Stable) public CfnManagedLoginBrandingPropsMixin(@NotNull CfnManagedLoginBrandingMixinProps props) Create a mixin to apply properties toAWS::Cognito::ManagedLoginBranding.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-