AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::QuickSight::Theme

CfnTheme

Creates a theme. A *theme* is set of configuration options for color and layout. Themes apply to analyses and dashboards. For more information, see [Using Themes in Amazon Quick](https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html) in the *Amazon Quick User Guide* .

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnThemeProps.

awsAccountIdRequired
string

The ID of the AWS account where you want to store the new theme.

baseThemeIdRequired
string

The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon Quick Sight. For a list of the starting themes, use `ListThemes` or choose *Themes* from within an analysis.

configurationRequired
IResolvable | ThemeConfigurationProperty

The theme configuration, which contains the theme display properties.

nameRequired
string

A display name for the theme.

themeIdRequired
string

An ID for the theme that you want to create. The theme ID is unique per AWS Region in each AWS account.

permissionsOptional
IResolvable | IResolvable | ResourcePermissionProperty[]

A valid grouping of resource permissions to apply to the new theme.

tagsOptional
CfnTag[]

A map of the key-value pairs for the resource tag or tags that you want to add to the resource.

versionDescriptionOptional
string

A description of the first version of the theme that you're creating. Every time `UpdateTheme` is called, a new version is created. Each version of the theme has a description of the version in the `VersionDescription` field.

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