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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb

Overview

Note:

When making an API call, you may pass AssociateEnvironmentOperationsRoleMessage data as a hash:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#environment_nameString

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

Returns:

  • (String)


470
471
472
473
474
475
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 470

class AssociateEnvironmentOperationsRoleMessage < Struct.new(
  :environment_name,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end

#operations_roleString

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

Returns:

  • (String)


470
471
472
473
474
475
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 470

class AssociateEnvironmentOperationsRoleMessage < Struct.new(
  :environment_name,
  :operations_role)
  SENSITIVE = []
  include Aws::Structure
end