Skip to content
v2.278.0

PaletteHeaderProperty ​

Struct External

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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

palette_header_property = connect.CfnWorkspace.PaletteHeaderProperty(
    background="background",
    invert_actions_colors=False,
    text="text",
    text_hover="textHover"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;

PaletteHeaderProperty paletteHeaderProperty = PaletteHeaderProperty.builder()
        .background("background")
        .invertActionsColors(false)
        .text("text")
        .textHover("textHover")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;

var paletteHeaderProperty = new PaletteHeaderProperty {
    Background = "background",
    InvertActionsColors = false,
    Text = "text",
    TextHover = "textHover"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

paletteHeaderProperty := &PaletteHeaderProperty{
	Background: jsii.String("background"),
	InvertActionsColors: jsii.Boolean(false),
	Text: jsii.String("text"),
	TextHover: jsii.String("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.