Skip to content
v2.273.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 ​

backgroundstringbackgroundstrbackgroundStringBackgroundstringBackground*string#
The background color of the header.
invertActionsColorsboolean | IResolvableinvert_actions_colorstyping.Union[bool, IResolvable]invertActionsColorsBooleanInvertActionsColorsboolInvertActionsColorsinterface{}#
Whether to invert the colors of action buttons in the header.
textstringtextstrtextStringTextstringText*string#
The text color in the header.
textHoverstringtext_hoverstrtextHoverStringTextHoverstringTextHover*string#
The text color when hovering over header elements.