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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/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)


9601
9602
9603
9604
9605
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9601

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)


9601
9602
9603
9604
9605
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9601

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