Skip to main content
IAM Policy Map

AmazonS3ObjectLambdaExecutionRolePolicy

OperatorService roleActivePermissions reviewedShow on mapCompare

Summary

Provides AWS Lambda functions permissions to interact with Amazon S3 Object Lambda. Also grants Lambda permissions to write to CloudWatch Logs.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/service-role/AmazonS3ObjectLambdaExecutionRolePolicy
Default version
v1
Created
Last edited
Services
logs, s3-object-lambda

Control-plane actions (4)

By access level: 4 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch Logs3 of 1333 Write; 0 restricted, 0 conditionallogs:CreateLogGroup, logs:CreateLogStream, logs:PutLogEvents
S3 Object Lambda1 of 261 Write; 0 restricted, 0 conditionals3-object-lambda:WriteGetObjectResponse
CloudWatch Logs: 3 actions
  • logs:CreateLogGroup (Write)
  • logs:CreateLogStream (Write)
  • logs:PutLogEvents (Write)
S3 Object Lambda: 1 actions
  • s3-object-lambda:WriteGetObjectResponse (Write)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: all-resources.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 4 write, tagging or permissions-management actions, short of full control of any service.
  • 1 granted write or permissions-management action has no data-plane classification from AWS, so the data-plane rule cannot assess it.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogGroup",
        "logs:CreateLogStream",
        "logs:PutLogEvents",
        "s3-object-lambda:WriteGetObjectResponse"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v1, edited by AWS on 2021-08-18. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonS3ObjectLambdaExecutionRolePolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonS3ObjectLambdaExecutionRolePolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonS3ObjectLambdaExecutionRolePolicy

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/service-role/AmazonS3ObjectLambdaExecutionRolePolicy

Terraform

resource "aws_iam_role_policy_attachment" "service_role_amazons3objectlambdaexecutionrolepolicy" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonS3ObjectLambdaExecutionRolePolicy"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AmazonS3ObjectLambdaExecutionRolePolicy"),
);

Sources

Pending editorial review. No editorial sources are listed yet.