CfnUserPoolUICustomizationAttachmentProps Struct
Properties for defining a CfnUserPoolUICustomizationAttachment.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito as cognito
cfn_user_pool_ui_customization_attachment_props = cognito.CfnUserPoolUICustomizationAttachmentProps(
client_id="clientId",
user_pool_id="userPoolId",
# the properties below are optional
css="css"
)
java
// 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.*;
CfnUserPoolUICustomizationAttachmentProps cfnUserPoolUICustomizationAttachmentProps = CfnUserPoolUICustomizationAttachmentProps.builder()
.clientId("clientId")
.userPoolId("userPoolId")
// the properties below are optional
.css("css")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var cfnUserPoolUICustomizationAttachmentProps = new CfnUserPoolUICustomizationAttachmentProps {
ClientId = "clientId",
UserPoolId = "userPoolId",
// the properties below are optional
Css = "css"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnUserPoolUICustomizationAttachmentProps := &CfnUserPoolUICustomizationAttachmentProps{
ClientId: jsii.String("clientId"),
UserPoolId: jsii.String("userPoolId"),
// the properties below are optional
Css: jsii.String("css"),
}
Properties
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..
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 .
userPoolIdstring | IUserPoolRefuser_pool_idtyping.Union[str, IUserPoolRef]userPoolIdStringUserPoolIdstringUserPoolIdinterface{} required #The ID of the user pool where you want to apply branding to the classic hosted UI.