Skip to content

Instantly share code, notes, and snippets.

@jsbonso
Last active June 20, 2022 01:58
Show Gist options
  • Save jsbonso/28202c51a25c517ddeb1c7deffb7e104 to your computer and use it in GitHub Desktop.
Save jsbonso/28202c51a25c517ddeb1c7deffb7e104 to your computer and use it in GitHub Desktop.
Inline Policy - Dynamic Start and Stop Scheduler Functions
{
"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