January 2019
Intermediate to advanced
490 pages
15h 37m
English
Follow these steps to deploy and invoke the Lambda:
aws s3 cp \ target/lambda-invoke-sns-event-0.0.1-SNAPSHOT.jar \ s3://serverless-cookbook/lambda-invoke-sns-event-0.0.1-SNAPSHOT.jar \ --profile admin
aws iam create-role \ --role-name lambda-invoke-sns-event-role \ --assume-role-policy-document file://iam-role-trust-relationship.txt \ --profile admin
The trust document, iam-role-trust-relationship.txt, is defined in previous recipes. You can also refer to the code files.
Read now
Unlock full access