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

23 lines
401 B
JSON
Raw Normal View History

2024-02-22 15:36:13 +08:00
{ "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": "*"
}
]
}