CompatibilityProperty Struct Added in v2.278.0
Compatibility matrix for the runtime version the alias points to.
| Source | |
|---|---|
| Type last changed |
Example
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.CfnRuntimeAlias.CompatibilityProperty = {
architectures: ['architectures'],
integrationModels: ['integrationModels'],
managedInstances: 'managedInstances',
};
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.CfnRuntimeAlias.CompatibilityProperty(
architectures=["architectures"],
integration_models=["integrationModels"],
managed_instances="managedInstances"
)
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();
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"
};
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
architecturesoptionalstring[]architecturesoptionaltyping.List[str]architecturesoptionalList<String>Architecturesoptionalstring[]Architecturesoptional*[]*string #integrationModelsoptionalstring[]integration_modelsoptionaltyping.List[str]integrationModelsoptionalList<String>IntegrationModelsoptionalstring[]IntegrationModelsoptional*[]*string #managedInstancesoptionalstringmanaged_instancesoptionalstrmanagedInstancesoptionalStringManagedInstancesoptionalstringManagedInstancesoptional*string #