paws.compute (version 0.5.0)

ec2_associate_iam_instance_profile: Associates an IAM instance profile with a running or stopped instance

Description

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.

Usage

ec2_associate_iam_instance_profile(IamInstanceProfile, InstanceId)

Arguments

IamInstanceProfile

[required] The IAM instance profile.

InstanceId

[required] The ID of the instance.