Skip to content
v2.275.0

PaletteHeaderProperty Struct ​

Contains color configuration for header elements in a workspace theme.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const paletteHeaderProperty: connect.CfnWorkspace.PaletteHeaderProperty = {
  background: 'background',
  invertActionsColors: false,
  text: 'text',
  textHover: 'textHover',
};

Properties ​

backgroundoptionalstringbackgroundoptionalstrbackgroundoptionalStringBackgroundoptionalstringBackgroundoptional*string#
The background color of the header.
invertActionsColorsoptionalboolean | IResolvableinvert_actions_colorsoptionaltyping.Union[bool, IResolvable]invertActionsColorsoptionalBooleanInvertActionsColorsoptionalboolInvertActionsColorsoptionalinterface{}#
Whether to invert the colors of action buttons in the header.
textoptionalstringtextoptionalstrtextoptionalStringTextoptionalstringTextoptional*string#
The text color in the header.
textHoveroptionalstringtext_hoveroptionalstrtextHoveroptionalStringTextHoveroptionalstringTextHoveroptional*string#
The text color when hovering over header elements.