Skip to content

/AWS1/CL_IAM=>DELETEINSTANCEPROFILE()

About DeleteInstanceProfile

Deletes the specified instance profile. The instance profile must not have an associated role.

Make sure that you do not have any Amazon EC2 instances running with the instance profile you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance.

For more information about instance profiles, see Using instance profiles in the IAM User Guide.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCEPROFILENAME TYPE /AWS1/IAMINSTPROFILENAMETYPE /AWS1/IAMINSTPROFILENAMETYPE

The name of the instance profile to delete.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-