MetadataEntry

class aws_cdk.cx_api.MetadataEntry(*, type, data=None, trace=None)

Bases: aws_cdk.cloud_assembly_schema.MetadataEntry

__init__(*, type, data=None, trace=None)

Backwards compatibility for when MetadataEntry was defined here.

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

Parameters

deprecated :deprecated: moved to package ‘cloud-assembly-schema’

see :see: core.ConstructNode.metadata stability :stability: deprecated aws-cdk: :aws-cdk:: /core library.

Return type

None

Attributes

data

The data.

default :default: - no data.

Return type

Union[str, FileAssetMetadataEntry, ContainerImageAssetMetadataEntry, List[Tag], None]

trace

A stack trace for when the entry was created.

default :default: - no trace.

Return type

Optional[List[str]]

type

The type of the metadata entry.

Return type

str