AWS IAM Detach Role Policy Version 1

This handler uses the AWS REST API to detach a specified policy from a role in the AWS IAM service. For more information see the AWS Amazon Virtual Private Cloud User Guide online.

Parameters

Name Description
Role Name The name (friendly name, not ARN) of the role to detach the policy from.
Policy ARN The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS resources.

Sample Configuration

Name Description
Role Name NAT_Role
Policy ARN arn:aws:iam: 452047358935:policy/NAT_Policy

Results

This handler does not return any results.

Changelog

AWS IAM Detach Role Policy V1 (2017-08-28)

  • Initial version. See README for details.


Related Handlers

AWS IAM Attach Role Policy
Attaches a specified managed policy to a specified role in AWS IAM (Identify and Access Management)
AWS IAM Create Policy
Creates an AWS IAM (Identify and Access Management) Policy
AWS IAM Delete Instance Profile
Deletes a specified instance profile. The instance profile must not have an associated role.
AWS IAM Delete Role
Deletes the specified role. The role must not have any policies attached.
AWS IAM List Instance Profiles
Lists the instance profiles that have the specified path prefix. If there are none, the action returns an empty list.
AWS IAM Remove Role from Instance Profile
Removes a specified role from a specified instance profile.