Disassociate Iam Instance Profile
ec2_disassociate_iam_instance_profile | R Documentation |
Disassociates an IAM instance profile from a running or stopped instance¶
Description¶
Disassociates an IAM instance profile from a running or stopped instance.
Use describe_iam_instance_profile_associations
to get the association
ID.
Usage¶
Arguments¶
AssociationId
[required] The ID of the IAM instance profile association.
Value¶
A list with the following syntax:
list(
IamInstanceProfileAssociation = list(
AssociationId = "string",
InstanceId = "string",
IamInstanceProfile = list(
Arn = "string",
Id = "string"
),
State = "associating"|"associated"|"disassociating"|"disassociated",
Timestamp = as.POSIXct(
"2015-01-01"
)
)
)