Interface CfnWorkspace.WorkspaceThemeConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspace.WorkspaceThemeConfigProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspace
@Stability(Stable)
public static interface CfnWorkspace.WorkspaceThemeConfigProperty
extends software.amazon.jsii.JsiiSerializable
Contains detailed theme configuration for a workspace, including colors, images, and typography.
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.*;
WorkspaceThemeConfigProperty workspaceThemeConfigProperty = WorkspaceThemeConfigProperty.builder()
.palette(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())
.typography(WorkspaceThemeTypographyProperty.builder()
.fontFamily(FontFamilyProperty.builder()
.default("default")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspace.WorkspaceThemeConfigPropertystatic final classAn implementation forCfnWorkspace.WorkspaceThemeConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPalette
The color palette configuration for the workspace theme.Returns union: either
IResolvableorCfnWorkspace.WorkspaceThemePaletteProperty- See Also:
-
getTypography
The typography configuration for the workspace theme.Returns union: either
IResolvableorCfnWorkspace.WorkspaceThemeTypographyProperty- See Also:
-
builder
-