

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

# AWS::Connect::Workspace WorkspaceTheme
<a name="aws-properties-connect-workspace-workspacetheme"></a>

Contains theme configuration for a workspace, supporting both light and dark modes.

## Syntax
<a name="aws-properties-connect-workspace-workspacetheme-syntax"></a>

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

### JSON
<a name="aws-properties-connect-workspace-workspacetheme-syntax.json"></a>

```
{
  "[Dark](#cfn-connect-workspace-workspacetheme-dark)" : {{WorkspaceThemeConfig}},
  "[Light](#cfn-connect-workspace-workspacetheme-light)" : {{WorkspaceThemeConfig}}
}
```

### YAML
<a name="aws-properties-connect-workspace-workspacetheme-syntax.yaml"></a>

```
  [Dark](#cfn-connect-workspace-workspacetheme-dark): {{
    WorkspaceThemeConfig}}
  [Light](#cfn-connect-workspace-workspacetheme-light): {{
    WorkspaceThemeConfig}}
```

## Properties
<a name="aws-properties-connect-workspace-workspacetheme-properties"></a>

`Dark`  <a name="cfn-connect-workspace-workspacetheme-dark"></a>
The theme configuration for dark mode.  
*Required*: No  
*Type*: [WorkspaceThemeConfig](aws-properties-connect-workspace-workspacethemeconfig.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Light`  <a name="cfn-connect-workspace-workspacetheme-light"></a>
The theme configuration for light mode.  
*Required*: No  
*Type*: [WorkspaceThemeConfig](aws-properties-connect-workspace-workspacethemeconfig.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)