private Resource AddResource(string path, Resource resource) { return(resource.AddResource(path)); }
private void AddMethod(string httpMethod, Function function, Resource apiGatewayResource) { var integration = new LambdaIntegration(function); apiGatewayResource.AddMethod(httpMethod, integration); }
public void AddApiGatewayResourceMethod(Amazon.CDK.AWS.APIGateway.Resource apiResource, Devon4Net.Infrastructure.AWS.CDK.Options.Resources.Method method, IFunction apiLambdaFunction) { HandlerResources.AwsCdkApiGatewayHandler.AddApiGatewayResourceMethod(apiResource, method, apiLambdaFunction); }