# AppSyncRuntimeProperty

Describes a runtime used by an AWS AppSync resolver or AWS AppSync function.

Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const appSyncRuntimeProperty: appsync.CfnFunctionConfiguration.AppSyncRuntimeProperty = {
  name: 'name',
  runtimeVersion: 'runtimeVersion',
};
```

## Properties

- `name`: string (required) — The `name` of the runtime to use.

  Currently, the only allowed value is `APPSYNC_JS` .

- `runtimeVersion`: string (required) — The `version` of the runtime to use.

  Currently, the only allowed version is `1.0.0` .
