# CfnRuntimeVersionProps

Properties for defining a `CfnRuntimeVersion`.

Used as props by: [CfnRuntimeVersion](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnRuntimeVersion.html)

- Source: Generated at build time

## 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 cfnRuntimeVersionProps: lambda.CfnRuntimeVersionProps = {
  name: 'name',
  runtimeName: 'runtimeName',

  // the properties below are optional
  imageUri: 'imageUri',
  releaseNotes: 'releaseNotes',
};
```

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_

cfn_runtime_version_props = lambda.CfnRuntimeVersionProps(
    name="name",
    runtime_name="runtimeName",

    # the properties below are optional
    image_uri="imageUri",
    release_notes="releaseNotes"
)
```

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

CfnRuntimeVersionProps cfnRuntimeVersionProps = CfnRuntimeVersionProps.builder()
        .name("name")
        .runtimeName("runtimeName")

        // the properties below are optional
        .imageUri("imageUri")
        .releaseNotes("releaseNotes")
        .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 cfnRuntimeVersionProps = new CfnRuntimeVersionProps {
    Name = "name",
    RuntimeName = "runtimeName",

    // the properties below are optional
    ImageUri = "imageUri",
    ReleaseNotes = "releaseNotes"
};
```

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"

cfnRuntimeVersionProps := &CfnRuntimeVersionProps{
	Name: jsii.String("name"),
	RuntimeName: jsii.String("runtimeName"),

	// the properties below are optional
	ImageUri: jsii.String("imageUri"),
	ReleaseNotes: jsii.String("releaseNotes"),
}
```

## Properties

- `imageUri`: string — The URI of the OCI image to publish as this runtime version.

  Not returned in Read.

- `name`: string (required) — The version identifier (1-128 chars, alphanumeric plus _.-).

- `releaseNotes`: string — Optional release notes for this runtime version.

  Updatable; removing it from the template clears the release notes.

- `runtimeName`: string (required) — The name of the parent runtime.
