interface AppSyncRuntimeProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppSync.CfnResolver.AppSyncRuntimeProperty |
Java | software.amazon.awscdk.services.appsync.CfnResolver.AppSyncRuntimeProperty |
Python | aws_cdk.aws_appsync.CfnResolver.AppSyncRuntimeProperty |
TypeScript | @aws-cdk/aws-appsync » CfnResolver » AppSyncRuntimeProperty |
Describes a runtime used by an AWS AppSync pipeline 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 * as appsync from '@aws-cdk/aws-appsync';
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
.