Skip to content
v2.277.0

PropertyMutationMetadataEntry Struct ​

Metadata type of a PropertyMutation.

Example ​

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
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
// 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();
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" }
};
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 ​

propertyNamestringproperty_namestrpropertyNameStringPropertyNamestringPropertyName*string required #
Name of the property.
stackTracestring[]stack_tracetyping.List[str]stackTraceList<String>StackTracestring[]StackTrace*[]*string required #
Stack trace of the mutation.