PaletteNavigationProperty
Struct External
Contains color configuration for navigation elements in a workspace theme.
| Source | Generated at build time |
|---|---|
| Type last changed | v2.233.0 · 18 Dec 2025 |
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
background?optionalstringbackground?optionalstrbackground?optionalStringBackground?optionalstringBackground?optional*string #The background color of the navigation area.
invertActionsColors?optionalboolean | IResolvableinvert_actions_colors?optionaltyping.Union[bool, IResolvable]invertActionsColors?optionalBooleanInvertActionsColors?optionalboolInvertActionsColors?optionalinterface{} #Whether to invert the colors of action buttons in the navigation area.
The text color in the navigation area.
textActive?optionalstringtext_active?optionalstrtextActive?optionalStringTextActive?optionalstringTextActive?optional*string #The text color for active navigation items.
textBackgroundActive?optionalstringtext_background_active?optionalstrtextBackgroundActive?optionalStringTextBackgroundActive?optionalstringTextBackgroundActive?optional*string #The background color for active navigation items.
textBackgroundHover?optionalstringtext_background_hover?optionalstrtextBackgroundHover?optionalStringTextBackgroundHover?optionalstringTextBackgroundHover?optional*string #The background color when hovering over navigation text.
textHover?optionalstringtext_hover?optionalstrtextHover?optionalStringTextHover?optionalstringTextHover?optional*string #The text color when hovering over navigation items.