Interface CfnWorkspaceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnWorkspaceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)", date="2025-12-18T18:20:07.804Z") @Stability(Stable) public interface CfnWorkspaceProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnWorkspace.

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.*;
 CfnWorkspaceProps cfnWorkspaceProps = CfnWorkspaceProps.builder()
         .instanceArn("instanceArn")
         .name("name")
         // the properties below are optional
         .associations(List.of("associations"))
         .description("description")
         .media(List.of(MediaItemProperty.builder()
                 .type("type")
                 // the properties below are optional
                 .source("source")
                 .build()))
         .pages(List.of(WorkspacePageProperty.builder()
                 .page("page")
                 .resourceArn("resourceArn")
                 // the properties below are optional
                 .inputData("inputData")
                 .slug("slug")
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .theme(WorkspaceThemeProperty.builder()
                 .dark(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())
                 .light(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())
                 .build())
         .title("title")
         .visibility("visibility")
         .build();
 

See Also: