Container for the parameters to the DeleteInstanceProfile operation.
Deletes the specified instance profile. The instance profile must not have an associated role.
Make sure 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, go to About Instance Profiles.

C# |
public class DeleteInstanceProfileRequest : AmazonWebServiceRequest

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | DeleteInstanceProfileRequest()()()() | Initializes a new instance of the DeleteInstanceProfileRequest class |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | InstanceProfileName |
Gets and sets the property InstanceProfileName.
Name of the instance profile to delete. |
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WithInstanceProfileName(String) | Obsolete.
Sets the InstanceProfileName property
|

Object | ||
![]() | AmazonWebServiceRequest | |
![]() | DeleteInstanceProfileRequest |