Last active
April 8, 2021 17:09
-
-
Save shreyasms17/735360e6f4e8080b83dcf97874d99bdd to your computer and use it in GitHub Desktop.
CustomLambdaAcess policy
This file contains hidden or 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: | |
- ec2:DescribeSecurityGroups | |
- ec2:DescribeSubnets | |
- ec2:DescribeVpcs | |
- ec2:DescribeNetworkInterfaces | |
- ec2:CreateNetworkInterface | |
- ec2:DeleteNetworkInterface | |
- ec2:DescribeInstances | |
- ec2:AttachNetworkInterface | |
- kms:ListAliases | |
- logs:CreateLogGroup | |
- logs:CreateLogStream | |
- logs:PutLogEvents | |
- sqs:ListQueues | |
- sqs:ReceiveMessage | |
- sqs:DeleteMessage | |
- sqs:GetQueueAttributes | |
Resource: "*" | |
- Sid: VisualEditor1 | |
Effect: Allow | |
Action: kinesis:* | |
Resource: | |
- arn:aws:kinesis:us-east-1:11111111111:stream/PageVisitEventStream | |
- arn:aws:kinesis:us-east-1:11111111111:stream/ClickedEventStream |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment