Class: Aws::SSM::Types::UpdateManagedInstanceRoleRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSM::Types::UpdateManagedInstanceRoleRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ssm/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#iam_role ⇒ String
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node.
-
#instance_id ⇒ String
The ID of the managed node where you want to update the role.
Instance Attribute Details
#iam_role ⇒ String
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 the IAM service role required for Systems Manager in hybrid and multicloud environments] 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/hybrid-multicloud-service-role.html
19533 19534 19535 19536 19537 19538 |
# File 'lib/aws-sdk-ssm/types.rb', line 19533 class UpdateManagedInstanceRoleRequest < Struct.new( :instance_id, :iam_role) SENSITIVE = [] include Aws::Structure end |
#instance_id ⇒ String
The ID of the managed node where you want to update the role.
19533 19534 19535 19536 19537 19538 |
# File 'lib/aws-sdk-ssm/types.rb', line 19533 class UpdateManagedInstanceRoleRequest < Struct.new( :instance_id, :iam_role) SENSITIVE = [] include Aws::Structure end |