aws-cdk-lib.cloud_assembly_schema.MetadataEntry

interface MetadataEntry

LanguageType name
.NETAmazon.CDK.CloudAssembly.Schema.MetadataEntry
Gogithub.com/aws/aws-cdk-go/awscdk/v2/cloudassemblyschema#MetadataEntry
Javasoftware.amazon.awscdk.cloudassembly.schema.MetadataEntry
Pythonaws_cdk.cloud_assembly_schema.MetadataEntry
TypeScript (source)aws-cdk-lib » cloud_assembly_schema » MetadataEntry

A metadata entry in a cloud assembly artifact.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cloud_assembly_schema } from 'aws-cdk-lib';
const metadataEntry: cloud_assembly_schema.MetadataEntry = {
  type: 'type',

  // the properties below are optional
  data: 'data',
  trace: ['trace'],
};

Properties

NameTypeDescription
typestringThe type of the metadata entry.
data?string | FileAssetMetadataEntry | ContainerImageAssetMetadataEntry | Tag[]The data.
trace?string[]A stack trace for when the entry was created.

type

Type: string

The type of the metadata entry.


data?

Type: string | FileAssetMetadataEntry | ContainerImageAssetMetadataEntry | Tag[] (optional, default: no data.)

The data.


trace?

Type: string[] (optional, default: no trace.)

A stack trace for when the entry was created.