Advertisement
Guest User

Untitled

a guest
May 21st, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.12 KB | None | 0 0
  1. {
  2. "Version": "2012-10-17",
  3. "Statement": [
  4. {
  5. "Sid": "VisualEditor0",
  6. "Effect": "Allow",
  7. "Action": [
  8. "lambda:CreateFunction",
  9. "cloudformation:ListExports",
  10. "lambda:GetFunctionConfiguration",
  11. "cloudformation:CreateChangeSet",
  12. "cloudformation:DescribeStackEvents",
  13. "s3:PutLifecycleConfiguration",
  14. "cloudformation:UpdateStack",
  15. "s3:PutObjectTagging",
  16. "lambda:ListLayers",
  17. "lambda:DeleteFunction",
  18. "s3:DeleteObject",
  19. "lambda:GetAlias",
  20. "cloudformation:DescribeChangeSet",
  21. "cloudformation:ListStackResources",
  22. "s3:GetBucketWebsite",
  23. "lambda:ListFunctions",
  24. "lambda:GetEventSourceMapping",
  25. "lambda:ListAliases",
  26. "s3:PutReplicationConfiguration",
  27. "s3:DeleteObjectVersionTagging",
  28. "s3:GetBucketNotification",
  29. "s3:GetReplicationConfiguration",
  30. "s3:PutObject",
  31. "s3:PutBucketNotification",
  32. "lambda:UpdateFunctionCode",
  33. "cloudformation:GetStackPolicy",
  34. "cloudwatch:*",
  35. "cloudformation:DeleteStack",
  36. "lambda:PublishVersion",
  37. "apigateway:POST",
  38. "cloudformation:ValidateTemplate",
  39. "cloudformation:CreateUploadBucket",
  40. "s3:GetLifecycleConfiguration",
  41. "cloudformation:CancelUpdateStack",
  42. "s3:GetInventoryConfiguration",
  43. "s3:GetBucketTagging",
  44. "s3:ReplicateTags",
  45. "cloudformation:UpdateTerminationProtection",
  46. "s3:ListBucket",
  47. "cloudformation:EstimateTemplateCost",
  48. "apigateway:DELETE",
  49. "iam:PassRole",
  50. "s3:AbortMultipartUpload",
  51. "s3:PutBucketTagging",
  52. "lambda:ListTags",
  53. "cloudformation:DescribeStackSetOperation",
  54. "s3:DeleteBucket",
  55. "s3:PutBucketVersioning",
  56. "s3:ListBucketMultipartUploads",
  57. "lambda:UpdateEventSourceMapping",
  58. "cloudformation:ListImports",
  59. "apigateway:PUT",
  60. "s3:PutMetricsConfiguration",
  61. "lambda:UpdateFunctionConfiguration",
  62. "s3:PutObjectVersionTagging",
  63. "s3:GetBucketVersioning",
  64. "s3:PutInventoryConfiguration",
  65. "s3:GetAccountPublicAccessBlock",
  66. "s3:PutBucketWebsite",
  67. "s3:ListAllMyBuckets",
  68. "s3:PutBucketRequestPayment",
  69. "s3:GetBucketCORS",
  70. "lambda:RemovePermission",
  71. "s3:GetObjectVersion",
  72. "s3:PutAnalyticsConfiguration",
  73. "s3:GetObjectVersionTagging",
  74. "logs:*",
  75. "cloudformation:ListStackInstances",
  76. "s3:CreateBucket",
  77. "cloudformation:DescribeStackResource",
  78. "cloudformation:ContinueUpdateRollback",
  79. "s3:ReplicateObject",
  80. "cloudformation:ListStackSetOperationResults",
  81. "s3:GetObjectAcl",
  82. "cloudfront:*",
  83. "s3:DeleteBucketWebsite",
  84. "s3:GetObjectVersionAcl",
  85. "lambda:ListLayerVersions",
  86. "apigateway:GET",
  87. "s3:HeadBucket",
  88. "cloudformation:ExecuteChangeSet",
  89. "s3:DeleteObjectTagging",
  90. "s3:GetBucketPolicyStatus",
  91. "lambda:InvokeFunction",
  92. "cloudformation:DescribeStackInstance",
  93. "cloudformation:DescribeStackResources",
  94. "s3:PutBucketCORS",
  95. "s3:ListMultipartUploadParts",
  96. "lambda:UpdateAlias",
  97. "cloudformation:DescribeStacks",
  98. "s3:GetObject",
  99. "cloudformation:DescribeStackResourceDrifts",
  100. "s3:PutBucketLogging",
  101. "cloudformation:GetTemplate",
  102. "lambda:ListEventSourceMappings",
  103. "s3:GetAnalyticsConfiguration",
  104. "s3:GetObjectVersionForReplication",
  105. "lambda:CreateAlias",
  106. "cloudformation:DescribeStackDriftDetectionStatus",
  107. "s3:ListBucketByTags",
  108. "cloudformation:DetectStackDrift",
  109. "s3:PutAccelerateConfiguration",
  110. "lambda:ListVersionsByFunction",
  111. "lambda:GetLayerVersion",
  112. "cloudformation:ListStackSetOperations",
  113. "s3:DeleteObjectVersion",
  114. "s3:GetBucketLogging",
  115. "s3:ListBucketVersions",
  116. "s3:RestoreObject",
  117. "s3:GetAccelerateConfiguration",
  118. "lambda:GetAccountSettings",
  119. "lambda:GetLayerVersionPolicy",
  120. "s3:GetBucketPolicy",
  121. "s3:PutEncryptionConfiguration",
  122. "cloudformation:DetectStackResourceDrift",
  123. "s3:GetEncryptionConfiguration",
  124. "s3:GetObjectVersionTorrent",
  125. "s3:GetBucketRequestPayment",
  126. "apigateway:PATCH",
  127. "s3:GetObjectTagging",
  128. "cloudformation:DescribeAccountLimits",
  129. "s3:GetMetricsConfiguration",
  130. "s3:GetBucketPublicAccessBlock",
  131. "cloudformation:ListStacks",
  132. "lambda:GetFunction",
  133. "s3:GetBucketAcl",
  134. "cloudformation:GetTemplateSummary",
  135. "s3:GetObjectTorrent",
  136. "lambda:AddPermission",
  137. "cloudformation:DescribeStackSet",
  138. "cloudformation:ListStackSets",
  139. "cloudformation:CreateStack",
  140. "s3:GetBucketLocation",
  141. "s3:ReplicateDelete",
  142. "lambda:GetPolicy",
  143. "cloudformation:ListChangeSets"
  144. ],
  145. "Resource": "*"
  146. }
  147. ]
  148. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement