Skip to main content
IAM Policy Map

AWSDeepLensLambdaFunctionAccessPolicy

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

This policy specifies permissions required by DeepLens Administrative lambda functions that run on a DeepLens device

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

Identity

ARN
arn:aws:iam::aws:policy/AWSDeepLensLambdaFunctionAccessPolicy
Default version
v4
Created
Last edited
Services
kinesisvideo, logs, s3

Control-plane actions (8)

By access level: 2 List, 1 Read, 5 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Kinesis Video Streams4 of 371 List, 1 Read, 2 Write; 0 restricted, 0 conditionalkinesisvideo:CreateStream, kinesisvideo:DescribeStream, kinesisvideo:GetDataEndpoint, kinesisvideo:PutMedia
CloudWatch Logs4 of 1331 List, 3 Write; 4 restricted, 0 conditionallogs:CreateLogGroup, logs:CreateLogStream, logs:DescribeLogStreams, logs:PutLogEvents
Kinesis Video Streams: 4 actions
  • kinesisvideo:CreateStream (Write)
  • kinesisvideo:DescribeStream (List)
  • kinesisvideo:GetDataEndpoint (Read)
  • kinesisvideo:PutMedia (Write)
CloudWatch Logs: 4 actions
  • logs:CreateLogGroup (Write)
  • logs:CreateLogStream (Write)
  • logs:DescribeLogStreams (List)
  • logs:PutLogEvents (Write)

Data-plane actions (2)

By access level: 1 List, 1 Read.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
S32 of 251 List, 1 Read; 2 restricted, 0 conditionals3:GetObject, s3:ListBucket
S3: 2 actions
  • s3:GetObject (Read)
  • s3:ListBucket (List)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

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

Why this tier

  • Grants 5 write, tagging or permissions-management actions, short of full control of any service.

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": [
    {
      "Sid": "DeepLensS3ObjectAccess",
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket",
        "s3:GetObject"
      ],
      "Resource": [
        "arn:aws:s3:::deeplens*/*",
        "arn:aws:s3:::deeplens*"
      ]
    },
    {
      "Sid": "DeepLensGreenGrassCloudWatchAccess",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogStream",
        "logs:DescribeLogStreams",
        "logs:PutLogEvents",
        "logs:CreateLogGroup"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:/aws/greengrass/*"
    },
    {
      "Sid": "DeepLensAccess",
      "Effect": "Allow",
      "Action": [
        "deeplens:*"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Sid": "DeepLensKinesisVideoAccess",
      "Effect": "Allow",
      "Action": [
        "kinesisvideo:DescribeStream",
        "kinesisvideo:CreateStream",
        "kinesisvideo:GetDataEndpoint",
        "kinesisvideo:PutMedia"
      ],
      "Resource": [
        "*"
      ]
    }
  ]
}

Version history

Current version v4, edited by AWS on 2019-06-11. 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/AWSDeepLensLambdaFunctionAccessPolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSDeepLensLambdaFunctionAccessPolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSDeepLensLambdaFunctionAccessPolicy

CloudFormation

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

Terraform

resource "aws_iam_role_policy_attachment" "awsdeeplenslambdafunctionaccesspolicy" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSDeepLensLambdaFunctionAccessPolicy"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSDeepLensLambdaFunctionAccessPolicy"),
);

Sources

Pending editorial review. No editorial sources are listed yet.