interface SectionBasedLayoutConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.SectionBasedLayoutConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.SectionBasedLayoutConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.SectionBasedLayoutConfigurationProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnAnalysis » SectionBasedLayoutConfigurationProperty |
The configuration for a section-based layout.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as quicksight from '@aws-cdk/aws-quicksight';
const sectionBasedLayoutConfigurationProperty: quicksight.CfnAnalysis.SectionBasedLayoutConfigurationProperty = {
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',
},
borderStyle: {
color: 'color',
visibility: 'visibility',
},
loadingAnimation: {
visibility: 'visibility',
},
renderingRules: [{
configurationOverrides: {
visibility: 'visibility',
},
expression: 'expression',
}],
selectedBorderStyle: {
color: 'color',
visibility: 'visibility',
},
visibility: 'visibility',
}],
},
},
},
sectionId: 'sectionId',
// the properties below are optional
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',
},
borderStyle: {
color: 'color',
visibility: 'visibility',
},
loadingAnimation: {
visibility: 'visibility',
},
renderingRules: [{
configurationOverrides: {
visibility: 'visibility',
},
expression: 'expression',
}],
selectedBorderStyle: {
color: 'color',
visibility: 'visibility',
},
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',
},
borderStyle: {
color: 'color',
visibility: 'visibility',
},
loadingAnimation: {
visibility: 'visibility',
},
renderingRules: [{
configurationOverrides: {
visibility: 'visibility',
},
expression: 'expression',
}],
selectedBorderStyle: {
color: 'color',
visibility: 'visibility',
},
visibility: 'visibility',
}],
},
},
sectionId: 'sectionId',
// the properties below are optional
style: {
height: 'height',
padding: {
bottom: 'bottom',
left: 'left',
right: 'right',
top: 'top',
},
},
}],
};
Properties
Name | Type | Description |
---|---|---|
body | IResolvable | IResolvable | Body [] | A list of body section configurations. |
canvas | IResolvable | Section | The options for the canvas of a section-based layout. |
footer | IResolvable | IResolvable | Header [] | A list of footer section configurations. |
header | IResolvable | IResolvable | Header [] | A list of header section configurations. |
bodySections
Type:
IResolvable
|
IResolvable
|
Body
[]
A list of body section configurations.
canvasSizeOptions
Type:
IResolvable
|
Section
The options for the canvas of a section-based layout.
footerSections
Type:
IResolvable
|
IResolvable
|
Header
[]
A list of footer section configurations.
headerSections
Type:
IResolvable
|
IResolvable
|
Header
[]
A list of header section configurations.