interface PalettePrimaryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Connect.CfnWorkspace.PalettePrimaryProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnWorkspace_PalettePrimaryProperty |
Java | software.amazon.awscdk.services.connect.CfnWorkspace.PalettePrimaryProperty |
Python | aws_cdk.aws_connect.CfnWorkspace.PalettePrimaryProperty |
TypeScript | aws-cdk-lib » aws_connect » CfnWorkspace » PalettePrimaryProperty |
Contains primary color configuration for a workspace theme.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const palettePrimaryProperty: connect.CfnWorkspace.PalettePrimaryProperty = {
active: 'active',
contrastText: 'contrastText',
default: 'default',
};
Properties
| Name | Type | Description |
|---|---|---|
| active? | string | The primary color used for active states. |
| contrast | string | The text color that contrasts with the primary color for readability. |
| default? | string | The default primary color used throughout the workspace. |
active?
Type:
string
(optional)
The primary color used for active states.
contrastText?
Type:
string
(optional)
The text color that contrasts with the primary color for readability.
default?
Type:
string
(optional)
The default primary color used throughout the workspace.

.NET
Go
Java
Python
TypeScript