We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac1a08d commit 364f221Copy full SHA for 364f221
policies/AWSLambdaServiceRolePolicy
@@ -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
24
+ "ec2:DescribeInstanceStatus",
25
+ "ec2:DescribeInstances"
26
27
28
+ "*"
29
30
+ "Effect": "Allow"
31
32
+ ]
33
34
+ "IsDefaultVersion": true
35
36
+}
0 commit comments