Skip to content

Support Invocation schema version 2 for S3 Batch Operations #495

Closed
@mmerfort

Description

@mmerfort

The event looks a bit different with Invocation Schema version 2 of the S3 Batch Operations than with version 2.
It uses the name instead of a bucket ARN and adds user arguments, which can be specified during job creation.

More information: https://aws.amazon.com/blogs/storage/automate-object-processing-in-amazon-s3-directory-buckets-with-s3-batch-operations-and-aws-lambda/

The Job and Task subclasses of the S3BatchEvent class are unsuitable for version 2: https://github.com/aws/aws-lambda-java-libs/blob/main/aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/S3BatchEvent.java#L28-L47

The Golang SDK has already added the new event types, and something similar would be nice for this project.
Reference: https://github.com/aws/aws-lambda-go/blob/main/events/s3_batch_job.go#L26-L46

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions