interface CfnUserPoolUICustomizationAttachmentProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cognito.CfnUserPoolUICustomizationAttachmentProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPoolUICustomizationAttachmentProps |
![]() | software.amazon.awscdk.services.cognito.CfnUserPoolUICustomizationAttachmentProps |
![]() | aws_cdk.aws_cognito.CfnUserPoolUICustomizationAttachmentProps |
![]() | aws-cdk-lib » aws_cognito » CfnUserPoolUICustomizationAttachmentProps |
Properties for defining a CfnUserPoolUICustomizationAttachment
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const cfnUserPoolUICustomizationAttachmentProps: cognito.CfnUserPoolUICustomizationAttachmentProps = {
clientId: 'clientId',
userPoolId: 'userPoolId',
// the properties below are optional
css: 'css',
};
Properties
Name | Type | Description |
---|---|---|
client | string | The app client ID for your UI customization. |
user | string | The ID of the user pool where you want to apply branding to the classic hosted UI. |
css? | string | A plaintext CSS file that contains the custom fields that you want to apply to your user pool or app client. |
clientId
Type:
string
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..
userPoolId
Type:
string
The ID of the user pool where you want to apply branding to the classic hosted UI.
css?
Type:
string
(optional)
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
.