question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Config schema: Define AWS "s3" function event properties

See original GitHub issue

Use case description

It’ll be nice to have s3 event fully covered by schema validation

Proposed solution

  1. Define schema for following properties at provider level (that’s part of #8022)
  • s3

Should be done directly in: lib/plugins/aws/provider/awsProvider.js: https://github.com/serverless/serverless/blob/d403d9c6d3dccdfc9f79d7c42b3cbc1a06fcfac0/lib/plugins/aws/provider/awsProvider.js#L141-L142

  1. Define schema of all s3 event properties

Should be done directly in: lib/plugins/aws/package/compile/events/s3/index.js: https://github.com/serverless/serverless/blob/d403d9c6d3dccdfc9f79d7c42b3cbc1a06fcfac0/lib/plugins/aws/package/compile/events/s3/index.js#L14-L16

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
medikoocommented, Sep 29, 2020

@thewizarodofoz I’m pretty sure you can take it. It’ll be great to have that event covered

1reaction
chrisVillanuevacommented, Sep 1, 2020

Thanks medikoo. I’m excited to move forward with this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Event message structure - Amazon Simple Storage Service
The s3 key provides information about the bucket and object involved in the event. The object key name value is URL encoded. For...
Read more >
AWS Lambda Events - S3 - Serverless Framework
Sometimes you might want to attach Lambda functions to existing S3 buckets. In that case you just need to set the existing event...
Read more >
Using an Amazon S3 trigger to invoke a Lambda function
In this tutorial, you use the console to create a Lambda function and configure a trigger for Amazon Simple Storage Service (Amazon S3)....
Read more >
Amazon S3 Sink Connector Configuration Properties
When set to true , this property preserves Avro schema package information and Enums when going from Avro schema to Connect schema. This...
Read more >
Using the S3 Event Handler - GoldenGate - Oracle Help Center
Properties Required/ Optional Legal Values gg.eventhandler.name.type Required s3 gg.eventhandler.name.proxyServer Optional The host name of your proxy server. gg.eventhandler.name.proxyPort Optional The port number of the proxy server....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found