Skip to content

Commit 364f221

Browse files
author
MAMIP Bot
committed
AWSLambdaServiceRolePolicy - Policy Version v1
1 parent ac1a08d commit 364f221

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"PolicyVersion": {
3+
"CreateDate": "2025-11-30T08:04:07Z",
4+
"VersionId": "v1",
5+
"Document": {
6+
"Version": "2012-10-17",
7+
"Statement": [
8+
{
9+
"Action": [
10+
"ec2:TerminateInstances"
11+
],
12+
"Resource": [
13+
"arn:aws:ec2:*:*:instance/*"
14+
],
15+
"Effect": "Allow",
16+
"Condition": {
17+
"StringEquals": {
18+
"ec2:ManagedResourceOperator": "scaler.lambda.amazonaws.com"
19+
}
20+
}
21+
},
22+
{
23+
"Action": [
24+
"ec2:DescribeInstanceStatus",
25+
"ec2:DescribeInstances"
26+
],
27+
"Resource": [
28+
"*"
29+
],
30+
"Effect": "Allow"
31+
}
32+
]
33+
},
34+
"IsDefaultVersion": true
35+
}
36+
}

0 commit comments

Comments
 (0)