Interface IAppsyncFunctionProps
(experimental) the CDK properties for AppSync Functions.
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface IAppsyncFunctionProps : IBaseAppsyncFunctionProps
Syntax (vb)
Public Interface IAppsyncFunctionProps
Inherits IBaseAppsyncFunctionProps
Remarks
Stability: Experimental
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 | (experimental) the GraphQL Api linked to this AppSync Function. |
DataSource | (experimental) the data source linked to this AppSync Function. |
Properties
Api
(experimental) the GraphQL Api linked to this AppSync Function.
IGraphqlApi Api { get; }
Property Value
Remarks
Stability: Experimental
DataSource
(experimental) the data source linked to this AppSync Function.
BaseDataSource DataSource { get; }
Property Value
Remarks
Stability: Experimental