Skip to content
v2.277.0

ConditionalFormattingSolidColorProperty Struct ​

Formatting configuration for solid color.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const conditionalFormattingSolidColorProperty: quicksight.CfnTemplate.ConditionalFormattingSolidColorProperty = {
  expression: 'expression',

  // the properties below are optional
  color: 'color',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

conditional_formatting_solid_color_property = quicksight.CfnTemplate.ConditionalFormattingSolidColorProperty(
    expression="expression",

    # the properties below are optional
    color="color"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;

ConditionalFormattingSolidColorProperty conditionalFormattingSolidColorProperty = ConditionalFormattingSolidColorProperty.builder()
        .expression("expression")

        // the properties below are optional
        .color("color")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var conditionalFormattingSolidColorProperty = new ConditionalFormattingSolidColorProperty {
    Expression = "expression",

    // the properties below are optional
    Color = "color"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

conditionalFormattingSolidColorProperty := &ConditionalFormattingSolidColorProperty{
	Expression: jsii.String("expression"),

	// the properties below are optional
	Color: jsii.String("color"),
}

Properties ​

coloroptionalstringcoloroptionalstrcoloroptionalStringColoroptionalstringColoroptional*string#
Determines the color.
expressionstringexpressionstrexpressionStringExpressionstringExpression*stringrequired#
The expression that determines the formatting configuration for solid color.