Class CfnWorkspace.PalettePrimaryProperty
Contains primary color configuration for a workspace theme.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWorkspace.PalettePrimaryProperty : CfnWorkspace.IPalettePrimaryProperty
Syntax (vb)
Public Class CfnWorkspace.PalettePrimaryProperty Implements CfnWorkspace.IPalettePrimaryProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 palettePrimaryProperty = new PalettePrimaryProperty {
Active = "active",
ContrastText = "contrastText",
Default = "default"
};
Synopsis
Constructors
| PalettePrimaryProperty() | Contains primary color configuration for a workspace theme. |
Properties
| Active | The primary color used for active states. |
| ContrastText | The text color that contrasts with the primary color for readability. |
| Default | The default primary color used throughout the workspace. |
Constructors
PalettePrimaryProperty()
Contains primary color configuration for a workspace theme.
public PalettePrimaryProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 palettePrimaryProperty = new PalettePrimaryProperty {
Active = "active",
ContrastText = "contrastText",
Default = "default"
};
Properties
Active
The primary color used for active states.
public string? Active { get; set; }
Property Value
Remarks
ContrastText
The text color that contrasts with the primary color for readability.
public string? ContrastText { get; set; }
Property Value
Remarks
Default
The default primary color used throughout the workspace.
public string? Default { get; set; }