CfnRuntimeVersionProps Struct
Properties for defining a CfnRuntimeVersion.
| 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 lambda } from 'aws-cdk-lib';
const cfnRuntimeVersionProps: lambda.CfnRuntimeVersionProps = {
name: 'name',
runtimeName: 'runtimeName',
// the properties below are optional
imageUri: 'imageUri',
releaseNotes: 'releaseNotes',
};
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_
cfn_runtime_version_props = lambda.CfnRuntimeVersionProps(
name="name",
runtime_name="runtimeName",
# the properties below are optional
image_uri="imageUri",
release_notes="releaseNotes"
)
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.*;
CfnRuntimeVersionProps cfnRuntimeVersionProps = CfnRuntimeVersionProps.builder()
.name("name")
.runtimeName("runtimeName")
// the properties below are optional
.imageUri("imageUri")
.releaseNotes("releaseNotes")
.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 cfnRuntimeVersionProps = new CfnRuntimeVersionProps {
Name = "name",
RuntimeName = "runtimeName",
// the properties below are optional
ImageUri = "imageUri",
ReleaseNotes = "releaseNotes"
};
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"
cfnRuntimeVersionProps := &CfnRuntimeVersionProps{
Name: jsii.String("name"),
RuntimeName: jsii.String("runtimeName"),
// the properties below are optional
ImageUri: jsii.String("imageUri"),
ReleaseNotes: jsii.String("releaseNotes"),
}
Properties
imageUrioptionalstringimage_urioptionalstrimageUrioptionalStringImageUrioptionalstringImageUrioptional*string #The URI of the OCI image to publish as this runtime version.
Not returned in Read.
The version identifier (1-128 chars, alphanumeric plus _.-).
releaseNotesoptionalstringrelease_notesoptionalstrreleaseNotesoptionalStringReleaseNotesoptionalstringReleaseNotesoptional*string #Optional release notes for this runtime version.
Updatable; removing it from the template clears the release notes.
The name of the parent runtime.