Class: Aws::SSM::Types::UpdateManagedInstanceRoleRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssm/types.rb

Overview

Note:

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

{
  instance_id: "ManagedInstanceId", # required
  iam_role: "IamRole", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#iam_roleString

The IAM role you want to assign or change.

Returns:

  • (String)


13710
13711
13712
13713
13714
# File 'lib/aws-sdk-ssm/types.rb', line 13710

class UpdateManagedInstanceRoleRequest < Struct.new(
  :instance_id,
  :iam_role)
  include Aws::Structure
end

#instance_idString

The ID of the managed instance where you want to update the role.

Returns:

  • (String)


13710
13711
13712
13713
13714
# File 'lib/aws-sdk-ssm/types.rb', line 13710

class UpdateManagedInstanceRoleRequest < Struct.new(
  :instance_id,
  :iam_role)
  include Aws::Structure
end