Interface CfnResolver.IAppSyncRuntimeProperty
Describes a runtime used by an AWS AppSync resolver or AWS AppSync function.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAppSyncRuntimeProperty
Syntax (vb)
Public Interface IAppSyncRuntimeProperty
Remarks
Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var appSyncRuntimeProperty = new AppSyncRuntimeProperty {
Name = "name",
RuntimeVersion = "runtimeVersion"
};
Synopsis
Properties
Name | The |
RuntimeVersion | The |
Properties
Name
The name
of the runtime to use.
string Name { get; }
Property Value
System.String
Remarks
Currently, the only allowed value is APPSYNC_JS
.
RuntimeVersion
The version
of the runtime to use.
string RuntimeVersion { get; }
Property Value
System.String
Remarks
Currently, the only allowed version is 1.0.0
.