# SynthesisMessage

- 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#L105)
- 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 synthesisMessage: cx_api.SynthesisMessage = {
  entry: {
    type: 'type',

    // the properties below are optional
    data: 'data',
    trace: ['trace'],
  },
  id: 'id',
  level: cx_api.SynthesisMessageLevel.INFO,
};
```

## Properties

- `entry`: [MetadataEntry](/cdk/api/v2/docs/aws-cdk-lib.cloud_assembly_schema.MetadataEntry.html) (required)

- `id`: string (required)

- `level`: [SynthesisMessageLevel](/cdk/api/v2/docs/aws-cdk-lib.cx_api.SynthesisMessageLevel.html) (required)
