RuntimeVersionReference Struct
A reference to a RuntimeVersion resource.
| Source |
|---|
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 interfaces_lambda } from 'aws-cdk-lib/interfaces';
const runtimeVersionReference: interfaces_lambda.RuntimeVersionReference = {
runtimeVersionArn: 'runtimeVersionArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_lambda as interfaces_lambda
runtime_version_reference = interfaces_lambda.RuntimeVersionReference(
runtime_version_arn="runtimeVersionArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.lambda.*;
RuntimeVersionReference runtimeVersionReference = RuntimeVersionReference.builder()
.runtimeVersionArn("runtimeVersionArn")
.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.Interfaces.Lambda;
var runtimeVersionReference = new RuntimeVersionReference {
RuntimeVersionArn = "runtimeVersionArn"
};
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"
runtimeVersionReference := &RuntimeVersionReference{
RuntimeVersionArn: jsii.String("runtimeVersionArn"),
}
Properties
runtimeVersionArnstringruntime_version_arnstrruntimeVersionArnStringRuntimeVersionArnstringRuntimeVersionArn*string required #The Arn of the RuntimeVersion resource.