MetadataEntry¶
-
class
aws_cdk.cx_api.
MetadataEntry
(*, type, data=None, trace=None)¶ Bases:
aws_cdk.cloud_assembly_schema.MetadataEntry
(deprecated) Backwards compatibility for when
MetadataEntry
was defined here.This is necessary because its used as an input in the stable
- Parameters
type (
str
) – The type of the metadata entry.data (
Union
[str
,FileAssetMetadataEntry
,ContainerImageAssetMetadataEntry
,Sequence
[Tag
],None
]) – The data. Default: - no data.trace (
Optional
[Sequence
[str
]]) – A stack trace for when the entry was created. Default: - no trace.
- Deprecated
moved to package ‘cloud-assembly-schema’
- See
core.ConstructNode.metadata
- Stability
deprecated
- Aws-cdk
/core library.
- 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 = cx_api.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