MetadataEntry

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

Bases: object

A metadata entry in a cloud assembly artifact.

Parameters
ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.cloud_assembly_schema as cloud_assembly_schema

metadata_entry = cloud_assembly_schema.MetadataEntry(
    type="type",

    # the properties below are optional
    data="data",
    trace=["trace"]
)

Attributes

data

The data.

Default
  • no data.

Return type

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

trace

A stack trace for when the entry was created.

Default
  • no trace.

Return type

Optional[List[str]]

type

The type of the metadata entry.

Return type

str