

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::AmplifyUIBuilder::Theme
<a name="aws-resource-amplifyuibuilder-theme"></a>

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.

## Syntax
<a name="aws-resource-amplifyuibuilder-theme-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-amplifyuibuilder-theme-syntax.json"></a>

```
{
  "Type" : "AWS::AmplifyUIBuilder::Theme",
  "Properties" : {
      "[AppId](#cfn-amplifyuibuilder-theme-appid)" : String,
      "[EnvironmentName](#cfn-amplifyuibuilder-theme-environmentname)" : String,
      "[Name](#cfn-amplifyuibuilder-theme-name)" : String,
      "[Overrides](#cfn-amplifyuibuilder-theme-overrides)" : [ ThemeValues, ... ],
      "[Tags](#cfn-amplifyuibuilder-theme-tags)" : {Key: Value, ...},
      "[Values](#cfn-amplifyuibuilder-theme-values)" : [ ThemeValues, ... ]
    }
}
```

### YAML
<a name="aws-resource-amplifyuibuilder-theme-syntax.yaml"></a>

```
Type: AWS::AmplifyUIBuilder::Theme
Properties:
  [AppId](#cfn-amplifyuibuilder-theme-appid): String
  [EnvironmentName](#cfn-amplifyuibuilder-theme-environmentname): String
  [Name](#cfn-amplifyuibuilder-theme-name): String
  [Overrides](#cfn-amplifyuibuilder-theme-overrides): 
    - ThemeValues
  [Tags](#cfn-amplifyuibuilder-theme-tags): 
    Key: Value
  [Values](#cfn-amplifyuibuilder-theme-values): 
    - ThemeValues
```

## Properties
<a name="aws-resource-amplifyuibuilder-theme-properties"></a>

`AppId`  <a name="cfn-amplifyuibuilder-theme-appid"></a>
The unique ID for the Amplify app associated with the theme.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`EnvironmentName`  <a name="cfn-amplifyuibuilder-theme-environmentname"></a>
The name of the backend environment that is a part of the Amplify app.  
*Required*: No  
*Type*: String  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Name`  <a name="cfn-amplifyuibuilder-theme-name"></a>
The name of the theme.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `255`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Overrides`  <a name="cfn-amplifyuibuilder-theme-overrides"></a>
Describes the properties that can be overriden to customize a theme.  
*Required*: No  
*Type*: Array of [ThemeValues](aws-properties-amplifyuibuilder-theme-themevalues.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-amplifyuibuilder-theme-tags"></a>
One or more key-value pairs to use when tagging the theme.  
*Required*: No  
*Type*: Object of String  
*Pattern*: `^(?!aws:)[a-zA-Z+-=._:/]+$`  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Values`  <a name="cfn-amplifyuibuilder-theme-values"></a>
A list of key-value pairs that defines the properties of the theme.  
*Required*: No  
*Type*: Array of [ThemeValues](aws-properties-amplifyuibuilder-theme-themevalues.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-amplifyuibuilder-theme-return-values"></a>

### Fn::GetAtt
<a name="aws-resource-amplifyuibuilder-theme-return-values-fn--getatt"></a>

The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the `Fn::GetAtt` intrinsic function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-amplifyuibuilder-theme-return-values-fn--getatt-fn--getatt"></a>

`CreatedAt`  <a name="CreatedAt-fn::getatt"></a>
The time that the theme was created.

`Id`  <a name="Id-fn::getatt"></a>
The ID for the theme.

`ModifiedAt`  <a name="ModifiedAt-fn::getatt"></a>
The time that the theme was modified.

# AWS::AmplifyUIBuilder::Theme ThemeValue
<a name="aws-properties-amplifyuibuilder-theme-themevalue"></a>

The `ThemeValue` property specifies the configuration of a theme's properties.

## Syntax
<a name="aws-properties-amplifyuibuilder-theme-themevalue-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-amplifyuibuilder-theme-themevalue-syntax.json"></a>

```
{
  "[Children](#cfn-amplifyuibuilder-theme-themevalue-children)" : [ ThemeValues, ... ],
  "[Value](#cfn-amplifyuibuilder-theme-themevalue-value)" : String
}
```

### YAML
<a name="aws-properties-amplifyuibuilder-theme-themevalue-syntax.yaml"></a>

```
  [Children](#cfn-amplifyuibuilder-theme-themevalue-children): 
    - ThemeValues
  [Value](#cfn-amplifyuibuilder-theme-themevalue-value): String
```

## Properties
<a name="aws-properties-amplifyuibuilder-theme-themevalue-properties"></a>

`Children`  <a name="cfn-amplifyuibuilder-theme-themevalue-children"></a>
A list of key-value pairs that define the theme's properties.  
*Required*: No  
*Type*: Array of [ThemeValues](aws-properties-amplifyuibuilder-theme-themevalues.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-amplifyuibuilder-theme-themevalue-value"></a>
The value of a theme property.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::AmplifyUIBuilder::Theme ThemeValues
<a name="aws-properties-amplifyuibuilder-theme-themevalues"></a>

The `ThemeValues` property specifies key-value pair that defines a property of a theme.

## Syntax
<a name="aws-properties-amplifyuibuilder-theme-themevalues-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-amplifyuibuilder-theme-themevalues-syntax.json"></a>

```
{
  "[Key](#cfn-amplifyuibuilder-theme-themevalues-key)" : String,
  "[Value](#cfn-amplifyuibuilder-theme-themevalues-value)" : ThemeValue
}
```

### YAML
<a name="aws-properties-amplifyuibuilder-theme-themevalues-syntax.yaml"></a>

```
  [Key](#cfn-amplifyuibuilder-theme-themevalues-key): String
  [Value](#cfn-amplifyuibuilder-theme-themevalues-value): 
    ThemeValue
```

## Properties
<a name="aws-properties-amplifyuibuilder-theme-themevalues-properties"></a>

`Key`  <a name="cfn-amplifyuibuilder-theme-themevalues-key"></a>
The name of the property.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-amplifyuibuilder-theme-themevalues-value"></a>
The value of the property.  
*Required*: No  
*Type*: [ThemeValue](aws-properties-amplifyuibuilder-theme-themevalue.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)