interface CfnThemeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AmplifyUIBuilder.CfnThemeProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnThemeProps |
Java | software.amazon.awscdk.services.amplifyuibuilder.CfnThemeProps |
Python | aws_cdk.aws_amplifyuibuilder.CfnThemeProps |
TypeScript | aws-cdk-lib » aws_amplifyuibuilder » CfnThemeProps |
Properties for defining a CfnTheme.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplifyuibuilder as amplifyuibuilder } from 'aws-cdk-lib';
declare const themeValuesProperty_: amplifyuibuilder.CfnTheme.ThemeValuesProperty;
const cfnThemeProps: amplifyuibuilder.CfnThemeProps = {
appId: 'appId',
environmentName: 'environmentName',
name: 'name',
overrides: [{
key: 'key',
value: {
children: [themeValuesProperty_],
value: 'value',
},
}],
tags: {
tagsKey: 'tags',
},
values: [{
key: 'key',
value: {
children: [themeValuesProperty_],
value: 'value',
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| app | string | The unique ID for the Amplify app associated with the theme. |
| environment | string | The name of the backend environment that is a part of the Amplify app. |
| name? | string | The name of the theme. |
| overrides? | IResolvable | (IResolvable | Theme)[] | Describes the properties that can be overriden to customize a theme. |
| tags? | { [string]: string } | One or more key-value pairs to use when tagging the theme. |
| values? | IResolvable | (IResolvable | Theme)[] | A list of key-value pairs that defines the properties of the theme. |
appId?
Type:
string
(optional)
The unique ID for the Amplify app associated with the theme.
environmentName?
Type:
string
(optional)
The name of the backend environment that is a part of the Amplify app.
name?
Type:
string
(optional)
The name of the theme.
overrides?
Type:
IResolvable | (IResolvable | Theme)[]
(optional)
Describes the properties that can be overriden to customize a theme.
tags?
Type:
{ [string]: string }
(optional)
One or more key-value pairs to use when tagging the theme.
values?
Type:
IResolvable | (IResolvable | Theme)[]
(optional)
A list of key-value pairs that defines the properties of the theme.

.NET
Go
Java
Python
TypeScript