title: AWS Lambda in dotnet core Does not seem to recognize the Cloudwatch Event Constant Value
body: <p>I've setup a simple dotnet core lambda in C#. However the output of the req parameter does not contain the const value I setup in the Cloudwatch Event Rule. The NodeJs version seem to work fine. Is this a limitation for dotnet core on lambda right now, or am I missing something?</p>
  
  <pre><code>        public async Task&lt;APIGatewayProxyResponse&gt; FunctionHandler(APIGatewayProxyRequest req, ILambdaContext context)
      {
          Console.WriteLine($"context: {JsonConvert.SerializeObject(context)}");
          Console.WriteLine($"req: {JsonConvert.SerializeObject(req)}");
  
          var body = new Dictionary&lt;string, string&gt;
          {
              { "message", "hello world" }
          };
  
          return new APIGatewayProxyResponse
          {
              Body = JsonConvert.SerializeObject(body),
              StatusCode = 200,
              Headers = new Dictionary&lt;string, string&gt; { { "Content-Type", "application/json" } }
          };
      }
  </code></pre>
  
  <p>the output of the req parameter:</p>
  
  <pre><code>req: 
  {
  "Resource": null,
  "Path": null,
  "HttpMethod": null,
  "Headers": null,
  "MultiValueHeaders": null,
  "QueryStringParameters": null,
  "MultiValueQueryStringParameters": null,
  "PathParameters": null,
  "StageVariables": null,
  "RequestContext": null,
  "Body": null,
  "IsBase64Encoded": false
  }
  </code></pre>