Skip to content

/AWS1/CL_EBN=>ASSOCIATEENVIRONMENTOPSROLE()

About AssociateEnvironmentOperationsRole

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 Operations roles in the AWS Elastic Beanstalk Developer Guide.

Method Signature

IMPORTING

Required arguments:

IV_ENVIRONMENTNAME TYPE /AWS1/EBNENVIRONMENTNAME /AWS1/EBNENVIRONMENTNAME

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

IV_OPERATIONSROLE TYPE /AWS1/EBNOPERATIONSROLE /AWS1/EBNOPERATIONSROLE

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