ec2_associate_iam_instance_profile {paws.compute} | R Documentation |
Associates an IAM instance profile with a running or stopped instance. You cannot associate more than one IAM instance profile with an instance.
See https://www.paws-r-sdk.com/docs/ec2_associate_iam_instance_profile/ for full documentation.
ec2_associate_iam_instance_profile(IamInstanceProfile, InstanceId)
IamInstanceProfile |
[required] The IAM instance profile. |
InstanceId |
[required] The ID of the instance. |