AWS SDK for .NET Documentation
RemoveRoleFromInstanceProfileRequest Class
AmazonAmazon.IdentityManagement.ModelRemoveRoleFromInstanceProfileRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the RemoveRoleFromInstanceProfile operation. Removes the specified role from the specified instance profile. Make sure you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role from an instance profile that is associated with a running instance will break any applications running on the instance.

For more information about roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles.

Declaration Syntax
C#
public class RemoveRoleFromInstanceProfileRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
RemoveRoleFromInstanceProfileRequest()()()()
Initializes a new instance of the RemoveRoleFromInstanceProfileRequest class

Equals(Object)
Determines whether the specified Object is equal to the current 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 update.


RoleName
Gets and sets the property RoleName.

Name of the role to remove.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithInstanceProfileName(String) Obsolete.
Sets the InstanceProfileName property

WithRoleName(String) Obsolete.
Sets the RoleName property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 RemoveRoleFromInstanceProfileRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)