interface GridLayoutElementProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins.CfnDashboardPropsMixin.GridLayoutElementProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsquicksight/mixins#CfnDashboardPropsMixin_GridLayoutElementProperty |
Java | software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDashboardPropsMixin.GridLayoutElementProperty |
Python | aws_cdk.mixins_preview.aws_quicksight.mixins.CfnDashboardPropsMixin.GridLayoutElementProperty |
TypeScript | @aws-cdk/mixins-preview » aws_quicksight » mixins » CfnDashboardPropsMixin » 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 { mixins as quicksight_mixins } from '@aws-cdk/mixins-preview/aws-quicksight';
const gridLayoutElementProperty: quicksight_mixins.CfnDashboardPropsMixin.GridLayoutElementProperty = {
backgroundStyle: {
color: 'color',
visibility: 'visibility',
},
borderRadius: 'borderRadius',
borderStyle: {
color: 'color',
visibility: 'visibility',
width: 'width',
},
columnIndex: 123,
columnSpan: 123,
elementId: 'elementId',
elementType: 'elementType',
loadingAnimation: {
visibility: 'visibility',
},
padding: 'padding',
rowIndex: 123,
rowSpan: 123,
selectedBorderStyle: {
color: 'color',
visibility: 'visibility',
width: 'width',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| 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. |
| 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. |
| 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. |
| row | number | The height of a grid element expressed as a number of grid rows. |
| selected | IResolvable | Grid | The border style configuration of a grid layout element. |
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.
columnSpan?
Type:
number
(optional)
The width of a grid element expressed as a number of grid columns.
elementId?
Type:
string
(optional)
A unique identifier for an element within a grid layout.
elementType?
Type:
string
(optional)
The type of 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.
rowSpan?
Type:
number
(optional)
The height of a grid element expressed as a number of grid rows.
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