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

View source: R/ec2_operations.R

ec2_associate_iam_instance_profileR Documentation

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.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.