You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ElasticBeanstalk::Types::AssociateEnvironmentOperationsRoleMessage

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AssociateEnvironmentOperationsRoleMessage as input to an Aws::Client method, you can use a vanilla Hash:

{
  environment_name: "EnvironmentName", # required
  operations_role: "OperationsRole", # required
}

Request to add or change the operations role used by an environment.

Instance Attribute Summary collapse

Instance Attribute Details

#environment_nameString

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

Returns:

  • (String)

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

#operations_roleString

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

Returns:

  • (String)

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