Skip to content
v2.274.0

MetadataEntry Struct ​

A metadata entry in a cloud assembly artifact.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cloud_assembly_schema } from 'aws-cdk-lib';
const metadataEntry: cloud_assembly_schema.MetadataEntry = {
  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.

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.