ec2_replace_iam_instance_profile_association: Replaces an IAM instance profile for the specified running...

View source: R/ec2_operations.R

ec2_replace_iam_instance_profile_associationR Documentation

Replaces an IAM instance profile for the specified running instance

Description

Replaces an IAM instance profile for the specified running instance. You can use this action to change the IAM instance profile that's associated with an instance without having to disassociate the existing IAM instance profile first.

See https://www.paws-r-sdk.com/docs/ec2_replace_iam_instance_profile_association/ for full documentation.

Usage

ec2_replace_iam_instance_profile_association(IamInstanceProfile, AssociationId)

Arguments

IamInstanceProfile

[required] The IAM instance profile.

AssociationId

[required] The ID of the existing IAM instance profile association.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.