code-dumps/lambda/ec2-scheduler/lambda_iam_policy.json

23 lines
401 B
JSON

{ "Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:*"
},
{
"Effect": "Allow",
"Action": [
"ec2:Start*",
"ec2:Stop*",
"kms:CreateGrant"
],
"Resource": "*"
}
]
}