# DefaultSectionBasedLayoutConfigurationProperty

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

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
        }
    }
};
```

Golang:

```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

- `canvasSizeOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.SectionBasedLayoutCanvasSizeOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.SectionBasedLayoutCanvasSizeOptionsProperty.html) (required) — Determines the screen canvas size options for a section-based layout.
