v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1494316322.1 KB

Add or change the operations role used by an environment. After this call is made, Elastic Beanstalk uses the associated operations role for permissions to downstream services during subsequent calls acting on this environment. For more information, see <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html">Operations roles</a> in the <i>AWS Elastic Beanstalk Developer Guide</i>.

get/#Action=AssociateEnvironmentOperationsRole

Query parameters

EnvironmentNamestring required

The name of the environment to which to set the operations role.

OperationsRolestring required

The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.

Action'AssociateEnvironmentOperationsRole' required
Version'2010-12-01' required

Response

Success