aws-cdk-lib.aws_quicksight.CfnTemplate.TableRowConditionalFormattingProperty

interface TableRowConditionalFormattingProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnTemplate.TableRowConditionalFormattingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_TableRowConditionalFormattingProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnTemplate.TableRowConditionalFormattingProperty
Pythonaws_cdk.aws_quicksight.CfnTemplate.TableRowConditionalFormattingProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnTemplate » TableRowConditionalFormattingProperty

The conditional formatting of a table row.

Example

// 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 tableRowConditionalFormattingProperty: quicksight.CfnTemplate.TableRowConditionalFormattingProperty = {
  backgroundColor: {
    gradient: {
      color: {
        stops: [{
          gradientOffset: 123,

          // the properties below are optional
          color: 'color',
          dataValue: 123,
        }],
      },
      expression: 'expression',
    },
    solid: {
      expression: 'expression',

      // the properties below are optional
      color: 'color',
    },
  },
  textColor: {
    gradient: {
      color: {
        stops: [{
          gradientOffset: 123,

          // the properties below are optional
          color: 'color',
          dataValue: 123,
        }],
      },
      expression: 'expression',
    },
    solid: {
      expression: 'expression',

      // the properties below are optional
      color: 'color',
    },
  },
};

Properties

NameTypeDescription
backgroundColor?IResolvable | ConditionalFormattingColorPropertyThe conditional formatting color (solid, gradient) of the background for a table row.
textColor?IResolvable | ConditionalFormattingColorPropertyThe conditional formatting color (solid, gradient) of the text for a table row.

backgroundColor?

Type: IResolvable | ConditionalFormattingColorProperty (optional)

The conditional formatting color (solid, gradient) of the background for a table row.


textColor?

Type: IResolvable | ConditionalFormattingColorProperty (optional)

The conditional formatting color (solid, gradient) of the text for a table row.