Last active
August 8, 2019 10:28
-
-
Save astroanu/441634f3b3d7e64fca157d34792288f1 to your computer and use it in GitHub Desktop.
AWS SAM Default starter policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:PutObject", | |
"s3:GetObject" | |
], | |
"Resource": "arn:aws:s3:::deployment-bucket/*" | |
}, | |
{ | |
"Sid": "VisualEditor1", | |
"Effect": "Allow", | |
"Action": [ | |
"lambda:CreateFunction", | |
"iam:GetRole", | |
"apigateway:PUT", | |
"iam:DeleteRole", | |
"iam:CreateRole", | |
"lambda:GetFunctionConfiguration", | |
"iam:AttachRolePolicy", | |
"cloudformation:CreateChangeSet", | |
"cloudformation:DeleteChangeSet", | |
"cloudformation:GetTemplateSummary", | |
"cloudformation:DescribeStacks", | |
"apigateway:DELETE", | |
"iam:PassRole", | |
"lambda:AddPermission", | |
"cloudformation:DescribeStackEvents", | |
"iam:DetachRolePolicy", | |
"apigateway:PATCH", | |
"lambda:DeleteFunction", | |
"apigateway:POST", | |
"apigateway:GET", | |
"cloudformation:DescribeChangeSet", | |
"cloudformation:ExecuteChangeSet", | |
"cloudformation:ListChangeSets" | |
], | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment