AWSLambdaServiceRolePolicy

Last Modified

Jun 22, 2026

June 22, 2026 at 04:03 PM UTC

Version

v2

Total Versions

2

Created

Jun 22, 2026

Actions

7

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "ec2:TerminateInstances"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:instance/*"
          ],
          "Condition": {
            "StringEquals": {
              "ec2:ManagedResourceOperator": "scaler.lambda.amazonaws.com"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeInstanceStatus",
            "ec2:DescribeInstances"
          ],
          "Resource": [
            "*"
          ]
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeNetworkInterfaces",
            "ec2:DescribeSubnets",
            "ec2:DescribeSecurityGroups"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": "ec2:DeleteNetworkInterface",
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "StringEquals": {
              "ec2:ManagedResourceOperator": "network-connectors.lambda.amazonaws.com"
            }
          }
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2026-06-22T15:12:14+00:00"
  }
}

Version History (3 recorded)

Raw history
v2updated

4 actions added

e97e72b

AWSLambdaServiceRolePolicy - Policy Version v1

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

3c6d01d

AWSLambdaServiceRolePolicy - Policy Version v1

No recorded action delta - this version predates the change index. View the raw diff.

Dec 1, 2025

364f221