Skip to content
v2.273.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 ​

datastring | number | boolean | FileAssetMetadataEntry | ContainerImageAssetMetadataEntry | PropertyMutationMetadataEntry | string | Tag[]datatyping.Union[str, int | float, bool, FileAssetMetadataEntry, ContainerImageAssetMetadataEntry, PropertyMutationMetadataEntry, typing.List[typing.Union[str, Tag]]]dataStringDatastringDatainterface{}= no data.#
The data.
tracestring[]tracetyping.List[str]traceList<String>Tracestring[]Trace*[]*string= no trace.#
A stack trace for when the entry was created.
typestringtypestrtypeStringTypestringType*stringrequired#
The type of the metadata entry.