Skip to content
v2.278.0

PaletteNavigationProperty ​

Struct External

Contains color configuration for navigation 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 paletteNavigationProperty: connect.CfnWorkspace.PaletteNavigationProperty = {
  background: 'background',
  invertActionsColors: false,
  text: 'text',
  textActive: 'textActive',
  textBackgroundActive: 'textBackgroundActive',
  textBackgroundHover: 'textBackgroundHover',
  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_navigation_property = connect.CfnWorkspace.PaletteNavigationProperty(
    background="background",
    invert_actions_colors=False,
    text="text",
    text_active="textActive",
    text_background_active="textBackgroundActive",
    text_background_hover="textBackgroundHover",
    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.*;

PaletteNavigationProperty paletteNavigationProperty = PaletteNavigationProperty.builder()
        .background("background")
        .invertActionsColors(false)
        .text("text")
        .textActive("textActive")
        .textBackgroundActive("textBackgroundActive")
        .textBackgroundHover("textBackgroundHover")
        .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 paletteNavigationProperty = new PaletteNavigationProperty {
    Background = "background",
    InvertActionsColors = false,
    Text = "text",
    TextActive = "textActive",
    TextBackgroundActive = "textBackgroundActive",
    TextBackgroundHover = "textBackgroundHover",
    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"

paletteNavigationProperty := &PaletteNavigationProperty{
	Background: jsii.String("background"),
	InvertActionsColors: jsii.Boolean(false),
	Text: jsii.String("text"),
	TextActive: jsii.String("textActive"),
	TextBackgroundActive: jsii.String("textBackgroundActive"),
	TextBackgroundHover: jsii.String("textBackgroundHover"),
	TextHover: jsii.String("textHover"),
}

Properties ​

backgroundoptionalstringbackgroundoptionalstrbackgroundoptionalStringBackgroundoptionalstringBackgroundoptional*string #
The background color of the navigation area.
invertActionsColorsoptionalboolean | IResolvableinvert_actions_colorsoptionaltyping.Union[bool, IResolvable]invertActionsColorsoptionalBooleanInvertActionsColorsoptionalboolInvertActionsColorsoptionalinterface{} #
Whether to invert the colors of action buttons in the navigation area.
textoptionalstringtextoptionalstrtextoptionalStringTextoptionalstringTextoptional*string #
The text color in the navigation area.
textActiveoptionalstringtext_activeoptionalstrtextActiveoptionalStringTextActiveoptionalstringTextActiveoptional*string #
The text color for active navigation items.
textBackgroundActiveoptionalstringtext_background_activeoptionalstrtextBackgroundActiveoptionalStringTextBackgroundActiveoptionalstringTextBackgroundActiveoptional*string #
The background color for active navigation items.
textBackgroundHoveroptionalstringtext_background_hoveroptionalstrtextBackgroundHoveroptionalStringTextBackgroundHoveroptionalstringTextBackgroundHoveroptional*string #
The background color when hovering over navigation text.
textHoveroptionalstringtext_hoveroptionalstrtextHoveroptionalStringTextHoveroptionalstringTextHoveroptional*string #
The text color when hovering over navigation items.