# RuntimeConfigProperty

- 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 runtimeConfigProperty: lambda.CfnFunction.RuntimeConfigProperty = {
  runtimeAlias: 'runtimeAlias',
  runtimeArn: 'runtimeArn',
};
```

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_

runtime_config_property = lambda.CfnFunction.RuntimeConfigProperty(
    runtime_alias="runtimeAlias",
    runtime_arn="runtimeArn"
)
```

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

RuntimeConfigProperty runtimeConfigProperty = RuntimeConfigProperty.builder()
        .runtimeAlias("runtimeAlias")
        .runtimeArn("runtimeArn")
        .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 runtimeConfigProperty = new RuntimeConfigProperty {
    RuntimeAlias = "runtimeAlias",
    RuntimeArn = "runtimeArn"
};
```

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"

runtimeConfigProperty := &RuntimeConfigProperty{
	RuntimeAlias: jsii.String("runtimeAlias"),
	RuntimeArn: jsii.String("runtimeArn"),
}
```

## Properties

- `runtimeAlias`: string (required) — The name of the runtime alias that controls the function's runtime update cadence (for example, stable or latest).

- `runtimeArn`: string (required) — The Amazon Resource Name (ARN) of the runtime that the function uses.
