interface AppSyncRuntimeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppSync.CfnResolverPropsMixin.AppSyncRuntimeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappsync#CfnResolverPropsMixin_AppSyncRuntimeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnResolverPropsMixin.AppSyncRuntimeProperty |
Python | aws_cdk.cfn_property_mixins.aws_appsync.CfnResolverPropsMixin.AppSyncRuntimeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appsync » CfnResolverPropsMixin » 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/cfn-property-mixins';
const appSyncRuntimeProperty: appsync.CfnResolverPropsMixin.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
(optional)
The name of the runtime to use.
Currently, the only allowed value is APPSYNC_JS .
runtimeVersion?
Type:
string
(optional)
The version of the runtime to use.
Currently, the only allowed version is 1.0.0 .

.NET
Go
Java
Python
TypeScript