AWSElasticBeanstalkWorkerTier - AWS Managed Policy

AWSElasticBeanstalkWorkerTier

Description: Provide the instances in your worker environment access to upload log files to Amazon S3, to use Amazon SQS to monitor your application's job queue, to use Amazon DynamoDB to perform leader election, and to Amazon CloudWatch to publish metrics for health monitoring.

AWSElasticBeanstalkWorkerTier is an AWS managed policy.

Using this policy

You can attach AWSElasticBeanstalkWorkerTier to your users, groups, and roles.

Policy details

  • Type: AWS managed policy

  • Creation time: February 08, 2016, 23:12 UTC

  • Edited time: September 09, 2020, 19:53 UTC

  • ARN: arn:aws:iam::aws:policy/AWSElasticBeanstalkWorkerTier

Policy version

Policy version: v6 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy document

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "MetricsAccess", "Action" : [ "cloudwatch:PutMetricData" ], "Effect" : "Allow", "Resource" : "*" }, { "Sid" : "XRayAccess", "Action" : [ "xray:PutTraceSegments", "xray:PutTelemetryRecords", "xray:GetSamplingRules", "xray:GetSamplingTargets", "xray:GetSamplingStatisticSummaries" ], "Effect" : "Allow", "Resource" : "*" }, { "Sid" : "QueueAccess", "Action" : [ "sqs:ChangeMessageVisibility", "sqs:DeleteMessage", "sqs:ReceiveMessage", "sqs:SendMessage" ], "Effect" : "Allow", "Resource" : "*" }, { "Sid" : "BucketAccess", "Action" : [ "s3:Get*", "s3:List*", "s3:PutObject" ], "Effect" : "Allow", "Resource" : [ "arn:aws:s3:::elasticbeanstalk-*", "arn:aws:s3:::elasticbeanstalk-*/*" ] }, { "Sid" : "DynamoPeriodicTasks", "Action" : [ "dynamodb:BatchGetItem", "dynamodb:BatchWriteItem", "dynamodb:DeleteItem", "dynamodb:GetItem", "dynamodb:PutItem", "dynamodb:Query", "dynamodb:Scan", "dynamodb:UpdateItem" ], "Effect" : "Allow", "Resource" : [ "arn:aws:dynamodb:*:*:table/*-stack-AWSEBWorkerCronLeaderRegistry*" ] }, { "Sid" : "CloudWatchLogsAccess", "Action" : [ "logs:PutLogEvents", "logs:CreateLogStream" ], "Effect" : "Allow", "Resource" : [ "arn:aws:logs:*:*:log-group:/aws/elasticbeanstalk*" ] }, { "Sid" : "ElasticBeanstalkHealthAccess", "Action" : [ "elasticbeanstalk:PutInstanceStatistics" ], "Effect" : "Allow", "Resource" : [ "arn:aws:elasticbeanstalk:*:*:application/*", "arn:aws:elasticbeanstalk:*:*:environment/*" ] } ] }

Learn more