Interface CfnWorkspacePropsMixin.WorkspaceThemeConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspacePropsMixin.WorkspaceThemeConfigProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspacePropsMixin
@Stability(Stable)
public static interface CfnWorkspacePropsMixin.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.cfnpropertymixins.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 forCfnWorkspacePropsMixin.WorkspaceThemeConfigPropertystatic final classAn implementation forCfnWorkspacePropsMixin.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
IResolvableorCfnWorkspacePropsMixin.WorkspaceThemePaletteProperty- See Also:
-
getTypography
The typography configuration for the workspace theme.Returns union: either
IResolvableorCfnWorkspacePropsMixin.WorkspaceThemeTypographyProperty- See Also:
-
builder
-