NOTE: the AWS accounts used in this video are only for learning purpose. And are not used in any live production environment.
In this step-by-step guide, I am going to show how you can allow s3 to trigger lambda function on different AWS account via s3 events notifications.
Read full article here
https://maxcotec.com/blog/s3-trigger-...
#awslambda #awss3 #aws
This video also covers the DOs and DONTs. Covering three very common issues faced by users while setting up events notifications;
1. Error 1: Unable to validate the following destination configurations
Watch here • AWS S3 Events to Trigger Lambda on Cr...
2. Error 2: The ciphertext refers to a customer master key that does not exist or you are not allowed to access
Watch here • AWS S3 Events to Trigger Lambda on Cr...
3. Error3: Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type
Watch here • AWS S3 Events to Trigger Lambda on Cr...
Timeline;
00:00 Intro
01:11 create lambda function
02:03 create s3 bucket
02:30 create s3 event notification: fail attempt
03:23 create s3 trigger on lambda: add resource permission
04:30 create s3 events notification
04:58 test lambda trigger via s3 events
05:41 s3 events notification prefix & suffix rules
06:45 allow lambda to read-write s3 objects
07:31 add kms policy on lambda role
08:27 add resource policy on s3
09:12 test read objects from s3: fail attempt
09:28 s3 policy limitation with aws managed kms keys
10:38 create customer managed kms key
11:29 add resource policy in kms key
12:08 update lambda role with new kms key
12:45 update s3 kms key
13:17 test read objects from s3
Learn Something New Below:
https://maxcotec.com/blog/is-a-stunde...
https://maxcotec.com/blog/trending-nf...
Stay tuned for more exciting videos.
👍 If this video was helpful to you, please don't forget to thumbs-up,
⌨️ leave a comment and
🔗 share with your friends.
⭐ Support our work by hitting that subscribe button.
🔔 hit bell icon to stay alert on more upcoming interesting stuff.
Смотрите видео AWS S3 Events to Trigger Lambda on Cross Account | IAM policy to read KMS S3 bucket | Step by step онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал MaxcoTec Learning 15 Август 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 4,797 раз и оно понравилось 44 посетителям.