Skip to content

s3-sqs-cdk: Update aws-cdk-lib#3194

Merged
julianwood merged 2 commits into
aws-samples:mainfrom
kakakakakku:s3-sqs-cdk
Jun 26, 2026
Merged

s3-sqs-cdk: Update aws-cdk-lib#3194
julianwood merged 2 commits into
aws-samples:mainfrom
kakakakakku:s3-sqs-cdk

Conversation

@kakakakakku

Copy link
Copy Markdown
Contributor

Issue #, if available:
N/A

Description of changes:
Hi😀 Thanks for the useful patterns!

To keep this pattern maintainable, I updated the aws-cdk-lib.

Check

cdk deploy completed successfully and works good.

$ aws s3 cp 'test_upload.txt' s3://s3sqsstackexample-mybucketf68f3ff0-nalmt1o9lpi2
upload: ./test_upload.txt to s3://s3sqsstackexample-mybucketf68f3ff0-nalmt1o9lpi2/test_upload.txt

$ aws sqs receive-message --queue-url https://sqs.ap-northeast-1.amazonaws.com/000000000000/S3SQSStackExample-s3tosqstest3CE2111C-NvaFubCYRPkM --max-number-of-messages 10
{
    "Messages": [
        {
            "MessageId": "57235696-7d6f-4038-9d70-75bcade02f15",
            "ReceiptHandle": "xxx",
            "MD5OfBody": "b02a320331bc18afc49a730877a15c1d",
            "Body": "{\"Service\":\"Amazon S3\",\"Event\":\"s3:TestEvent\",\"Time\":\"2026-06-26T04:12:16.206Z\",\"Bucket\":\"s3sqsstackexample-mybucketf68f3ff0-nalmt1o9lpi2\",\"RequestId\":\"xxx\",\"HostId\":\"QYGbF60wFuC1fVBGaikBukxauFtCo38hteF5jNuJ5PatEhtNwtjRtitMid8kVH7aCR5op9OfW6s=\"}"
        },
        {
            "MessageId": "15d20835-bd40-4369-b71c-36ec9e4f477b",
            "ReceiptHandle": "xxx",
            "MD5OfBody": "ae686a1b742528bb92a7892efe306d78",
            "Body": "{\"Records\":[{\"eventVersion\":\"2.4\",\"eventSource\":\"aws:s3\",\"awsRegion\":\"ap-northeast-1\",\"eventTime\":\"2026-06-26T04:15:53.559Z\",\"eventName\":\"ObjectCreated:Put\",\"userIdentity\":{\"principalId\":\"AWS:AIDAVFIZCDMNENILTSRHD\"},\"requestParameters\":{\"sourceIPAddress\":\"x.x.x.x\"},\"responseElements\":{\"x-amz-request-id\":\"MKN9FE9ASEPHX89W\",\"x-amz-id-2\":\"M3Db7PhRqHWIWlqgywUhJGqB5sdYzM8wYMkmB+63cOResHQIQXPWQDVZMOfCnVpu+VkcaQkDD+JrivSnRJxeaaYx2TruS9oE\"},\"s3\":{\"s3SchemaVersion\":\"1.0\",\"configurationId\":\"YWQwNzUwOTctZTBhZS00ZjU1LWI3NjMtMWNjOTM1NmVmMDE0\",\"bucket\":{\"name\":\"s3sqsstackexample-mybucketf68f3ff0-nalmt1o9lpi2\",\"ownerIdentity\":{\"principalId\":\"A1IMHTX9OFNMHJ\"},\"arn\":\"arn:aws:s3:::s3sqsstackexample-mybucketf68f3ff0-nalmt1o9lpi2\"},\"object\":{\"key\":\"test_upload.txt\",\"size\":10,\"eTag\":\"9176e88e2973b7e2e260c438f56b1cd0\",\"sequencer\":\"006A3DFCF9843AB1A0\"}}}]}"
        }
    ]
}

Thank you😀


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Comment thread s3-sqs-cdk/README.md
* [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html) installed and configured
* [Git Installed](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
* [AWS Serverless Application Model](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html) (AWS SAM) installed
* [AWS Cloud Development Kit](https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html) (AWS CDK) Installed and account bootstrapped

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: This pattern use CDK not SAM😀

@julianwood julianwood merged commit 1275223 into aws-samples:main Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants