interface PalettePrimaryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Connect.CfnWorkspacePropsMixin.PalettePrimaryProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsconnect#CfnWorkspacePropsMixin_PalettePrimaryProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.connect.CfnWorkspacePropsMixin.PalettePrimaryProperty |
Python | aws_cdk.cfn_property_mixins.aws_connect.CfnWorkspacePropsMixin.PalettePrimaryProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_connect » CfnWorkspacePropsMixin » 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/cfn-property-mixins';
const palettePrimaryProperty: connect.CfnWorkspacePropsMixin.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