serverless-plugin-existing-s3-permissions

    1.0.0 • Public • Published

    serverless-plugin-existing-s3-permissions

    Serverless plugin to allow an AWS Lambda function to be triggered by an S3 event

    Example:

    service: s3-reader
     
    provider:
      name: aws
      region: ${opt:region}
      stage: ${opt:stage}
    plugins:
      - serverless-plugin-existing-s3-permissions
    functions:
      event-listener:
        handler: src/api/event-listener.handler
        timeout: 120
        memorySize: 1024
        events:
          existingS3: 'com-s3-reader-example-bucket'
     

    The plugin is only for granting permissions: it assumes the event handler in s3 is already setup.

    Install

    npm i serverless-plugin-existing-s3-permissions

    DownloadsWeekly Downloads

    7

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • alex.murashkin