# PropertyMutationMetadataEntry

Metadata type of a PropertyMutation.

- Source: [`lib/cloud-assembly/metadata-schema.ts`](https://github.com/aws/aws-cdk-cli/blob/HEAD/packages/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/metadata-schema.ts)
- Type last changed: v2.251.0 · 24 Apr 2026

## Example

TypeScript:

```ts
// 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 propertyMutationMetadataEntry: cloud_assembly_schema.PropertyMutationMetadataEntry = {
  propertyName: 'propertyName',
  stackTrace: ['stackTrace'],
};
```

Python:

```python
from aws_cdk.cloud_assembly_schema import PropertyMutationMetadataEntry
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import cloud_assembly_schema

property_mutation_metadata_entry = PropertyMutationMetadataEntry(
    property_name="propertyName",
    stack_trace=["stackTrace"]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cloud_assembly_schema.*;

PropertyMutationMetadataEntry propertyMutationMetadataEntry = PropertyMutationMetadataEntry.builder()
        .propertyName("propertyName")
        .stackTrace(List.of("stackTrace"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Cloud_assembly_schema;

var propertyMutationMetadataEntry = new PropertyMutationMetadataEntry {
    PropertyName = "propertyName",
    StackTrace = new [] { "stackTrace" }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

propertyMutationMetadataEntry := &PropertyMutationMetadataEntry{
	PropertyName: jsii.String("propertyName"),
	StackTrace: []*string{
		jsii.String("stackTrace"),
	},
}
```

## Properties

- `propertyName`: string (required) — Name of the property.

- `stackTrace`: string[] (required) — Stack trace of the mutation.
