Skip to content
v2.278.0

DefaultSectionBasedLayoutConfigurationProperty Struct ​

The options that determine the default settings for a section-based layout configuration.

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 defaultSectionBasedLayoutConfigurationProperty: quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty = {
  canvasSizeOptions: {
    paperCanvasSizeOptions: {
      paperMargin: {
        bottom: 'bottom',
        left: 'left',
        right: 'right',
        top: 'top',
      },
      paperOrientation: 'paperOrientation',
      paperSize: 'paperSize',
    },
  },
};
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

default_section_based_layout_configuration_property = quicksight.CfnAnalysis.DefaultSectionBasedLayoutConfigurationProperty(
    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"
        )
    )
)
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.*;

DefaultSectionBasedLayoutConfigurationProperty defaultSectionBasedLayoutConfigurationProperty = DefaultSectionBasedLayoutConfigurationProperty.builder()
        .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder()
                .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder()
                        .paperMargin(SpacingProperty.builder()
                                .bottom("bottom")
                                .left("left")
                                .right("right")
                                .top("top")
                                .build())
                        .paperOrientation("paperOrientation")
                        .paperSize("paperSize")
                        .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 defaultSectionBasedLayoutConfigurationProperty = new DefaultSectionBasedLayoutConfigurationProperty {
    CanvasSizeOptions = new SectionBasedLayoutCanvasSizeOptionsProperty {
        PaperCanvasSizeOptions = new SectionBasedLayoutPaperCanvasSizeOptionsProperty {
            PaperMargin = new SpacingProperty {
                Bottom = "bottom",
                Left = "left",
                Right = "right",
                Top = "top"
            },
            PaperOrientation = "paperOrientation",
            PaperSize = "paperSize"
        }
    }
};
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"

defaultSectionBasedLayoutConfigurationProperty := &DefaultSectionBasedLayoutConfigurationProperty{
	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"),
		},
	},
}

Properties ​

canvasSizeOptionsIResolvable | CfnAnalysis.SectionBasedLayoutCanvasSizeOptionsPropertycanvas_size_optionstyping.Union[IResolvable, SectionBasedLayoutCanvasSizeOptionsProperty]canvasSizeOptionsIResolvableCanvasSizeOptionsIResolvableCanvasSizeOptionsinterface{} required #
Determines the screen canvas size options for a section-based layout.