Last active
November 22, 2021 16:03
-
-
Save dinushchathurya/b0eb8b880eb50e0706971786adcdb4c3 to your computer and use it in GitHub Desktop.
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": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:StartInstances", | |
"ec2:StopInstances" | |
], | |
"Resource": "arn:aws:ec2:*:*:instance/*" | |
}, | |
{ | |
"Sid": "VisualEditor1", | |
"Action": [ | |
"logs:CreateLogStream", | |
"ec2:DescribeInstances" | |
"ec2:DescribeTags" | |
"logs:PutLogEvents" | |
"logs:CreateLogGroup" | |
"ec2:DescribeInstanceStatus" | |
], | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
feat: Create JSON Policy