Skip to content
v2.274.0

MetadataEntryResult Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cx_api } from 'aws-cdk-lib';
const metadataEntryResult: cx_api.MetadataEntryResult = {
  path: 'path',
  type: 'type',

  // the properties below are optional
  data: 'data',
  trace: ['trace'],
};

Properties ​

dataoptionalstring | number | boolean | FileAssetMetadataEntry | ContainerImageAssetMetadataEntry | PropertyMutationMetadataEntry | string | Tag[]dataoptionaltyping.Union[str, int | float, bool, FileAssetMetadataEntry, ContainerImageAssetMetadataEntry, PropertyMutationMetadataEntry, typing.List[typing.Union[str, Tag]]]dataoptionalStringDataoptionalstringDataoptionalinterface{}#
The data.

Default: no data.

pathstringpathstrpathStringPathstringPath*stringrequired#
The path in which this entry was defined.
traceoptionalstring[]traceoptionaltyping.List[str]traceoptionalList<String>Traceoptionalstring[]Traceoptional*[]*string#
A stack trace for when the entry was created.

Default: no trace.

typestringtypestrtypeStringTypestringType*stringrequired#
The type of the metadata entry.