elasticbeanstalk:PutInstanceStatistics

Write

elasticbeanstalk:PutInstanceStatistics is a Write access-level action in the elasticbeanstalk service. Grants permission to submit instance statistics for enhanced health

Resource types

ARNs that elasticbeanstalk:PutInstanceStatistics can be scoped to in an IAM policy.

arn:${Partition}:elasticbeanstalk:${Region}:${Account}:application/${ApplicationName}
application
arn:${Partition}:elasticbeanstalk:${Region}:${Account}:environment/${ApplicationName}/${EnvironmentName}
environment

Condition keys

Keys you can use in the Condition block of a policy that grants elasticbeanstalk:PutInstanceStatistics.

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

elasticbeanstalk:InApplication ARN

Filters access by the application that contains the resource that the action operates on

Example IAM policy

A minimal policy that allows elasticbeanstalk:PutInstanceStatistics. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticbeanstalkPutInstanceStatistics",
      "Effect": "Allow",
      "Action": "elasticbeanstalk:PutInstanceStatistics",
      "Resource": "*"
    }
  ]
}

Related actions in elasticbeanstalk

View all elasticbeanstalk actions →