aws-cdk-lib.aws_quicksight.CfnTemplate.BodySectionContentProperty

interface BodySectionContentProperty

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

The configuration of content in a body section.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const bodySectionContentProperty: quicksight.CfnTemplate.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',
        },
        borderStyle: {
          color: 'color',
          visibility: 'visibility',
        },
        loadingAnimation: {
          visibility: 'visibility',
        },
        renderingRules: [{
          configurationOverrides: {
            visibility: 'visibility',
          },
          expression: 'expression',
        }],
        selectedBorderStyle: {
          color: 'color',
          visibility: 'visibility',
        },
        visibility: 'visibility',
      }],
    },
  },
};

Properties

NameTypeDescription
layout?IResolvable | SectionLayoutConfigurationPropertyThe layout configuration of a body section.

layout?

Type: IResolvable | SectionLayoutConfigurationProperty (optional)

The layout configuration of a body section.