code: function getResourceId(methodObj) {
    if (!methodObj || !methodObj.Properties) return;
    if (!methodObj.Properties.ResourceId) return;
  
    return methodObj.Properties.ResourceId.Ref;
  }
docs: /* Example of an HTTP Proxy Method Object
  "ApiGatewayResourcePublicAnyProxyMethod": {
  "Type": "AWS::ApiGateway::Method",
  "Properties": {
  "ResourceId": { "Ref": "ApiGatewayResourcePublicAny" },
  "RestApiId": { "Ref": "ApiGatewayRestApi" },
  "AuthorizationType": "NONE",
  "HttpMethod": "GET",
  "MethodResponses": [ { "StatusCode": 200 } ],
  "RequestParameters": { "method.request.path.proxy": true },
  "Integration": {
  "Type": "HTTP_PROXY",
  "IntegrationHttpMethod": "GET",
  "Uri": "https://www.example.com/us-west-2/{proxy}", // Note that ${self:provider.region} is expanded
  "IntegrationResponses": [ { "StatusCode": 200 } ],
  "RequestParameters": { "integration.request.path.proxy": "method.request.path.proxy" },
  "PassthroughBehavior": "WHEN_NO_MATCH"
  }
  }
  }
   /* Method Helpers