MetadataEntryResult

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

Bases: MetadataEntry

Parameters:
  • type (str) – The type of the metadata entry.

  • data (Union[str, FileAssetMetadataEntry, Dict[str, Any], ContainerImageAssetMetadataEntry, Sequence[Union[Tag, Dict[str, Any]]], None]) – The data. Default: - no data.

  • trace (Optional[Sequence[str]]) – A stack trace for when the entry was created. Default: - no trace.

  • path (str) – The path in which this entry was defined.

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.cx_api as cx_api

metadata_entry_result = cx_api.MetadataEntryResult(
    path="path",
    type="type",

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

Attributes

data

The data.

Default:
  • no data.

path

The path in which this entry was defined.

trace

A stack trace for when the entry was created.

Default:
  • no trace.

type

The type of the metadata entry.