Skip to content
v2.275.0

CfnRelatedItemProps Struct ​

Properties for defining a CfnRelatedItem.

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 cfnRelatedItemProps: cases.CfnRelatedItemProps = {
  caseId: 'caseId',
  content: {
    comment: {
      body: 'body',
      contentType: 'contentType',
    },
  },
  domainId: 'domainId',
  type: 'type',

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

Properties ​

caseIdstringcase_idstrcaseIdStringCaseIdstringCaseId*stringrequired#
A unique identifier of the case.
Represents the content of a related item.
domainIdstringdomain_idstrdomainIdStringDomainIdstringDomainId*stringrequired#
The unique identifier of the Cases domain.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
A list of tags on the related item.
typestringtypestrtypeStringTypestringType*stringrequired#
The type of a related item.