Skip to content
v2.278.0

BodySectionRepeatConfigurationProperty Struct ​

Describes the configurations that are required to declare a section as repeating.

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 bodySectionRepeatConfigurationProperty: quicksight.CfnAnalysis.BodySectionRepeatConfigurationProperty = {
  dimensionConfigurations: [{
    dynamicCategoryDimensionConfiguration: {
      column: {
        columnName: 'columnName',

        // the properties below are optional
        dataSetIdentifier: 'dataSetIdentifier',
        topicIdentifier: 'topicIdentifier',
      },

      // the properties below are optional
      limit: 123,
      sortByMetrics: [{
        direction: 'direction',
        sortBy: {
          columnName: 'columnName',

          // the properties below are optional
          dataSetIdentifier: 'dataSetIdentifier',
          topicIdentifier: 'topicIdentifier',
        },

        // the properties below are optional
        aggregationFunction: {
          attributeAggregationFunction: {
            simpleAttributeAggregation: 'simpleAttributeAggregation',
            valueForMultipleValues: 'valueForMultipleValues',
          },
          categoricalAggregationFunction: 'categoricalAggregationFunction',
          dateAggregationFunction: 'dateAggregationFunction',
          numericalAggregationFunction: {
            percentileAggregation: {
              percentileValue: 123,
            },
            simpleNumericalAggregation: 'simpleNumericalAggregation',
          },
        },
      }],
    },
    dynamicNumericDimensionConfiguration: {
      column: {
        columnName: 'columnName',

        // the properties below are optional
        dataSetIdentifier: 'dataSetIdentifier',
        topicIdentifier: 'topicIdentifier',
      },

      // the properties below are optional
      limit: 123,
      sortByMetrics: [{
        direction: 'direction',
        sortBy: {
          columnName: 'columnName',

          // the properties below are optional
          dataSetIdentifier: 'dataSetIdentifier',
          topicIdentifier: 'topicIdentifier',
        },

        // the properties below are optional
        aggregationFunction: {
          attributeAggregationFunction: {
            simpleAttributeAggregation: 'simpleAttributeAggregation',
            valueForMultipleValues: 'valueForMultipleValues',
          },
          categoricalAggregationFunction: 'categoricalAggregationFunction',
          dateAggregationFunction: 'dateAggregationFunction',
          numericalAggregationFunction: {
            percentileAggregation: {
              percentileValue: 123,
            },
            simpleNumericalAggregation: 'simpleNumericalAggregation',
          },
        },
      }],
    },
  }],
  nonRepeatingVisuals: ['nonRepeatingVisuals'],
  pageBreakConfiguration: {
    after: {
      status: 'status',
    },
  },
};
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

body_section_repeat_configuration_property = quicksight.CfnAnalysis.BodySectionRepeatConfigurationProperty(
    dimension_configurations=[quicksight.CfnAnalysis.BodySectionRepeatDimensionConfigurationProperty(
        dynamic_category_dimension_configuration=quicksight.CfnAnalysis.BodySectionDynamicCategoryDimensionConfigurationProperty(
            column=quicksight.CfnAnalysis.ColumnIdentifierProperty(
                column_name="columnName",

                # the properties below are optional
                data_set_identifier="dataSetIdentifier",
                topic_identifier="topicIdentifier"
            ),

            # the properties below are optional
            limit=123,
            sort_by_metrics=[quicksight.CfnAnalysis.ColumnSortProperty(
                direction="direction",
                sort_by=quicksight.CfnAnalysis.ColumnIdentifierProperty(
                    column_name="columnName",

                    # the properties below are optional
                    data_set_identifier="dataSetIdentifier",
                    topic_identifier="topicIdentifier"
                ),

                # the properties below are optional
                aggregation_function=quicksight.CfnAnalysis.AggregationFunctionProperty(
                    attribute_aggregation_function=quicksight.CfnAnalysis.AttributeAggregationFunctionProperty(
                        simple_attribute_aggregation="simpleAttributeAggregation",
                        value_for_multiple_values="valueForMultipleValues"
                    ),
                    categorical_aggregation_function="categoricalAggregationFunction",
                    date_aggregation_function="dateAggregationFunction",
                    numerical_aggregation_function=quicksight.CfnAnalysis.NumericalAggregationFunctionProperty(
                        percentile_aggregation=quicksight.CfnAnalysis.PercentileAggregationProperty(
                            percentile_value=123
                        ),
                        simple_numerical_aggregation="simpleNumericalAggregation"
                    )
                )
            )]
        ),
        dynamic_numeric_dimension_configuration=quicksight.CfnAnalysis.BodySectionDynamicNumericDimensionConfigurationProperty(
            column=quicksight.CfnAnalysis.ColumnIdentifierProperty(
                column_name="columnName",

                # the properties below are optional
                data_set_identifier="dataSetIdentifier",
                topic_identifier="topicIdentifier"
            ),

            # the properties below are optional
            limit=123,
            sort_by_metrics=[quicksight.CfnAnalysis.ColumnSortProperty(
                direction="direction",
                sort_by=quicksight.CfnAnalysis.ColumnIdentifierProperty(
                    column_name="columnName",

                    # the properties below are optional
                    data_set_identifier="dataSetIdentifier",
                    topic_identifier="topicIdentifier"
                ),

                # the properties below are optional
                aggregation_function=quicksight.CfnAnalysis.AggregationFunctionProperty(
                    attribute_aggregation_function=quicksight.CfnAnalysis.AttributeAggregationFunctionProperty(
                        simple_attribute_aggregation="simpleAttributeAggregation",
                        value_for_multiple_values="valueForMultipleValues"
                    ),
                    categorical_aggregation_function="categoricalAggregationFunction",
                    date_aggregation_function="dateAggregationFunction",
                    numerical_aggregation_function=quicksight.CfnAnalysis.NumericalAggregationFunctionProperty(
                        percentile_aggregation=quicksight.CfnAnalysis.PercentileAggregationProperty(
                            percentile_value=123
                        ),
                        simple_numerical_aggregation="simpleNumericalAggregation"
                    )
                )
            )]
        )
    )],
    non_repeating_visuals=["nonRepeatingVisuals"],
    page_break_configuration=quicksight.CfnAnalysis.BodySectionRepeatPageBreakConfigurationProperty(
        after=quicksight.CfnAnalysis.SectionAfterPageBreakProperty(
            status="status"
        )
    )
)
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.*;

BodySectionRepeatConfigurationProperty bodySectionRepeatConfigurationProperty = BodySectionRepeatConfigurationProperty.builder()
        .dimensionConfigurations(List.of(BodySectionRepeatDimensionConfigurationProperty.builder()
                .dynamicCategoryDimensionConfiguration(BodySectionDynamicCategoryDimensionConfigurationProperty.builder()
                        .column(ColumnIdentifierProperty.builder()
                                .columnName("columnName")

                                // the properties below are optional
                                .dataSetIdentifier("dataSetIdentifier")
                                .topicIdentifier("topicIdentifier")
                                .build())

                        // the properties below are optional
                        .limit(123)
                        .sortByMetrics(List.of(ColumnSortProperty.builder()
                                .direction("direction")
                                .sortBy(ColumnIdentifierProperty.builder()
                                        .columnName("columnName")

                                        // the properties below are optional
                                        .dataSetIdentifier("dataSetIdentifier")
                                        .topicIdentifier("topicIdentifier")
                                        .build())

                                // the properties below are optional
                                .aggregationFunction(AggregationFunctionProperty.builder()
                                        .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder()
                                                .simpleAttributeAggregation("simpleAttributeAggregation")
                                                .valueForMultipleValues("valueForMultipleValues")
                                                .build())
                                        .categoricalAggregationFunction("categoricalAggregationFunction")
                                        .dateAggregationFunction("dateAggregationFunction")
                                        .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder()
                                                .percentileAggregation(PercentileAggregationProperty.builder()
                                                        .percentileValue(123)
                                                        .build())
                                                .simpleNumericalAggregation("simpleNumericalAggregation")
                                                .build())
                                        .build())
                                .build()))
                        .build())
                .dynamicNumericDimensionConfiguration(BodySectionDynamicNumericDimensionConfigurationProperty.builder()
                        .column(ColumnIdentifierProperty.builder()
                                .columnName("columnName")

                                // the properties below are optional
                                .dataSetIdentifier("dataSetIdentifier")
                                .topicIdentifier("topicIdentifier")
                                .build())

                        // the properties below are optional
                        .limit(123)
                        .sortByMetrics(List.of(ColumnSortProperty.builder()
                                .direction("direction")
                                .sortBy(ColumnIdentifierProperty.builder()
                                        .columnName("columnName")

                                        // the properties below are optional
                                        .dataSetIdentifier("dataSetIdentifier")
                                        .topicIdentifier("topicIdentifier")
                                        .build())

                                // the properties below are optional
                                .aggregationFunction(AggregationFunctionProperty.builder()
                                        .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder()
                                                .simpleAttributeAggregation("simpleAttributeAggregation")
                                                .valueForMultipleValues("valueForMultipleValues")
                                                .build())
                                        .categoricalAggregationFunction("categoricalAggregationFunction")
                                        .dateAggregationFunction("dateAggregationFunction")
                                        .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder()
                                                .percentileAggregation(PercentileAggregationProperty.builder()
                                                        .percentileValue(123)
                                                        .build())
                                                .simpleNumericalAggregation("simpleNumericalAggregation")
                                                .build())
                                        .build())
                                .build()))
                        .build())
                .build()))
        .nonRepeatingVisuals(List.of("nonRepeatingVisuals"))
        .pageBreakConfiguration(BodySectionRepeatPageBreakConfigurationProperty.builder()
                .after(SectionAfterPageBreakProperty.builder()
                        .status("status")
                        .build())
                .build())
        .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 bodySectionRepeatConfigurationProperty = new BodySectionRepeatConfigurationProperty {
    DimensionConfigurations = new [] { new BodySectionRepeatDimensionConfigurationProperty {
        DynamicCategoryDimensionConfiguration = new BodySectionDynamicCategoryDimensionConfigurationProperty {
            Column = new ColumnIdentifierProperty {
                ColumnName = "columnName",

                // the properties below are optional
                DataSetIdentifier = "dataSetIdentifier",
                TopicIdentifier = "topicIdentifier"
            },

            // the properties below are optional
            Limit = 123,
            SortByMetrics = new [] { new ColumnSortProperty {
                Direction = "direction",
                SortBy = new ColumnIdentifierProperty {
                    ColumnName = "columnName",

                    // the properties below are optional
                    DataSetIdentifier = "dataSetIdentifier",
                    TopicIdentifier = "topicIdentifier"
                },

                // the properties below are optional
                AggregationFunction = new AggregationFunctionProperty {
                    AttributeAggregationFunction = new AttributeAggregationFunctionProperty {
                        SimpleAttributeAggregation = "simpleAttributeAggregation",
                        ValueForMultipleValues = "valueForMultipleValues"
                    },
                    CategoricalAggregationFunction = "categoricalAggregationFunction",
                    DateAggregationFunction = "dateAggregationFunction",
                    NumericalAggregationFunction = new NumericalAggregationFunctionProperty {
                        PercentileAggregation = new PercentileAggregationProperty {
                            PercentileValue = 123
                        },
                        SimpleNumericalAggregation = "simpleNumericalAggregation"
                    }
                }
            } }
        },
        DynamicNumericDimensionConfiguration = new BodySectionDynamicNumericDimensionConfigurationProperty {
            Column = new ColumnIdentifierProperty {
                ColumnName = "columnName",

                // the properties below are optional
                DataSetIdentifier = "dataSetIdentifier",
                TopicIdentifier = "topicIdentifier"
            },

            // the properties below are optional
            Limit = 123,
            SortByMetrics = new [] { new ColumnSortProperty {
                Direction = "direction",
                SortBy = new ColumnIdentifierProperty {
                    ColumnName = "columnName",

                    // the properties below are optional
                    DataSetIdentifier = "dataSetIdentifier",
                    TopicIdentifier = "topicIdentifier"
                },

                // the properties below are optional
                AggregationFunction = new AggregationFunctionProperty {
                    AttributeAggregationFunction = new AttributeAggregationFunctionProperty {
                        SimpleAttributeAggregation = "simpleAttributeAggregation",
                        ValueForMultipleValues = "valueForMultipleValues"
                    },
                    CategoricalAggregationFunction = "categoricalAggregationFunction",
                    DateAggregationFunction = "dateAggregationFunction",
                    NumericalAggregationFunction = new NumericalAggregationFunctionProperty {
                        PercentileAggregation = new PercentileAggregationProperty {
                            PercentileValue = 123
                        },
                        SimpleNumericalAggregation = "simpleNumericalAggregation"
                    }
                }
            } }
        }
    } },
    NonRepeatingVisuals = new [] { "nonRepeatingVisuals" },
    PageBreakConfiguration = new BodySectionRepeatPageBreakConfigurationProperty {
        After = new SectionAfterPageBreakProperty {
            Status = "status"
        }
    }
};
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"

bodySectionRepeatConfigurationProperty := &BodySectionRepeatConfigurationProperty{
	DimensionConfigurations: []interface{}{
		&BodySectionRepeatDimensionConfigurationProperty{
			DynamicCategoryDimensionConfiguration: &BodySectionDynamicCategoryDimensionConfigurationProperty{
				Column: &ColumnIdentifierProperty{
					ColumnName: jsii.String("columnName"),

					// the properties below are optional
					DataSetIdentifier: jsii.String("dataSetIdentifier"),
					TopicIdentifier: jsii.String("topicIdentifier"),
				},

				// the properties below are optional
				Limit: jsii.Number(123),
				SortByMetrics: []interface{}{
					&ColumnSortProperty{
						Direction: jsii.String("direction"),
						SortBy: &ColumnIdentifierProperty{
							ColumnName: jsii.String("columnName"),

							// the properties below are optional
							DataSetIdentifier: jsii.String("dataSetIdentifier"),
							TopicIdentifier: jsii.String("topicIdentifier"),
						},

						// the properties below are optional
						AggregationFunction: &AggregationFunctionProperty{
							AttributeAggregationFunction: &AttributeAggregationFunctionProperty{
								SimpleAttributeAggregation: jsii.String("simpleAttributeAggregation"),
								ValueForMultipleValues: jsii.String("valueForMultipleValues"),
							},
							CategoricalAggregationFunction: jsii.String("categoricalAggregationFunction"),
							DateAggregationFunction: jsii.String("dateAggregationFunction"),
							NumericalAggregationFunction: &NumericalAggregationFunctionProperty{
								PercentileAggregation: &PercentileAggregationProperty{
									PercentileValue: jsii.Number(123),
								},
								SimpleNumericalAggregation: jsii.String("simpleNumericalAggregation"),
							},
						},
					},
				},
			},
			DynamicNumericDimensionConfiguration: &BodySectionDynamicNumericDimensionConfigurationProperty{
				Column: &ColumnIdentifierProperty{
					ColumnName: jsii.String("columnName"),

					// the properties below are optional
					DataSetIdentifier: jsii.String("dataSetIdentifier"),
					TopicIdentifier: jsii.String("topicIdentifier"),
				},

				// the properties below are optional
				Limit: jsii.Number(123),
				SortByMetrics: []interface{}{
					&ColumnSortProperty{
						Direction: jsii.String("direction"),
						SortBy: &ColumnIdentifierProperty{
							ColumnName: jsii.String("columnName"),

							// the properties below are optional
							DataSetIdentifier: jsii.String("dataSetIdentifier"),
							TopicIdentifier: jsii.String("topicIdentifier"),
						},

						// the properties below are optional
						AggregationFunction: &AggregationFunctionProperty{
							AttributeAggregationFunction: &AttributeAggregationFunctionProperty{
								SimpleAttributeAggregation: jsii.String("simpleAttributeAggregation"),
								ValueForMultipleValues: jsii.String("valueForMultipleValues"),
							},
							CategoricalAggregationFunction: jsii.String("categoricalAggregationFunction"),
							DateAggregationFunction: jsii.String("dateAggregationFunction"),
							NumericalAggregationFunction: &NumericalAggregationFunctionProperty{
								PercentileAggregation: &PercentileAggregationProperty{
									PercentileValue: jsii.Number(123),
								},
								SimpleNumericalAggregation: jsii.String("simpleNumericalAggregation"),
							},
						},
					},
				},
			},
		},
	},
	NonRepeatingVisuals: []*string{
		jsii.String("nonRepeatingVisuals"),
	},
	PageBreakConfiguration: &BodySectionRepeatPageBreakConfigurationProperty{
		After: &SectionAfterPageBreakProperty{
			Status: jsii.String("status"),
		},
	},
}

Properties ​

dimensionConfigurationsoptionalIResolvable | IResolvable | CfnAnalysis.BodySectionRepeatDimensionConfigurationProperty[]dimension_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, BodySectionRepeatDimensionConfigurationProperty]]]dimensionConfigurationsoptionalIResolvableDimensionConfigurationsoptionalIResolvableDimensionConfigurationsoptionalinterface{} #
List of `BodySectionRepeatDimensionConfiguration` values that describe the dataset column and constraints for the column used to repeat the contents of a section.
nonRepeatingVisualsoptionalstring[]non_repeating_visualsoptionaltyping.List[str]nonRepeatingVisualsoptionalList<String>NonRepeatingVisualsoptionalstring[]NonRepeatingVisualsoptional*[]*string #
List of visuals to exclude from repetition in repeating sections.

The visuals will render identically, and ignore the repeating configurations in all repeating instances.

pageBreakConfigurationoptionalIResolvable | CfnAnalysis.BodySectionRepeatPageBreakConfigurationPropertypage_break_configurationoptionaltyping.Union[IResolvable, BodySectionRepeatPageBreakConfigurationProperty]pageBreakConfigurationoptionalIResolvablePageBreakConfigurationoptionalIResolvablePageBreakConfigurationoptionalinterface{} #
Page break configuration to apply for each repeating instance.