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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#iam_roleString

The IAM role you want to assign or change.

Returns:

  • (String)

20634
20635
20636
20637
20638
20639
# File 'lib/aws-sdk-ssm/types.rb', line 20634

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

#instance_idString

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

Returns:

  • (String)

20634
20635
20636
20637
20638
20639
# File 'lib/aws-sdk-ssm/types.rb', line 20634

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