/AWS1/CL_SSM=>UPDATEMANAGEDINSTANCEROLE()
¶
About UpdateManagedInstanceRole¶
Changes the Identity and Access Management (IAM) role that is assigned to the on-premises server, edge device, or virtual machines (VM). IAM roles are first assigned to these hybrid nodes during the activation process. For more information, see CreateActivation.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_INSTANCEID
TYPE /AWS1/SSMMANAGEDINSTANCEID
/AWS1/SSMMANAGEDINSTANCEID
¶
The ID of the managed node where you want to update the role.
IV_IAMROLE
TYPE /AWS1/SSMIAMROLE
/AWS1/SSMIAMROLE
¶
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.You can't specify an IAM service-linked role for this parameter. You must create a unique role.