aws-cdk-lib.aws_amplifyuibuilder.CfnThemeProps

interface CfnThemeProps

LanguageType name
.NETAmazon.CDK.AWS.AmplifyUIBuilder.CfnThemeProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnThemeProps
Javasoftware.amazon.awscdk.services.amplifyuibuilder.CfnThemeProps
Pythonaws_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 = {
  name: 'name',
  values: [{
    key: 'key',
    value: {
      children: [themeValuesProperty_],
      value: 'value',
    },
  }],

  // the properties below are optional
  appId: 'appId',
  environmentName: 'environmentName',
  overrides: [{
    key: 'key',
    value: {
      children: [themeValuesProperty_],
      value: 'value',
    },
  }],
  tags: {
    tagsKey: 'tags',
  },
};

Properties

NameTypeDescription
namestringThe name of the theme.
valuesIResolvable | IResolvable | ThemeValuesProperty[]A list of key-value pairs that defines the properties of the theme.
appId?stringThe unique ID for the Amplify app associated with the theme.
environmentName?stringThe name of the backend environment that is a part of the Amplify app.
overrides?IResolvable | IResolvable | ThemeValuesProperty[]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.

name

Type: string

The name of the theme.


values

Type: IResolvable | IResolvable | ThemeValuesProperty[]

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.


overrides?

Type: IResolvable | IResolvable | ThemeValuesProperty[] (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.