Guest User

Untitled

a guest
Jul 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. {
  2. "Version": "2012-10-17",
  3. "Statement": [
  4. {
  5. "Sid": "VisualEditor0",
  6. "Effect": "Allow",
  7. "Action": [
  8. "ec2:Describe*",
  9. "ec2:ImportKeyPair",
  10. "ec2:CreateKeyPair",
  11. "ec2:CreateTags",
  12. "ec2:DeleteKeyPair",
  13. "ec2:CreateSecurityGroup",
  14. "ec2:AuthorizeSecurityGroupIngress"
  15. ],
  16. "Resource": "*"
  17. },
  18. {
  19. "Sid": "VisualEditor1",
  20. "Effect": "Allow",
  21. "Action": "ec2:RunInstances",
  22. "Resource": [
  23. "arn:aws:ec2:eu-west-3:<<AWS_ACCOUNT_ID>>:volume/*",
  24. "arn:aws:ec2:eu-west-3:<<AWS_ACCOUNT_ID>>:instance/*",
  25. "arn:aws:ec2:eu-west-3::image/ami-*",
  26. "arn:aws:ec2:eu-west-3:<<AWS_ACCOUNT_ID>>:key-pair/*",
  27. "arn:aws:ec2:eu-west-3:<<AWS_ACCOUNT_ID>>:network-interface/*",
  28. "arn:aws:ec2:eu-west-3:<<AWS_ACCOUNT_ID>>:subnet/*",
  29. "arn:aws:ec2:eu-west-3:<<AWS_ACCOUNT_ID>>:security-group/*",
  30. "arn:aws:ec2:eu-west-3:<<AWS_ACCOUNT_ID>>:placement-group/*"
  31. ]
  32. },
  33. {
  34. "Sid": "VisualEditor2",
  35. "Effect": "Allow",
  36. "Action": [
  37. "ec2:RebootInstances",
  38. "ec2:TerminateInstances",
  39. "ec2:StartInstances",
  40. "ec2:StopInstances"
  41. ],
  42. "Resource": "arn:aws:ec2:eu-west-3:<<AWS_ACCOUNT_ID>>:instance/*"
  43. }
  44. ]
  45. }
Add Comment
Please, Sign In to add comment