Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Version":"2012-10-17",
- "Statement":[
- {
- "Effect":"Allow",
- "Action":[
- "logs:CreateLogGroup",
- "logs:CreateLogStream",
- "logs:PutLogEvents"
- ],
- "Resource":"arn:aws:logs:*:*:*"
- },
- {
- "Effect":"Allow",
- "Action":[
- "ec2:DescribeRegions",
- "ec2:DescribeInstances"
- ],
- "Resource":"*"
- },
- {
- "Sid":"VisualEditor0",
- "Effect":"Allow",
- "Action":[
- "ec2:StartInstances"
- ],
- "Resource":"*",
- "Condition":{
- "StringLike":{
- "ec2:ResourceTag/TurnOn":"*"
- }
- }
- },
- {
- "Sid":"VisualEditor1",
- "Effect":"Allow",
- "Action":[
- "ec2:StopInstances"
- ],
- "Resource":"*",
- "Condition":{
- "StringLike":{
- "ec2:ResourceTag/TurnOff":"*"
- }
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement