Class CfnFunctionConfiguration.AppSyncRuntimeProperty
Describes a runtime used by an AWS AppSync resolver or AWS AppSync function.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFunctionConfiguration.AppSyncRuntimeProperty : CfnFunctionConfiguration.IAppSyncRuntimeProperty
Syntax (vb)
Public Class CfnFunctionConfiguration.AppSyncRuntimeProperty Implements CfnFunctionConfiguration.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
Constructors
AppSyncRuntimeProperty() | Describes a runtime used by an AWS AppSync resolver or AWS AppSync function. |
Properties
Name | The |
RuntimeVersion | The |
Constructors
AppSyncRuntimeProperty()
Describes a runtime used by an AWS AppSync resolver or AWS AppSync function.
public AppSyncRuntimeProperty()
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"
};
Properties
Name
The name
of the runtime to use.
public string Name { get; set; }
Property Value
Remarks
Currently, the only allowed value is APPSYNC_JS
.
RuntimeVersion
The version
of the runtime to use.
public string RuntimeVersion { get; set; }
Property Value
Remarks
Currently, the only allowed version is 1.0.0
.