# CompatibilityProperty

Compatibility matrix for the runtime version: supported integration models, architectures, and feature policies.

- Source: Generated at build time
- Type last changed: v2.278.0 · 20 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const compatibilityProperty: lambda.CfnRuntimeVersion.CompatibilityProperty = {
  architectures: ['architectures'],
  integrationModels: ['integrationModels'],
  managedInstances: 'managedInstances',
};
```

Python:

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

compatibility_property = lambda.CfnRuntimeVersion.CompatibilityProperty(
    architectures=["architectures"],
    integration_models=["integrationModels"],
    managed_instances="managedInstances"
)
```

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.services.lambda.*;

CompatibilityProperty compatibilityProperty = CompatibilityProperty.builder()
        .architectures(List.of("architectures"))
        .integrationModels(List.of("integrationModels"))
        .managedInstances("managedInstances")
        .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.AWS.Lambda;

var compatibilityProperty = new CompatibilityProperty {
    Architectures = new [] { "architectures" },
    IntegrationModels = new [] { "integrationModels" },
    ManagedInstances = "managedInstances"
};
```

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"

compatibilityProperty := &CompatibilityProperty{
	Architectures: []*string{
		jsii.String("architectures"),
	},
	IntegrationModels: []*string{
		jsii.String("integrationModels"),
	},
	ManagedInstances: jsii.String("managedInstances"),
}
```

## Properties

- `architectures`: string[] — Supported CPU architectures for the runtime version.

- `integrationModels`: string[] — Supported integration models for the runtime version.

- `managedInstances`: string — Whether the runtime version supports managed instances.
