interface MetadataEntry
Language | Type name |
---|---|
![]() | Amazon.CDK.CXAPI.MetadataEntry |
![]() | software.amazon.awscdk.cxapi.MetadataEntry |
![]() | aws_cdk.cx_api.MetadataEntry |
![]() | @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
Name | Type | Description |
---|---|---|
type | string | The type of the metadata entry. |
data? | string | number | boolean | File | Container | 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 | number | boolean |
File
|
Container
|
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.