/AWS1/CL_EC2=>REPLACEIAMINSTPFLASSOCIATION()
¶
About ReplaceIamInstanceProfileAssociation¶
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.
Use DescribeIamInstanceProfileAssociations to get the association ID.
Method Signature¶
IMPORTING¶
Required arguments:¶
IO_IAMINSTANCEPROFILE
TYPE REF TO /AWS1/CL_EC2IAMINSTPROFILESPEC
/AWS1/CL_EC2IAMINSTPROFILESPEC
¶
The IAM instance profile.
IV_ASSOCIATIONID
TYPE /AWS1/EC2IAMINSTPFLASSOCIATI01
/AWS1/EC2IAMINSTPFLASSOCIATI01
¶
The ID of the existing IAM instance profile association.