CfnUserPoolUICustomizationAttachmentMixinProps
- class aws_cdk.mixins_preview.aws_cognito.mixins.CfnUserPoolUICustomizationAttachmentMixinProps(*, client_id=None, css=None, user_pool_id=None)
Bases:
objectProperties for CfnUserPoolUICustomizationAttachmentPropsMixin.
- Parameters:
client_id (
Optional[str]) – The app client ID for your UI customization. When this value isn’t present, the customization applies to all user pool app clients that don’t have client-level settings..css (
Optional[str]) – A plaintext CSS file that contains the custom fields that you want to apply to your user pool or app client. To download a template, go to the Amazon Cognito console. Navigate to your user pool App clients tab, select Login pages , edit Hosted UI (classic) style , and select the link toCSS template.css.user_pool_id (
Optional[str]) – The ID of the user pool where you want to apply branding to the classic hosted UI.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_cognito import mixins as cognito_mixins cfn_user_pool_uICustomization_attachment_mixin_props = cognito_mixins.CfnUserPoolUICustomizationAttachmentMixinProps( client_id="clientId", css="css", user_pool_id="userPoolId" )
Attributes
- client_id
The app client ID for your UI customization.
When this value isn’t present, the customization applies to all user pool app clients that don’t have client-level settings..
- css
A plaintext CSS file that contains the custom fields that you want to apply to your user pool or app client.
To download a template, go to the Amazon Cognito console. Navigate to your user pool App clients tab, select Login pages , edit Hosted UI (classic) style , and select the link to
CSS template.css.
- user_pool_id
The ID of the user pool where you want to apply branding to the classic hosted UI.