Skip to content
v2.277.0

RowAlternateColorOptionsProperty Struct ​

Determines the row alternate color options.

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 rowAlternateColorOptionsProperty: quicksight.CfnAnalysis.RowAlternateColorOptionsProperty = {
  rowAlternateColors: ['rowAlternateColors'],
  status: 'status',
  usePrimaryBackgroundColor: 'usePrimaryBackgroundColor',
};
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

row_alternate_color_options_property = quicksight.CfnAnalysis.RowAlternateColorOptionsProperty(
    row_alternate_colors=["rowAlternateColors"],
    status="status",
    use_primary_background_color="usePrimaryBackgroundColor"
)
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.*;

RowAlternateColorOptionsProperty rowAlternateColorOptionsProperty = RowAlternateColorOptionsProperty.builder()
        .rowAlternateColors(List.of("rowAlternateColors"))
        .status("status")
        .usePrimaryBackgroundColor("usePrimaryBackgroundColor")
        .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 rowAlternateColorOptionsProperty = new RowAlternateColorOptionsProperty {
    RowAlternateColors = new [] { "rowAlternateColors" },
    Status = "status",
    UsePrimaryBackgroundColor = "usePrimaryBackgroundColor"
};
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"

rowAlternateColorOptionsProperty := &RowAlternateColorOptionsProperty{
	RowAlternateColors: []*string{
		jsii.String("rowAlternateColors"),
	},
	Status: jsii.String("status"),
	UsePrimaryBackgroundColor: jsii.String("usePrimaryBackgroundColor"),
}

Properties ​

rowAlternateColorsoptionalstring[]row_alternate_colorsoptionaltyping.List[str]rowAlternateColorsoptionalList<String>RowAlternateColorsoptionalstring[]RowAlternateColorsoptional*[]*string#
Determines the list of row alternate colors.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string#
Determines the widget status.
usePrimaryBackgroundColoroptionalstringuse_primary_background_coloroptionalstrusePrimaryBackgroundColoroptionalStringUsePrimaryBackgroundColoroptionalstringUsePrimaryBackgroundColoroptional*string#
The primary background color options for alternate rows.