Skip to content
v2.275.0

CfnLayoutProps Struct ​

Properties for defining a CfnLayout.

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 cfnLayoutProps: cases.CfnLayoutProps = {
  content: {
    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',
          },
        }],
      },
    },
  },
  name: 'name',

  // the properties below are optional
  domainId: 'domainId',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

contentIResolvable | CfnLayout.LayoutContentPropertycontenttyping.Union[IResolvable, LayoutContentProperty]contentIResolvableContentIResolvableContentinterface{}required#
Object to store union of different versions of layout content.
domainIdoptionalstringdomain_idoptionalstrdomainIdoptionalStringDomainIdoptionalstringDomainIdoptional*string#
The unique identifier of the Cases domain.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the layout.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
An array of key-value pairs to apply to this resource.