Last active
June 20, 2022 01:58
-
-
Save jsbonso/28202c51a25c517ddeb1c7deffb7e104 to your computer and use it in GitHub Desktop.
Inline Policy - Dynamic Start and Stop Scheduler Functions
This file contains hidden or 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": [{ | |
"Sid": "Tutorials Dojo - DescribeAutoScalingGroups", | |
"Effect": "Allow", | |
"Action": "autoscaling:DescribeAutoScalingGroups", | |
"Resource": "*" | |
}, | |
{ | |
"Sid": "Tutorials Dojo - Allow PutParameter", | |
"Effect": "Allow", | |
"Action": "ssm:PutParameter", | |
"Resource": "arn:aws:ssm:*:*:parameter/asg/app/instance-id" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment