This template customizes the user interface for all clients in an AWS Cognito User Pool, applying universal CSS and logo settings.

Terraform Template

resource "aws_cognito_user_pool" "example" {
  name = "example"
}

resource "aws_cognito_user_pool_domain" "example" {
  domain = "example"
  user_pool_id = aws_cognito_user_pool.example.id
}

resource "aws_cognito_user_pool_ui_customization" "example" {
  css = ".label-customizable {font-weight: 400;}"
  image_file = filebase64("logo.png")
  user_pool_id = aws_cognito_user_pool_domain.example.user_pool_id
}