interface AppSyncRuntimeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppSync.CfnResolver.AppSyncRuntimeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CfnResolver_AppSyncRuntimeProperty |
Java | software.amazon.awscdk.services.appsync.CfnResolver.AppSyncRuntimeProperty |
Python | aws_cdk.aws_appsync.CfnResolver.AppSyncRuntimeProperty |
TypeScript | aws-cdk-lib » aws_appsync » CfnResolver » 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.
Example
// 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.CfnResolver.AppSyncRuntimeProperty = {
name: 'name',
runtimeVersion: 'runtimeVersion',
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the runtime to use. |
| runtime | string | The version of the runtime to use. |
name
Type:
string
The name of the runtime to use.
Currently, the only allowed value is APPSYNC_JS .
runtimeVersion
Type:
string
The version of the runtime to use.
Currently, the only allowed version is 1.0.0 .

.NET
Go
Java
Python
TypeScript