Skip to content
v2.273.0

GridLayoutElementProperty Struct ​

An element within a grid layout.

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 gridLayoutElementProperty: quicksight.CfnAnalysis.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 ​

backgroundStyleIResolvable | CfnAnalysis.GridLayoutElementBackgroundStylePropertybackground_styletyping.Union[IResolvable, GridLayoutElementBackgroundStyleProperty]backgroundStyleIResolvableBackgroundStyleIResolvableBackgroundStyleinterface{}#
borderRadiusstringborder_radiusstrborderRadiusStringBorderRadiusstringBorderRadius*string#
borderStyleIResolvable | CfnAnalysis.GridLayoutElementBorderStylePropertyborder_styletyping.Union[IResolvable, GridLayoutElementBorderStyleProperty]borderStyleIResolvableBorderStyleIResolvableBorderStyleinterface{}#
columnIndexnumbercolumn_indexint | floatcolumnIndexNumberColumnIndexdoubleColumnIndex*float64#
The column index for the upper left corner of an element.
columnSpannumbercolumn_spanint | floatcolumnSpanNumberColumnSpandoubleColumnSpan*float64required#
The width of a grid element expressed as a number of grid columns.
elementIdstringelement_idstrelementIdStringElementIdstringElementId*stringrequired#
A unique identifier for an element within a grid layout.
elementTypestringelement_typestrelementTypeStringElementTypestringElementType*stringrequired#
The type of element.
loadingAnimationIResolvable | CfnAnalysis.LoadingAnimationPropertyloading_animationtyping.Union[IResolvable, LoadingAnimationProperty]loadingAnimationIResolvableLoadingAnimationIResolvableLoadingAnimationinterface{}#
paddingstringpaddingstrpaddingStringPaddingstringPadding*string#
rowIndexnumberrow_indexint | floatrowIndexNumberRowIndexdoubleRowIndex*float64#
The row index for the upper left corner of an element.
rowSpannumberrow_spanint | floatrowSpanNumberRowSpandoubleRowSpan*float64required#
The height of a grid element expressed as a number of grid rows.
selectedBorderStyleIResolvable | CfnAnalysis.GridLayoutElementBorderStylePropertyselected_border_styletyping.Union[IResolvable, GridLayoutElementBorderStyleProperty]selectedBorderStyleIResolvableSelectedBorderStyleIResolvableSelectedBorderStyleinterface{}#