Skip to content
v2.275.0

LayoutContentProperty Struct ​

Object to store union of different versions of layout content.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cases as cases } from 'aws-cdk-lib';
const layoutContentProperty: cases.CfnLayout.LayoutContentProperty = {
  basic: {
    moreInfo: {
      sections: [{
        fieldGroup: {
          fields: [{
            id: 'id',
          }],

          // the properties below are optional
          name: 'name',
        },
      }],
    },
    topPanel: {
      sections: [{
        fieldGroup: {
          fields: [{
            id: 'id',
          }],

          // the properties below are optional
          name: 'name',
        },
      }],
    },
  },
};

Properties ​

basicIResolvable | CfnLayout.BasicLayoutPropertybasictyping.Union[IResolvable, BasicLayoutProperty]basicIResolvableBasicIResolvableBasicinterface{}required#
Content specific to `BasicLayout` type.

It configures fields in the top panel and More Info tab of agent application.