AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::AmplifyUIBuilder::Theme

CfnTheme

The AWS::AmplifyUIBuilder::Theme resource specifies a theme within an Amplify app. A theme is a collection of style settings that apply globally to the components associated with the app.

Import

import { CfnTheme } from 'aws-cdk-lib/aws-amplifyuibuilder';

Or use the module namespace:

import * as amplifyuibuilder from 'aws-cdk-lib/aws-amplifyuibuilder';
// amplifyuibuilder.CfnTheme

Properties

Configuration passed to the constructor as CfnThemeProps.

appIdOptional
string

The unique ID for the Amplify app associated with the theme.

environmentNameOptional
string

The name of the backend environment that is a part of the Amplify app.

nameOptional
string

The name of the theme.

overridesOptional
IResolvable | IResolvable | ThemeValuesProperty[]

Describes the properties that can be overriden to customize a theme.

tagsOptional
{ [key: string]: string }

One or more key-value pairs to use when tagging the theme.

valuesOptional
IResolvable | IResolvable | ThemeValuesProperty[]

A list of key-value pairs that defines the properties of the theme.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-amplifyuibuilder
CFN TypeAWS::AmplifyUIBuilder::Theme
Properties6

Related Constructs

External Links