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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#iam_roleString

The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal ‘ssm.amazonaws.com`. For more information, see [Create an IAM service role for a hybrid and multicloud environment] in the *Amazon Web Services Systems Manager User Guide*.

<note markdown=“1”> You can’t specify an IAM service-linked role for this parameter. You must create a unique role.

</note>

[1]: docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html

Returns:

  • (String)


19372
19373
19374
19375
19376
19377
# File 'lib/aws-sdk-ssm/types.rb', line 19372

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

#instance_idString

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

Returns:

  • (String)


19372
19373
19374
19375
19376
19377
# File 'lib/aws-sdk-ssm/types.rb', line 19372

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