# MetadataEntryResult

Extends: MetadataEntryResult
Extends: MetadataEntry

- Source: [`cx-api/lib/legacy-moved.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/cx-api/lib/legacy-moved.ts#L600)
- Type last changed: v2.238.0 · 9 Feb 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cx_api } from 'aws-cdk-lib';
const metadataEntryResult: cx_api.MetadataEntryResult = {
  path: 'path',
  type: 'type',

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

## Properties

- `data`: string | number | boolean | [FileAssetMetadataEntry](/cdk/api/v2/docs/aws-cdk-lib.cloud_assembly_schema.FileAssetMetadataEntry.html) | [ContainerImageAssetMetadataEntry](/cdk/api/v2/docs/aws-cdk-lib.cloud_assembly_schema.ContainerImageAssetMetadataEntry.html) | [PropertyMutationMetadataEntry](/cdk/api/v2/docs/aws-cdk-lib.cloud_assembly_schema.PropertyMutationMetadataEntry.html) | string | [Tag](/cdk/api/v2/docs/aws-cdk-lib.cloud_assembly_schema.Tag.html)[] — The data.

  **Default:** no data.

- `path`: string (required) — The path in which this entry was defined.

- `trace`: string[] — A stack trace for when the entry was created.

  **Default:** no trace.

- `type`: string (required) — The type of the metadata entry.
