Class BaseAppsyncFunctionProps
the base properties for AppSync Functions.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BaseAppsyncFunctionProps : Object, IBaseAppsyncFunctionProps
Syntax (vb)
Public Class BaseAppsyncFunctionProps
Inherits Object
Implements IBaseAppsyncFunctionProps
Remarks
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;
Code code;
FunctionRuntime functionRuntime;
MappingTemplate mappingTemplate;
var baseAppsyncFunctionProps = new BaseAppsyncFunctionProps {
Name = "name",
// the properties below are optional
Code = code,
Description = "description",
RequestMappingTemplate = mappingTemplate,
ResponseMappingTemplate = mappingTemplate,
Runtime = functionRuntime
};
Synopsis
Constructors
BaseAppsyncFunctionProps() |
Properties
Code | The function code. |
Description | the description for this AppSync Function. |
Name | the name of the AppSync Function. |
RequestMappingTemplate | the request mapping template for the AppSync Function. |
ResponseMappingTemplate | the response mapping template for the AppSync Function. |
Runtime | The functions runtime. |
Constructors
BaseAppsyncFunctionProps()
public BaseAppsyncFunctionProps()
Properties
Code
The function code.
public Code Code { get; set; }
Property Value
Remarks
Default: - no code is used
Description
the description for this AppSync Function.
public string Description { get; set; }
Property Value
System.String
Remarks
Default: - no description
Name
the name of the AppSync Function.
public string Name { get; set; }
Property Value
System.String
RequestMappingTemplate
the request mapping template for the AppSync Function.
public MappingTemplate RequestMappingTemplate { get; set; }
Property Value
Remarks
Default: - no request mapping template
ResponseMappingTemplate
the response mapping template for the AppSync Function.
public MappingTemplate ResponseMappingTemplate { get; set; }
Property Value
Remarks
Default: - no response mapping template
Runtime
The functions runtime.
public FunctionRuntime Runtime { get; set; }
Property Value
Remarks
Default: - no function runtime, VTL mapping templates used