Skip to content
v2.278.0

LayoutProperty Struct ​

A Layout defines the placement of elements within a sheet.

For more information, see Types of layout in the Amazon Quick Suite User Guide .

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

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 layoutProperty: quicksight.CfnAnalysis.LayoutProperty = {
  configuration: {
    freeFormLayout: {
      elements: [{
        elementId: 'elementId',
        elementType: 'elementType',
        height: 'height',
        width: 'width',
        xAxisLocation: 'xAxisLocation',
        yAxisLocation: 'yAxisLocation',

        // the properties below are optional
        backgroundStyle: {
          color: 'color',
          visibility: 'visibility',
        },
        borderRadius: 'borderRadius',
        borderStyle: {
          color: 'color',
          visibility: 'visibility',
          width: 'width',
        },
        loadingAnimation: {
          visibility: 'visibility',
        },
        padding: 'padding',
        renderingRules: [{
          configurationOverrides: {
            visibility: 'visibility',
          },
          expression: 'expression',
        }],
        selectedBorderStyle: {
          color: 'color',
          visibility: 'visibility',
          width: 'width',
        },
        visibility: 'visibility',
      }],

      // the properties below are optional
      canvasSizeOptions: {
        screenCanvasSizeOptions: {
          optimizedViewPortWidth: 'optimizedViewPortWidth',
        },
      },
      groups: [{
        id: 'id',
        members: [{
          id: 'id',
          type: 'type',
        }],
      }],
    },
    gridLayout: {
      elements: [{
        columnSpan: 123,
        elementId: 'elementId',
        elementType: 'elementType',
        rowSpan: 123,

        // the properties below are optional
        backgroundStyle: {
          color: 'color',
          visibility: 'visibility',
        },
        borderRadius: 'borderRadius',
        borderStyle: {
          color: 'color',
          visibility: 'visibility',
          width: 'width',
        },
        columnIndex: 123,
        loadingAnimation: {
          visibility: 'visibility',
        },
        padding: 'padding',
        rowIndex: 123,
        selectedBorderStyle: {
          color: 'color',
          visibility: 'visibility',
          width: 'width',
        },
      }],

      // the properties below are optional
      canvasSizeOptions: {
        screenCanvasSizeOptions: {
          resizeOption: 'resizeOption',

          // the properties below are optional
          optimizedViewPortWidth: 'optimizedViewPortWidth',
        },
      },
    },
    sectionBasedLayout: {
      bodySections: [{
        content: {
          layout: {
            freeFormLayout: {
              elements: [{
                elementId: 'elementId',
                elementType: 'elementType',
                height: 'height',
                width: 'width',
                xAxisLocation: 'xAxisLocation',
                yAxisLocation: 'yAxisLocation',

                // the properties below are optional
                backgroundStyle: {
                  color: 'color',
                  visibility: 'visibility',
                },
                borderRadius: 'borderRadius',
                borderStyle: {
                  color: 'color',
                  visibility: 'visibility',
                  width: 'width',
                },
                loadingAnimation: {
                  visibility: 'visibility',
                },
                padding: 'padding',
                renderingRules: [{
                  configurationOverrides: {
                    visibility: 'visibility',
                  },
                  expression: 'expression',
                }],
                selectedBorderStyle: {
                  color: 'color',
                  visibility: 'visibility',
                  width: 'width',
                },
                visibility: 'visibility',
              }],
            },
          },
        },
        sectionId: 'sectionId',

        // the properties below are optional
        pageBreakConfiguration: {
          after: {
            status: 'status',
          },
        },
        repeatConfiguration: {
          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',
            },
          },
        },
        style: {
          height: 'height',
          padding: {
            bottom: 'bottom',
            left: 'left',
            right: 'right',
            top: 'top',
          },
        },
      }],
      canvasSizeOptions: {
        paperCanvasSizeOptions: {
          paperMargin: {
            bottom: 'bottom',
            left: 'left',
            right: 'right',
            top: 'top',
          },
          paperOrientation: 'paperOrientation',
          paperSize: 'paperSize',
        },
      },
      footerSections: [{
        layout: {
          freeFormLayout: {
            elements: [{
              elementId: 'elementId',
              elementType: 'elementType',
              height: 'height',
              width: 'width',
              xAxisLocation: 'xAxisLocation',
              yAxisLocation: 'yAxisLocation',

              // the properties below are optional
              backgroundStyle: {
                color: 'color',
                visibility: 'visibility',
              },
              borderRadius: 'borderRadius',
              borderStyle: {
                color: 'color',
                visibility: 'visibility',
                width: 'width',
              },
              loadingAnimation: {
                visibility: 'visibility',
              },
              padding: 'padding',
              renderingRules: [{
                configurationOverrides: {
                  visibility: 'visibility',
                },
                expression: 'expression',
              }],
              selectedBorderStyle: {
                color: 'color',
                visibility: 'visibility',
                width: 'width',
              },
              visibility: 'visibility',
            }],
          },
        },
        sectionId: 'sectionId',

        // the properties below are optional
        style: {
          height: 'height',
          padding: {
            bottom: 'bottom',
            left: 'left',
            right: 'right',
            top: 'top',
          },
        },
      }],
      headerSections: [{
        layout: {
          freeFormLayout: {
            elements: [{
              elementId: 'elementId',
              elementType: 'elementType',
              height: 'height',
              width: 'width',
              xAxisLocation: 'xAxisLocation',
              yAxisLocation: 'yAxisLocation',

              // the properties below are optional
              backgroundStyle: {
                color: 'color',
                visibility: 'visibility',
              },
              borderRadius: 'borderRadius',
              borderStyle: {
                color: 'color',
                visibility: 'visibility',
                width: 'width',
              },
              loadingAnimation: {
                visibility: 'visibility',
              },
              padding: 'padding',
              renderingRules: [{
                configurationOverrides: {
                  visibility: 'visibility',
                },
                expression: 'expression',
              }],
              selectedBorderStyle: {
                color: 'color',
                visibility: 'visibility',
                width: 'width',
              },
              visibility: 'visibility',
            }],
          },
        },
        sectionId: 'sectionId',

        // the properties below are optional
        style: {
          height: 'height',
          padding: {
            bottom: 'bottom',
            left: 'left',
            right: 'right',
            top: 'top',
          },
        },
      }],
    },
  },
};
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

layout_property = quicksight.CfnAnalysis.LayoutProperty(
    configuration=quicksight.CfnAnalysis.LayoutConfigurationProperty(
        free_form_layout=quicksight.CfnAnalysis.FreeFormLayoutConfigurationProperty(
            elements=[quicksight.CfnAnalysis.FreeFormLayoutElementProperty(
                element_id="elementId",
                element_type="elementType",
                height="height",
                width="width",
                x_axis_location="xAxisLocation",
                y_axis_location="yAxisLocation",

                # the properties below are optional
                background_style=quicksight.CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty(
                    color="color",
                    visibility="visibility"
                ),
                border_radius="borderRadius",
                border_style=quicksight.CfnAnalysis.FreeFormLayoutElementBorderStyleProperty(
                    color="color",
                    visibility="visibility",
                    width="width"
                ),
                loading_animation=quicksight.CfnAnalysis.LoadingAnimationProperty(
                    visibility="visibility"
                ),
                padding="padding",
                rendering_rules=[quicksight.CfnAnalysis.SheetElementRenderingRuleProperty(
                    configuration_overrides=quicksight.CfnAnalysis.SheetElementConfigurationOverridesProperty(
                        visibility="visibility"
                    ),
                    expression="expression"
                )],
                selected_border_style=quicksight.CfnAnalysis.FreeFormLayoutElementBorderStyleProperty(
                    color="color",
                    visibility="visibility",
                    width="width"
                ),
                visibility="visibility"
            )],

            # the properties below are optional
            canvas_size_options=quicksight.CfnAnalysis.FreeFormLayoutCanvasSizeOptionsProperty(
                screen_canvas_size_options=quicksight.CfnAnalysis.FreeFormLayoutScreenCanvasSizeOptionsProperty(
                    optimized_view_port_width="optimizedViewPortWidth"
                )
            ),
            groups=[quicksight.CfnAnalysis.SheetLayoutGroupProperty(
                id="id",
                members=[quicksight.CfnAnalysis.SheetLayoutGroupMemberProperty(
                    id="id",
                    type="type"
                )]
            )]
        ),
        grid_layout=quicksight.CfnAnalysis.GridLayoutConfigurationProperty(
            elements=[quicksight.CfnAnalysis.GridLayoutElementProperty(
                column_span=123,
                element_id="elementId",
                element_type="elementType",
                row_span=123,

                # the properties below are optional
                background_style=quicksight.CfnAnalysis.GridLayoutElementBackgroundStyleProperty(
                    color="color",
                    visibility="visibility"
                ),
                border_radius="borderRadius",
                border_style=quicksight.CfnAnalysis.GridLayoutElementBorderStyleProperty(
                    color="color",
                    visibility="visibility",
                    width="width"
                ),
                column_index=123,
                loading_animation=quicksight.CfnAnalysis.LoadingAnimationProperty(
                    visibility="visibility"
                ),
                padding="padding",
                row_index=123,
                selected_border_style=quicksight.CfnAnalysis.GridLayoutElementBorderStyleProperty(
                    color="color",
                    visibility="visibility",
                    width="width"
                )
            )],

            # the properties below are optional
            canvas_size_options=quicksight.CfnAnalysis.GridLayoutCanvasSizeOptionsProperty(
                screen_canvas_size_options=quicksight.CfnAnalysis.GridLayoutScreenCanvasSizeOptionsProperty(
                    resize_option="resizeOption",

                    # the properties below are optional
                    optimized_view_port_width="optimizedViewPortWidth"
                )
            )
        ),
        section_based_layout=quicksight.CfnAnalysis.SectionBasedLayoutConfigurationProperty(
            body_sections=[quicksight.CfnAnalysis.BodySectionConfigurationProperty(
                content=quicksight.CfnAnalysis.BodySectionContentProperty(
                    layout=quicksight.CfnAnalysis.SectionLayoutConfigurationProperty(
                        free_form_layout=quicksight.CfnAnalysis.FreeFormSectionLayoutConfigurationProperty(
                            elements=[quicksight.CfnAnalysis.FreeFormLayoutElementProperty(
                                element_id="elementId",
                                element_type="elementType",
                                height="height",
                                width="width",
                                x_axis_location="xAxisLocation",
                                y_axis_location="yAxisLocation",

                                # the properties below are optional
                                background_style=quicksight.CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty(
                                    color="color",
                                    visibility="visibility"
                                ),
                                border_radius="borderRadius",
                                border_style=quicksight.CfnAnalysis.FreeFormLayoutElementBorderStyleProperty(
                                    color="color",
                                    visibility="visibility",
                                    width="width"
                                ),
                                loading_animation=quicksight.CfnAnalysis.LoadingAnimationProperty(
                                    visibility="visibility"
                                ),
                                padding="padding",
                                rendering_rules=[quicksight.CfnAnalysis.SheetElementRenderingRuleProperty(
                                    configuration_overrides=quicksight.CfnAnalysis.SheetElementConfigurationOverridesProperty(
                                        visibility="visibility"
                                    ),
                                    expression="expression"
                                )],
                                selected_border_style=quicksight.CfnAnalysis.FreeFormLayoutElementBorderStyleProperty(
                                    color="color",
                                    visibility="visibility",
                                    width="width"
                                ),
                                visibility="visibility"
                            )]
                        )
                    )
                ),
                section_id="sectionId",

                # the properties below are optional
                page_break_configuration=quicksight.CfnAnalysis.SectionPageBreakConfigurationProperty(
                    after=quicksight.CfnAnalysis.SectionAfterPageBreakProperty(
                        status="status"
                    )
                ),
                repeat_configuration=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"
                        )
                    )
                ),
                style=quicksight.CfnAnalysis.SectionStyleProperty(
                    height="height",
                    padding=quicksight.CfnAnalysis.SpacingProperty(
                        bottom="bottom",
                        left="left",
                        right="right",
                        top="top"
                    )
                )
            )],
            canvas_size_options=quicksight.CfnAnalysis.SectionBasedLayoutCanvasSizeOptionsProperty(
                paper_canvas_size_options=quicksight.CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty(
                    paper_margin=quicksight.CfnAnalysis.SpacingProperty(
                        bottom="bottom",
                        left="left",
                        right="right",
                        top="top"
                    ),
                    paper_orientation="paperOrientation",
                    paper_size="paperSize"
                )
            ),
            footer_sections=[quicksight.CfnAnalysis.HeaderFooterSectionConfigurationProperty(
                layout=quicksight.CfnAnalysis.SectionLayoutConfigurationProperty(
                    free_form_layout=quicksight.CfnAnalysis.FreeFormSectionLayoutConfigurationProperty(
                        elements=[quicksight.CfnAnalysis.FreeFormLayoutElementProperty(
                            element_id="elementId",
                            element_type="elementType",
                            height="height",
                            width="width",
                            x_axis_location="xAxisLocation",
                            y_axis_location="yAxisLocation",

                            # the properties below are optional
                            background_style=quicksight.CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty(
                                color="color",
                                visibility="visibility"
                            ),
                            border_radius="borderRadius",
                            border_style=quicksight.CfnAnalysis.FreeFormLayoutElementBorderStyleProperty(
                                color="color",
                                visibility="visibility",
                                width="width"
                            ),
                            loading_animation=quicksight.CfnAnalysis.LoadingAnimationProperty(
                                visibility="visibility"
                            ),
                            padding="padding",
                            rendering_rules=[quicksight.CfnAnalysis.SheetElementRenderingRuleProperty(
                                configuration_overrides=quicksight.CfnAnalysis.SheetElementConfigurationOverridesProperty(
                                    visibility="visibility"
                                ),
                                expression="expression"
                            )],
                            selected_border_style=quicksight.CfnAnalysis.FreeFormLayoutElementBorderStyleProperty(
                                color="color",
                                visibility="visibility",
                                width="width"
                            ),
                            visibility="visibility"
                        )]
                    )
                ),
                section_id="sectionId",

                # the properties below are optional
                style=quicksight.CfnAnalysis.SectionStyleProperty(
                    height="height",
                    padding=quicksight.CfnAnalysis.SpacingProperty(
                        bottom="bottom",
                        left="left",
                        right="right",
                        top="top"
                    )
                )
            )],
            header_sections=[quicksight.CfnAnalysis.HeaderFooterSectionConfigurationProperty(
                layout=quicksight.CfnAnalysis.SectionLayoutConfigurationProperty(
                    free_form_layout=quicksight.CfnAnalysis.FreeFormSectionLayoutConfigurationProperty(
                        elements=[quicksight.CfnAnalysis.FreeFormLayoutElementProperty(
                            element_id="elementId",
                            element_type="elementType",
                            height="height",
                            width="width",
                            x_axis_location="xAxisLocation",
                            y_axis_location="yAxisLocation",

                            # the properties below are optional
                            background_style=quicksight.CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty(
                                color="color",
                                visibility="visibility"
                            ),
                            border_radius="borderRadius",
                            border_style=quicksight.CfnAnalysis.FreeFormLayoutElementBorderStyleProperty(
                                color="color",
                                visibility="visibility",
                                width="width"
                            ),
                            loading_animation=quicksight.CfnAnalysis.LoadingAnimationProperty(
                                visibility="visibility"
                            ),
                            padding="padding",
                            rendering_rules=[quicksight.CfnAnalysis.SheetElementRenderingRuleProperty(
                                configuration_overrides=quicksight.CfnAnalysis.SheetElementConfigurationOverridesProperty(
                                    visibility="visibility"
                                ),
                                expression="expression"
                            )],
                            selected_border_style=quicksight.CfnAnalysis.FreeFormLayoutElementBorderStyleProperty(
                                color="color",
                                visibility="visibility",
                                width="width"
                            ),
                            visibility="visibility"
                        )]
                    )
                ),
                section_id="sectionId",

                # the properties below are optional
                style=quicksight.CfnAnalysis.SectionStyleProperty(
                    height="height",
                    padding=quicksight.CfnAnalysis.SpacingProperty(
                        bottom="bottom",
                        left="left",
                        right="right",
                        top="top"
                    )
                )
            )]
        )
    )
)
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.*;

LayoutProperty layoutProperty = LayoutProperty.builder()
        .configuration(LayoutConfigurationProperty.builder()
                .freeFormLayout(FreeFormLayoutConfigurationProperty.builder()
                        .elements(List.of(FreeFormLayoutElementProperty.builder()
                                .elementId("elementId")
                                .elementType("elementType")
                                .height("height")
                                .width("width")
                                .xAxisLocation("xAxisLocation")
                                .yAxisLocation("yAxisLocation")

                                // the properties below are optional
                                .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder()
                                        .color("color")
                                        .visibility("visibility")
                                        .build())
                                .borderRadius("borderRadius")
                                .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder()
                                        .color("color")
                                        .visibility("visibility")
                                        .width("width")
                                        .build())
                                .loadingAnimation(LoadingAnimationProperty.builder()
                                        .visibility("visibility")
                                        .build())
                                .padding("padding")
                                .renderingRules(List.of(SheetElementRenderingRuleProperty.builder()
                                        .configurationOverrides(SheetElementConfigurationOverridesProperty.builder()
                                                .visibility("visibility")
                                                .build())
                                        .expression("expression")
                                        .build()))
                                .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder()
                                        .color("color")
                                        .visibility("visibility")
                                        .width("width")
                                        .build())
                                .visibility("visibility")
                                .build()))

                        // the properties below are optional
                        .canvasSizeOptions(FreeFormLayoutCanvasSizeOptionsProperty.builder()
                                .screenCanvasSizeOptions(FreeFormLayoutScreenCanvasSizeOptionsProperty.builder()
                                        .optimizedViewPortWidth("optimizedViewPortWidth")
                                        .build())
                                .build())
                        .groups(List.of(SheetLayoutGroupProperty.builder()
                                .id("id")
                                .members(List.of(SheetLayoutGroupMemberProperty.builder()
                                        .id("id")
                                        .type("type")
                                        .build()))
                                .build()))
                        .build())
                .gridLayout(GridLayoutConfigurationProperty.builder()
                        .elements(List.of(GridLayoutElementProperty.builder()
                                .columnSpan(123)
                                .elementId("elementId")
                                .elementType("elementType")
                                .rowSpan(123)

                                // the properties below are optional
                                .backgroundStyle(GridLayoutElementBackgroundStyleProperty.builder()
                                        .color("color")
                                        .visibility("visibility")
                                        .build())
                                .borderRadius("borderRadius")
                                .borderStyle(GridLayoutElementBorderStyleProperty.builder()
                                        .color("color")
                                        .visibility("visibility")
                                        .width("width")
                                        .build())
                                .columnIndex(123)
                                .loadingAnimation(LoadingAnimationProperty.builder()
                                        .visibility("visibility")
                                        .build())
                                .padding("padding")
                                .rowIndex(123)
                                .selectedBorderStyle(GridLayoutElementBorderStyleProperty.builder()
                                        .color("color")
                                        .visibility("visibility")
                                        .width("width")
                                        .build())
                                .build()))

                        // the properties below are optional
                        .canvasSizeOptions(GridLayoutCanvasSizeOptionsProperty.builder()
                                .screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptionsProperty.builder()
                                        .resizeOption("resizeOption")

                                        // the properties below are optional
                                        .optimizedViewPortWidth("optimizedViewPortWidth")
                                        .build())
                                .build())
                        .build())
                .sectionBasedLayout(SectionBasedLayoutConfigurationProperty.builder()
                        .bodySections(List.of(BodySectionConfigurationProperty.builder()
                                .content(BodySectionContentProperty.builder()
                                        .layout(SectionLayoutConfigurationProperty.builder()
                                                .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder()
                                                        .elements(List.of(FreeFormLayoutElementProperty.builder()
                                                                .elementId("elementId")
                                                                .elementType("elementType")
                                                                .height("height")
                                                                .width("width")
                                                                .xAxisLocation("xAxisLocation")
                                                                .yAxisLocation("yAxisLocation")

                                                                // the properties below are optional
                                                                .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder()
                                                                        .color("color")
                                                                        .visibility("visibility")
                                                                        .build())
                                                                .borderRadius("borderRadius")
                                                                .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder()
                                                                        .color("color")
                                                                        .visibility("visibility")
                                                                        .width("width")
                                                                        .build())
                                                                .loadingAnimation(LoadingAnimationProperty.builder()
                                                                        .visibility("visibility")
                                                                        .build())
                                                                .padding("padding")
                                                                .renderingRules(List.of(SheetElementRenderingRuleProperty.builder()
                                                                        .configurationOverrides(SheetElementConfigurationOverridesProperty.builder()
                                                                                .visibility("visibility")
                                                                                .build())
                                                                        .expression("expression")
                                                                        .build()))
                                                                .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder()
                                                                        .color("color")
                                                                        .visibility("visibility")
                                                                        .width("width")
                                                                        .build())
                                                                .visibility("visibility")
                                                                .build()))
                                                        .build())
                                                .build())
                                        .build())
                                .sectionId("sectionId")

                                // the properties below are optional
                                .pageBreakConfiguration(SectionPageBreakConfigurationProperty.builder()
                                        .after(SectionAfterPageBreakProperty.builder()
                                                .status("status")
                                                .build())
                                        .build())
                                .repeatConfiguration(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())
                                .style(SectionStyleProperty.builder()
                                        .height("height")
                                        .padding(SpacingProperty.builder()
                                                .bottom("bottom")
                                                .left("left")
                                                .right("right")
                                                .top("top")
                                                .build())
                                        .build())
                                .build()))
                        .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder()
                                .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder()
                                        .paperMargin(SpacingProperty.builder()
                                                .bottom("bottom")
                                                .left("left")
                                                .right("right")
                                                .top("top")
                                                .build())
                                        .paperOrientation("paperOrientation")
                                        .paperSize("paperSize")
                                        .build())
                                .build())
                        .footerSections(List.of(HeaderFooterSectionConfigurationProperty.builder()
                                .layout(SectionLayoutConfigurationProperty.builder()
                                        .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder()
                                                .elements(List.of(FreeFormLayoutElementProperty.builder()
                                                        .elementId("elementId")
                                                        .elementType("elementType")
                                                        .height("height")
                                                        .width("width")
                                                        .xAxisLocation("xAxisLocation")
                                                        .yAxisLocation("yAxisLocation")

                                                        // the properties below are optional
                                                        .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder()
                                                                .color("color")
                                                                .visibility("visibility")
                                                                .build())
                                                        .borderRadius("borderRadius")
                                                        .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder()
                                                                .color("color")
                                                                .visibility("visibility")
                                                                .width("width")
                                                                .build())
                                                        .loadingAnimation(LoadingAnimationProperty.builder()
                                                                .visibility("visibility")
                                                                .build())
                                                        .padding("padding")
                                                        .renderingRules(List.of(SheetElementRenderingRuleProperty.builder()
                                                                .configurationOverrides(SheetElementConfigurationOverridesProperty.builder()
                                                                        .visibility("visibility")
                                                                        .build())
                                                                .expression("expression")
                                                                .build()))
                                                        .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder()
                                                                .color("color")
                                                                .visibility("visibility")
                                                                .width("width")
                                                                .build())
                                                        .visibility("visibility")
                                                        .build()))
                                                .build())
                                        .build())
                                .sectionId("sectionId")

                                // the properties below are optional
                                .style(SectionStyleProperty.builder()
                                        .height("height")
                                        .padding(SpacingProperty.builder()
                                                .bottom("bottom")
                                                .left("left")
                                                .right("right")
                                                .top("top")
                                                .build())
                                        .build())
                                .build()))
                        .headerSections(List.of(HeaderFooterSectionConfigurationProperty.builder()
                                .layout(SectionLayoutConfigurationProperty.builder()
                                        .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder()
                                                .elements(List.of(FreeFormLayoutElementProperty.builder()
                                                        .elementId("elementId")
                                                        .elementType("elementType")
                                                        .height("height")
                                                        .width("width")
                                                        .xAxisLocation("xAxisLocation")
                                                        .yAxisLocation("yAxisLocation")

                                                        // the properties below are optional
                                                        .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder()
                                                                .color("color")
                                                                .visibility("visibility")
                                                                .build())
                                                        .borderRadius("borderRadius")
                                                        .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder()
                                                                .color("color")
                                                                .visibility("visibility")
                                                                .width("width")
                                                                .build())
                                                        .loadingAnimation(LoadingAnimationProperty.builder()
                                                                .visibility("visibility")
                                                                .build())
                                                        .padding("padding")
                                                        .renderingRules(List.of(SheetElementRenderingRuleProperty.builder()
                                                                .configurationOverrides(SheetElementConfigurationOverridesProperty.builder()
                                                                        .visibility("visibility")
                                                                        .build())
                                                                .expression("expression")
                                                                .build()))
                                                        .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder()
                                                                .color("color")
                                                                .visibility("visibility")
                                                                .width("width")
                                                                .build())
                                                        .visibility("visibility")
                                                        .build()))
                                                .build())
                                        .build())
                                .sectionId("sectionId")

                                // the properties below are optional
                                .style(SectionStyleProperty.builder()
                                        .height("height")
                                        .padding(SpacingProperty.builder()
                                                .bottom("bottom")
                                                .left("left")
                                                .right("right")
                                                .top("top")
                                                .build())
                                        .build())
                                .build()))
                        .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 layoutProperty = new LayoutProperty {
    Configuration = new LayoutConfigurationProperty {
        FreeFormLayout = new FreeFormLayoutConfigurationProperty {
            Elements = new [] { new FreeFormLayoutElementProperty {
                ElementId = "elementId",
                ElementType = "elementType",
                Height = "height",
                Width = "width",
                XAxisLocation = "xAxisLocation",
                YAxisLocation = "yAxisLocation",

                // the properties below are optional
                BackgroundStyle = new FreeFormLayoutElementBackgroundStyleProperty {
                    Color = "color",
                    Visibility = "visibility"
                },
                BorderRadius = "borderRadius",
                BorderStyle = new FreeFormLayoutElementBorderStyleProperty {
                    Color = "color",
                    Visibility = "visibility",
                    Width = "width"
                },
                LoadingAnimation = new LoadingAnimationProperty {
                    Visibility = "visibility"
                },
                Padding = "padding",
                RenderingRules = new [] { new SheetElementRenderingRuleProperty {
                    ConfigurationOverrides = new SheetElementConfigurationOverridesProperty {
                        Visibility = "visibility"
                    },
                    Expression = "expression"
                } },
                SelectedBorderStyle = new FreeFormLayoutElementBorderStyleProperty {
                    Color = "color",
                    Visibility = "visibility",
                    Width = "width"
                },
                Visibility = "visibility"
            } },

            // the properties below are optional
            CanvasSizeOptions = new FreeFormLayoutCanvasSizeOptionsProperty {
                ScreenCanvasSizeOptions = new FreeFormLayoutScreenCanvasSizeOptionsProperty {
                    OptimizedViewPortWidth = "optimizedViewPortWidth"
                }
            },
            Groups = new [] { new SheetLayoutGroupProperty {
                Id = "id",
                Members = new [] { new SheetLayoutGroupMemberProperty {
                    Id = "id",
                    Type = "type"
                } }
            } }
        },
        GridLayout = new GridLayoutConfigurationProperty {
            Elements = new [] { new GridLayoutElementProperty {
                ColumnSpan = 123,
                ElementId = "elementId",
                ElementType = "elementType",
                RowSpan = 123,

                // the properties below are optional
                BackgroundStyle = new GridLayoutElementBackgroundStyleProperty {
                    Color = "color",
                    Visibility = "visibility"
                },
                BorderRadius = "borderRadius",
                BorderStyle = new GridLayoutElementBorderStyleProperty {
                    Color = "color",
                    Visibility = "visibility",
                    Width = "width"
                },
                ColumnIndex = 123,
                LoadingAnimation = new LoadingAnimationProperty {
                    Visibility = "visibility"
                },
                Padding = "padding",
                RowIndex = 123,
                SelectedBorderStyle = new GridLayoutElementBorderStyleProperty {
                    Color = "color",
                    Visibility = "visibility",
                    Width = "width"
                }
            } },

            // the properties below are optional
            CanvasSizeOptions = new GridLayoutCanvasSizeOptionsProperty {
                ScreenCanvasSizeOptions = new GridLayoutScreenCanvasSizeOptionsProperty {
                    ResizeOption = "resizeOption",

                    // the properties below are optional
                    OptimizedViewPortWidth = "optimizedViewPortWidth"
                }
            }
        },
        SectionBasedLayout = new SectionBasedLayoutConfigurationProperty {
            BodySections = new [] { new BodySectionConfigurationProperty {
                Content = new BodySectionContentProperty {
                    Layout = new SectionLayoutConfigurationProperty {
                        FreeFormLayout = new FreeFormSectionLayoutConfigurationProperty {
                            Elements = new [] { new FreeFormLayoutElementProperty {
                                ElementId = "elementId",
                                ElementType = "elementType",
                                Height = "height",
                                Width = "width",
                                XAxisLocation = "xAxisLocation",
                                YAxisLocation = "yAxisLocation",

                                // the properties below are optional
                                BackgroundStyle = new FreeFormLayoutElementBackgroundStyleProperty {
                                    Color = "color",
                                    Visibility = "visibility"
                                },
                                BorderRadius = "borderRadius",
                                BorderStyle = new FreeFormLayoutElementBorderStyleProperty {
                                    Color = "color",
                                    Visibility = "visibility",
                                    Width = "width"
                                },
                                LoadingAnimation = new LoadingAnimationProperty {
                                    Visibility = "visibility"
                                },
                                Padding = "padding",
                                RenderingRules = new [] { new SheetElementRenderingRuleProperty {
                                    ConfigurationOverrides = new SheetElementConfigurationOverridesProperty {
                                        Visibility = "visibility"
                                    },
                                    Expression = "expression"
                                } },
                                SelectedBorderStyle = new FreeFormLayoutElementBorderStyleProperty {
                                    Color = "color",
                                    Visibility = "visibility",
                                    Width = "width"
                                },
                                Visibility = "visibility"
                            } }
                        }
                    }
                },
                SectionId = "sectionId",

                // the properties below are optional
                PageBreakConfiguration = new SectionPageBreakConfigurationProperty {
                    After = new SectionAfterPageBreakProperty {
                        Status = "status"
                    }
                },
                RepeatConfiguration = 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"
                        }
                    }
                },
                Style = new SectionStyleProperty {
                    Height = "height",
                    Padding = new SpacingProperty {
                        Bottom = "bottom",
                        Left = "left",
                        Right = "right",
                        Top = "top"
                    }
                }
            } },
            CanvasSizeOptions = new SectionBasedLayoutCanvasSizeOptionsProperty {
                PaperCanvasSizeOptions = new SectionBasedLayoutPaperCanvasSizeOptionsProperty {
                    PaperMargin = new SpacingProperty {
                        Bottom = "bottom",
                        Left = "left",
                        Right = "right",
                        Top = "top"
                    },
                    PaperOrientation = "paperOrientation",
                    PaperSize = "paperSize"
                }
            },
            FooterSections = new [] { new HeaderFooterSectionConfigurationProperty {
                Layout = new SectionLayoutConfigurationProperty {
                    FreeFormLayout = new FreeFormSectionLayoutConfigurationProperty {
                        Elements = new [] { new FreeFormLayoutElementProperty {
                            ElementId = "elementId",
                            ElementType = "elementType",
                            Height = "height",
                            Width = "width",
                            XAxisLocation = "xAxisLocation",
                            YAxisLocation = "yAxisLocation",

                            // the properties below are optional
                            BackgroundStyle = new FreeFormLayoutElementBackgroundStyleProperty {
                                Color = "color",
                                Visibility = "visibility"
                            },
                            BorderRadius = "borderRadius",
                            BorderStyle = new FreeFormLayoutElementBorderStyleProperty {
                                Color = "color",
                                Visibility = "visibility",
                                Width = "width"
                            },
                            LoadingAnimation = new LoadingAnimationProperty {
                                Visibility = "visibility"
                            },
                            Padding = "padding",
                            RenderingRules = new [] { new SheetElementRenderingRuleProperty {
                                ConfigurationOverrides = new SheetElementConfigurationOverridesProperty {
                                    Visibility = "visibility"
                                },
                                Expression = "expression"
                            } },
                            SelectedBorderStyle = new FreeFormLayoutElementBorderStyleProperty {
                                Color = "color",
                                Visibility = "visibility",
                                Width = "width"
                            },
                            Visibility = "visibility"
                        } }
                    }
                },
                SectionId = "sectionId",

                // the properties below are optional
                Style = new SectionStyleProperty {
                    Height = "height",
                    Padding = new SpacingProperty {
                        Bottom = "bottom",
                        Left = "left",
                        Right = "right",
                        Top = "top"
                    }
                }
            } },
            HeaderSections = new [] { new HeaderFooterSectionConfigurationProperty {
                Layout = new SectionLayoutConfigurationProperty {
                    FreeFormLayout = new FreeFormSectionLayoutConfigurationProperty {
                        Elements = new [] { new FreeFormLayoutElementProperty {
                            ElementId = "elementId",
                            ElementType = "elementType",
                            Height = "height",
                            Width = "width",
                            XAxisLocation = "xAxisLocation",
                            YAxisLocation = "yAxisLocation",

                            // the properties below are optional
                            BackgroundStyle = new FreeFormLayoutElementBackgroundStyleProperty {
                                Color = "color",
                                Visibility = "visibility"
                            },
                            BorderRadius = "borderRadius",
                            BorderStyle = new FreeFormLayoutElementBorderStyleProperty {
                                Color = "color",
                                Visibility = "visibility",
                                Width = "width"
                            },
                            LoadingAnimation = new LoadingAnimationProperty {
                                Visibility = "visibility"
                            },
                            Padding = "padding",
                            RenderingRules = new [] { new SheetElementRenderingRuleProperty {
                                ConfigurationOverrides = new SheetElementConfigurationOverridesProperty {
                                    Visibility = "visibility"
                                },
                                Expression = "expression"
                            } },
                            SelectedBorderStyle = new FreeFormLayoutElementBorderStyleProperty {
                                Color = "color",
                                Visibility = "visibility",
                                Width = "width"
                            },
                            Visibility = "visibility"
                        } }
                    }
                },
                SectionId = "sectionId",

                // the properties below are optional
                Style = new SectionStyleProperty {
                    Height = "height",
                    Padding = new SpacingProperty {
                        Bottom = "bottom",
                        Left = "left",
                        Right = "right",
                        Top = "top"
                    }
                }
            } }
        }
    }
};
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"

layoutProperty := &LayoutProperty{
	Configuration: &LayoutConfigurationProperty{
		FreeFormLayout: &FreeFormLayoutConfigurationProperty{
			Elements: []interface{}{
				&FreeFormLayoutElementProperty{
					ElementId: jsii.String("elementId"),
					ElementType: jsii.String("elementType"),
					Height: jsii.String("height"),
					Width: jsii.String("width"),
					XAxisLocation: jsii.String("xAxisLocation"),
					YAxisLocation: jsii.String("yAxisLocation"),

					// the properties below are optional
					BackgroundStyle: &FreeFormLayoutElementBackgroundStyleProperty{
						Color: jsii.String("color"),
						Visibility: jsii.String("visibility"),
					},
					BorderRadius: jsii.String("borderRadius"),
					BorderStyle: &FreeFormLayoutElementBorderStyleProperty{
						Color: jsii.String("color"),
						Visibility: jsii.String("visibility"),
						Width: jsii.String("width"),
					},
					LoadingAnimation: &LoadingAnimationProperty{
						Visibility: jsii.String("visibility"),
					},
					Padding: jsii.String("padding"),
					RenderingRules: []interface{}{
						&SheetElementRenderingRuleProperty{
							ConfigurationOverrides: &SheetElementConfigurationOverridesProperty{
								Visibility: jsii.String("visibility"),
							},
							Expression: jsii.String("expression"),
						},
					},
					SelectedBorderStyle: &FreeFormLayoutElementBorderStyleProperty{
						Color: jsii.String("color"),
						Visibility: jsii.String("visibility"),
						Width: jsii.String("width"),
					},
					Visibility: jsii.String("visibility"),
				},
			},

			// the properties below are optional
			CanvasSizeOptions: &FreeFormLayoutCanvasSizeOptionsProperty{
				ScreenCanvasSizeOptions: &FreeFormLayoutScreenCanvasSizeOptionsProperty{
					OptimizedViewPortWidth: jsii.String("optimizedViewPortWidth"),
				},
			},
			Groups: []interface{}{
				&SheetLayoutGroupProperty{
					Id: jsii.String("id"),
					Members: []interface{}{
						&SheetLayoutGroupMemberProperty{
							Id: jsii.String("id"),
							Type: jsii.String("type"),
						},
					},
				},
			},
		},
		GridLayout: &GridLayoutConfigurationProperty{
			Elements: []interface{}{
				&GridLayoutElementProperty{
					ColumnSpan: jsii.Number(123),
					ElementId: jsii.String("elementId"),
					ElementType: jsii.String("elementType"),
					RowSpan: jsii.Number(123),

					// the properties below are optional
					BackgroundStyle: &GridLayoutElementBackgroundStyleProperty{
						Color: jsii.String("color"),
						Visibility: jsii.String("visibility"),
					},
					BorderRadius: jsii.String("borderRadius"),
					BorderStyle: &GridLayoutElementBorderStyleProperty{
						Color: jsii.String("color"),
						Visibility: jsii.String("visibility"),
						Width: jsii.String("width"),
					},
					ColumnIndex: jsii.Number(123),
					LoadingAnimation: &LoadingAnimationProperty{
						Visibility: jsii.String("visibility"),
					},
					Padding: jsii.String("padding"),
					RowIndex: jsii.Number(123),
					SelectedBorderStyle: &GridLayoutElementBorderStyleProperty{
						Color: jsii.String("color"),
						Visibility: jsii.String("visibility"),
						Width: jsii.String("width"),
					},
				},
			},

			// the properties below are optional
			CanvasSizeOptions: &GridLayoutCanvasSizeOptionsProperty{
				ScreenCanvasSizeOptions: &GridLayoutScreenCanvasSizeOptionsProperty{
					ResizeOption: jsii.String("resizeOption"),

					// the properties below are optional
					OptimizedViewPortWidth: jsii.String("optimizedViewPortWidth"),
				},
			},
		},
		SectionBasedLayout: &SectionBasedLayoutConfigurationProperty{
			BodySections: []interface{}{
				&BodySectionConfigurationProperty{
					Content: &BodySectionContentProperty{
						Layout: &SectionLayoutConfigurationProperty{
							FreeFormLayout: &FreeFormSectionLayoutConfigurationProperty{
								Elements: []interface{}{
									&FreeFormLayoutElementProperty{
										ElementId: jsii.String("elementId"),
										ElementType: jsii.String("elementType"),
										Height: jsii.String("height"),
										Width: jsii.String("width"),
										XAxisLocation: jsii.String("xAxisLocation"),
										YAxisLocation: jsii.String("yAxisLocation"),

										// the properties below are optional
										BackgroundStyle: &FreeFormLayoutElementBackgroundStyleProperty{
											Color: jsii.String("color"),
											Visibility: jsii.String("visibility"),
										},
										BorderRadius: jsii.String("borderRadius"),
										BorderStyle: &FreeFormLayoutElementBorderStyleProperty{
											Color: jsii.String("color"),
											Visibility: jsii.String("visibility"),
											Width: jsii.String("width"),
										},
										LoadingAnimation: &LoadingAnimationProperty{
											Visibility: jsii.String("visibility"),
										},
										Padding: jsii.String("padding"),
										RenderingRules: []interface{}{
											&SheetElementRenderingRuleProperty{
												ConfigurationOverrides: &SheetElementConfigurationOverridesProperty{
													Visibility: jsii.String("visibility"),
												},
												Expression: jsii.String("expression"),
											},
										},
										SelectedBorderStyle: &FreeFormLayoutElementBorderStyleProperty{
											Color: jsii.String("color"),
											Visibility: jsii.String("visibility"),
											Width: jsii.String("width"),
										},
										Visibility: jsii.String("visibility"),
									},
								},
							},
						},
					},
					SectionId: jsii.String("sectionId"),

					// the properties below are optional
					PageBreakConfiguration: &SectionPageBreakConfigurationProperty{
						After: &SectionAfterPageBreakProperty{
							Status: jsii.String("status"),
						},
					},
					RepeatConfiguration: &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"),
							},
						},
					},
					Style: &SectionStyleProperty{
						Height: jsii.String("height"),
						Padding: &SpacingProperty{
							Bottom: jsii.String("bottom"),
							Left: jsii.String("left"),
							Right: jsii.String("right"),
							Top: jsii.String("top"),
						},
					},
				},
			},
			CanvasSizeOptions: &SectionBasedLayoutCanvasSizeOptionsProperty{
				PaperCanvasSizeOptions: &SectionBasedLayoutPaperCanvasSizeOptionsProperty{
					PaperMargin: &SpacingProperty{
						Bottom: jsii.String("bottom"),
						Left: jsii.String("left"),
						Right: jsii.String("right"),
						Top: jsii.String("top"),
					},
					PaperOrientation: jsii.String("paperOrientation"),
					PaperSize: jsii.String("paperSize"),
				},
			},
			FooterSections: []interface{}{
				&HeaderFooterSectionConfigurationProperty{
					Layout: &SectionLayoutConfigurationProperty{
						FreeFormLayout: &FreeFormSectionLayoutConfigurationProperty{
							Elements: []interface{}{
								&FreeFormLayoutElementProperty{
									ElementId: jsii.String("elementId"),
									ElementType: jsii.String("elementType"),
									Height: jsii.String("height"),
									Width: jsii.String("width"),
									XAxisLocation: jsii.String("xAxisLocation"),
									YAxisLocation: jsii.String("yAxisLocation"),

									// the properties below are optional
									BackgroundStyle: &FreeFormLayoutElementBackgroundStyleProperty{
										Color: jsii.String("color"),
										Visibility: jsii.String("visibility"),
									},
									BorderRadius: jsii.String("borderRadius"),
									BorderStyle: &FreeFormLayoutElementBorderStyleProperty{
										Color: jsii.String("color"),
										Visibility: jsii.String("visibility"),
										Width: jsii.String("width"),
									},
									LoadingAnimation: &LoadingAnimationProperty{
										Visibility: jsii.String("visibility"),
									},
									Padding: jsii.String("padding"),
									RenderingRules: []interface{}{
										&SheetElementRenderingRuleProperty{
											ConfigurationOverrides: &SheetElementConfigurationOverridesProperty{
												Visibility: jsii.String("visibility"),
											},
											Expression: jsii.String("expression"),
										},
									},
									SelectedBorderStyle: &FreeFormLayoutElementBorderStyleProperty{
										Color: jsii.String("color"),
										Visibility: jsii.String("visibility"),
										Width: jsii.String("width"),
									},
									Visibility: jsii.String("visibility"),
								},
							},
						},
					},
					SectionId: jsii.String("sectionId"),

					// the properties below are optional
					Style: &SectionStyleProperty{
						Height: jsii.String("height"),
						Padding: &SpacingProperty{
							Bottom: jsii.String("bottom"),
							Left: jsii.String("left"),
							Right: jsii.String("right"),
							Top: jsii.String("top"),
						},
					},
				},
			},
			HeaderSections: []interface{}{
				&HeaderFooterSectionConfigurationProperty{
					Layout: &SectionLayoutConfigurationProperty{
						FreeFormLayout: &FreeFormSectionLayoutConfigurationProperty{
							Elements: []interface{}{
								&FreeFormLayoutElementProperty{
									ElementId: jsii.String("elementId"),
									ElementType: jsii.String("elementType"),
									Height: jsii.String("height"),
									Width: jsii.String("width"),
									XAxisLocation: jsii.String("xAxisLocation"),
									YAxisLocation: jsii.String("yAxisLocation"),

									// the properties below are optional
									BackgroundStyle: &FreeFormLayoutElementBackgroundStyleProperty{
										Color: jsii.String("color"),
										Visibility: jsii.String("visibility"),
									},
									BorderRadius: jsii.String("borderRadius"),
									BorderStyle: &FreeFormLayoutElementBorderStyleProperty{
										Color: jsii.String("color"),
										Visibility: jsii.String("visibility"),
										Width: jsii.String("width"),
									},
									LoadingAnimation: &LoadingAnimationProperty{
										Visibility: jsii.String("visibility"),
									},
									Padding: jsii.String("padding"),
									RenderingRules: []interface{}{
										&SheetElementRenderingRuleProperty{
											ConfigurationOverrides: &SheetElementConfigurationOverridesProperty{
												Visibility: jsii.String("visibility"),
											},
											Expression: jsii.String("expression"),
										},
									},
									SelectedBorderStyle: &FreeFormLayoutElementBorderStyleProperty{
										Color: jsii.String("color"),
										Visibility: jsii.String("visibility"),
										Width: jsii.String("width"),
									},
									Visibility: jsii.String("visibility"),
								},
							},
						},
					},
					SectionId: jsii.String("sectionId"),

					// the properties below are optional
					Style: &SectionStyleProperty{
						Height: jsii.String("height"),
						Padding: &SpacingProperty{
							Bottom: jsii.String("bottom"),
							Left: jsii.String("left"),
							Right: jsii.String("right"),
							Top: jsii.String("top"),
						},
					},
				},
			},
		},
	},
}

Properties ​

configurationIResolvable | CfnAnalysis.LayoutConfigurationPropertyconfigurationtyping.Union[IResolvable, LayoutConfigurationProperty]configurationIResolvableConfigurationIResolvableConfigurationinterface{} required #
The configuration that determines what the type of layout for a sheet.