Learn R Programming

paws.management (version 0.1.9)

ssm_update_managed_instance_role: Changes the Amazon Identity and Access Management (IAM) role that is assigned to the on-premises instance or virtual machines (VM)

Description

Changes the Amazon Identity and Access Management (IAM) role that is assigned to the on-premises instance or virtual machines (VM). IAM roles are first assigned to these hybrid instances during the activation process. For more information, see CreateActivation.

Usage

ssm_update_managed_instance_role(InstanceId, IamRole)

Arguments

InstanceId

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

IamRole

[required] The IAM role you want to assign or change.

Request syntax

svc$update_managed_instance_role(
  InstanceId = "string",
  IamRole = "string"
)