Interface IAppsyncFunctionProps
the CDK properties for AppSync Functions.
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAppsyncFunctionProps : IBaseAppsyncFunctionProps
Syntax (vb)
Public Interface IAppsyncFunctionProps
Inherits IBaseAppsyncFunctionProps
Remarks
ExampleMetadata: infused
Examples
GraphqlApi api;
var appsyncFunction = new AppsyncFunction(this, "function", new AppsyncFunctionProps {
Name = "appsync_function",
Api = api,
DataSource = api.AddNoneDataSource("none"),
RequestMappingTemplate = MappingTemplate.FromFile("request.vtl"),
ResponseMappingTemplate = MappingTemplate.FromFile("response.vtl")
});
Synopsis
Properties
Api | the GraphQL Api linked to this AppSync Function. |
DataSource | the data source linked to this AppSync Function. |
Properties
Api
the GraphQL Api linked to this AppSync Function.
IGraphqlApi Api { get; }
Property Value
DataSource
the data source linked to this AppSync Function.
BaseDataSource DataSource { get; }
Property Value