@aws-cdk_cx-api.MetadataEntry

interface MetadataEntry ⚠️

LanguageType name
.NETAmazon.CDK.CXAPI.MetadataEntry
Javasoftware.amazon.awscdk.cxapi.MetadataEntry
Pythonaws_cdk.cx_api.MetadataEntry
TypeScript (source)@aws-cdk/cx-api » MetadataEntry

⚠️ Deprecated: moved to package 'cloud-assembly-schema'

Backwards compatibility for when MetadataEntry was defined here.

This is necessary because its used as an input in the stable

See also: core.ConstructNode.metadata

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cx_api from '@aws-cdk/cx-api';
const metadataEntry: cx_api.MetadataEntry = {
  type: 'type',

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

Properties

NameTypeDescription
type⚠️stringThe type of the metadata entry.
data?⚠️string | FileAssetMetadataEntry | ContainerImageAssetMetadataEntry | Tag[]The data.
trace?⚠️string[]A stack trace for when the entry was created.

type⚠️

⚠️ Deprecated: moved to package 'cloud-assembly-schema'

Type: string

The type of the metadata entry.


data?⚠️

⚠️ Deprecated: moved to package 'cloud-assembly-schema'

Type: string | FileAssetMetadataEntry | ContainerImageAssetMetadataEntry | Tag[] (optional, default: no data.)

The data.


trace?⚠️

⚠️ Deprecated: moved to package 'cloud-assembly-schema'

Type: string[] (optional, default: no trace.)

A stack trace for when the entry was created.