Interface CfnWorkspace.WorkspaceThemePaletteProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspace.WorkspaceThemePaletteProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspace
@Stability(Stable)
public static interface CfnWorkspace.WorkspaceThemePaletteProperty
extends software.amazon.jsii.JsiiSerializable
Contains color palette configuration for different areas of a workspace.
Example:
// 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.*;
WorkspaceThemePaletteProperty workspaceThemePaletteProperty = WorkspaceThemePaletteProperty.builder()
.canvas(PaletteCanvasProperty.builder()
.activeBackground("activeBackground")
.containerBackground("containerBackground")
.pageBackground("pageBackground")
.build())
.header(PaletteHeaderProperty.builder()
.background("background")
.invertActionsColors(false)
.text("text")
.textHover("textHover")
.build())
.navigation(PaletteNavigationProperty.builder()
.background("background")
.invertActionsColors(false)
.text("text")
.textActive("textActive")
.textBackgroundActive("textBackgroundActive")
.textBackgroundHover("textBackgroundHover")
.textHover("textHover")
.build())
.primary(PalettePrimaryProperty.builder()
.active("active")
.contrastText("contrastText")
.default("default")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspace.WorkspaceThemePalettePropertystatic final classAn implementation forCfnWorkspace.WorkspaceThemePaletteProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe color configuration for the canvas area.default ObjectThe color configuration for the header area.default ObjectThe color configuration for the navigation area.default ObjectThe primary color configuration used throughout the workspace.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCanvas
The color configuration for the canvas area.Returns union: either
IResolvableorCfnWorkspace.PaletteCanvasProperty- See Also:
-
getHeader
The color configuration for the header area.Returns union: either
IResolvableorCfnWorkspace.PaletteHeaderProperty- See Also:
-
getPrimary
The primary color configuration used throughout the workspace.Returns union: either
IResolvableorCfnWorkspace.PalettePrimaryProperty- See Also:
-
builder
-