elasticbeanstalk:RebuildEnvironment is a Write access-level action in the elasticbeanstalk service. Grants permission to delete and recreate all of the AWS resources for an environment and to force a restart
ARNs that elasticbeanstalk:RebuildEnvironment can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants elasticbeanstalk:RebuildEnvironment.
Filters actions based on tag key-value pairs attached to the resource
Filters access by the application that contains the resource that the action operates on
A minimal policy that allows elasticbeanstalk:RebuildEnvironment. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowElasticbeanstalkRebuildEnvironment",
"Effect": "Allow",
"Action": "elasticbeanstalk:RebuildEnvironment",
"Resource": "*"
}
]
}