Skip to content

Instantly share code, notes, and snippets.

@Kazuma
Last active May 20, 2020 13:03
Show Gist options
  • Save Kazuma/864c10e14e99d1502078 to your computer and use it in GitHub Desktop.
Save Kazuma/864c10e14e99d1502078 to your computer and use it in GitHub Desktop.
IAM Policy for EC2 Full Access
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Sid": "EC2FullAccess",
"Action": [
"ec2:*"
],
"Resource": "*",
"Condition": {
"DateGreaterThan": {
"aws:CurrentTime": "2015-09-10T07:00:00Z"
},
"DateLessThan": {
"aws:CurrentTime": "2015-09-10T09:00:00Z"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment