示例#1
0
 private Resource AddResource(string path, Resource resource)
 {
     return(resource.AddResource(path));
 }
示例#2
0
        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);
 }