private void ManageMethods(List <Options.Resources.Method> methods, Amazon.CDK.AWS.APIGateway.Resource apiResource) { if (methods == null || methods.Count == 0) { return; } foreach (var method in methods) { GetLambdaForMethod(method.ApiLambdaName, out var apiLambdaFunction); AwsCdkHandler.AddApiGatewayResourceMethod(apiResource, method, apiLambdaFunction); } }