interface AppSyncRuntimeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppSync.Mixins.CfnResolverPropsMixin.AppSyncRuntimeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappsync/mixins#CfnResolverPropsMixin_AppSyncRuntimeProperty |
Java | software.amazon.awscdk.mixins.preview.services.appsync.mixins.CfnResolverPropsMixin.AppSyncRuntimeProperty |
Python | aws_cdk.mixins_preview.aws_appsync.mixins.CfnResolverPropsMixin.AppSyncRuntimeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appsync » mixins » 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 { mixins as appsync_mixins } from '@aws-cdk/mixins-preview/aws-appsync';
const appSyncRuntimeProperty: appsync_mixins.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