interface GridLayoutElementProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnDashboard.GridLayoutElementProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_GridLayoutElementProperty |
Java | software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutElementProperty |
Python | aws_cdk.aws_quicksight.CfnDashboard.GridLayoutElementProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnDashboard » GridLayoutElementProperty |
An element within a grid layout.
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 gridLayoutElementProperty: quicksight.CfnDashboard.GridLayoutElementProperty = {
columnSpan: 123,
elementId: 'elementId',
elementType: 'elementType',
rowSpan: 123,
// the properties below are optional
backgroundStyle: {
color: 'color',
visibility: 'visibility',
},
borderRadius: 'borderRadius',
borderStyle: {
color: 'color',
visibility: 'visibility',
width: 'width',
},
columnIndex: 123,
loadingAnimation: {
visibility: 'visibility',
},
padding: 'padding',
rowIndex: 123,
selectedBorderStyle: {
color: 'color',
visibility: 'visibility',
width: 'width',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| column | number | The width of a grid element expressed as a number of grid columns. |
| element | string | A unique identifier for an element within a grid layout. |
| element | string | The type of element. |
| row | number | The height of a grid element expressed as a number of grid rows. |
| background | IResolvable | Grid | The background style configuration of a grid layout element. |
| border | string | The border radius of a grid layout element. |
| border | IResolvable | Grid | The border style configuration of a grid layout element. |
| column | number | The column index for the upper left corner of an element. |
| loading | IResolvable | Loading | |
| padding? | string | The padding of a grid layout element. |
| row | number | The row index for the upper left corner of an element. |
| selected | IResolvable | Grid | The border style configuration of a grid layout element. |
columnSpan
Type:
number
The width of a grid element expressed as a number of grid columns.
elementId
Type:
string
A unique identifier for an element within a grid layout.
elementType
Type:
string
The type of element.
rowSpan
Type:
number
The height of a grid element expressed as a number of grid rows.
backgroundStyle?
Type:
IResolvable | Grid
(optional)
The background style configuration of a grid layout element.
borderRadius?
Type:
string
(optional)
The border radius of a grid layout element.
borderStyle?
Type:
IResolvable | Grid
(optional)
The border style configuration of a grid layout element.
columnIndex?
Type:
number
(optional)
The column index for the upper left corner of an element.
loadingAnimation?
Type:
IResolvable | Loading
(optional)
padding?
Type:
string
(optional)
The padding of a grid layout element.
rowIndex?
Type:
number
(optional)
The row index for the upper left corner of an element.
selectedBorderStyle?
Type:
IResolvable | Grid
(optional)
The border style configuration of a grid layout element.
This border style is used when the element is selected.

.NET
Go
Java
Python
TypeScript