AWS SAM Policy Templates

  • List of templates to apply permissions to your Lambda Function. Yes, it's only for lambda
    • Similar to IAM Role but except from attaching an IAM Role. We add a policy
  • Some example
    • S3ReadPolicy: gives read only permissions to your lambda function to read objects in S3
    • SQSPollerPolicy: Allows to poll an SQS queue
    • DynamoDBCrudPolicy: Create Read Update Delete DynamoDB data
      Pasted image 20221016203352.png