Skip to content
v2.274.0

BodySectionContentProperty Struct ​

The configuration of content in a body section.

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 bodySectionContentProperty: quicksight.CfnDashboard.BodySectionContentProperty = {
  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',
      }],
    },
  },
};

Properties ​

layoutoptionalIResolvable | CfnDashboard.SectionLayoutConfigurationPropertylayoutoptionaltyping.Union[IResolvable, SectionLayoutConfigurationProperty]layoutoptionalIResolvableLayoutoptionalIResolvableLayoutoptionalinterface{}#
The layout configuration of a body section.