RuntimeConfigProperty Struct Added in v2.278.0
| 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 runtimeConfigProperty: lambda.CfnFunction.RuntimeConfigProperty = {
runtimeAlias: 'runtimeAlias',
runtimeArn: 'runtimeArn',
};
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
// 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();
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"
};
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
runtimeAliasstringruntime_aliasstrruntimeAliasStringRuntimeAliasstringRuntimeAlias*string required #The name of the runtime alias that controls the function's runtime update cadence (for example, stable or latest).
The Amazon Resource Name (ARN) of the runtime that the function uses.