AWS IAM Create Policy Version 1

This handler uses the AWS REST API to creates an AWS IAM (Identify and Access Management) Policy. For more information see the AWS Amazon Virtual Private Cloud User Guide online.

Parameters

Name Description
Policy Name The name of the policy document.
Path The path for the policy.
Policy Document The policy document.
Description A friendly description of the policy.

Sample Configuration

Name Description
Policy Name Dev_Policy
Path /directory
Policy Document iam_policy
Description This a a sample description for an IAM policy.

Results

Name Description
Policy Name Policy name of the policy you just created.
Policy ID ID of the policy you just made.
Policy ARN ARN of the policy you just created.
Policy Path Policy path for the policy that you just created.
Policy Default Version ID Version ID created for policy.
Policy Attachment Count Count of attachments to policy.
Policy Is Attachable Boolean value for whether or not the policy will accept attachments.
Policy Description Description of the policy created.
Policy Create Date Date you created the policy.
Policy Update Date Date policy was last updated.

Changelog

AWS IAM Create Policy V1 (2017-08-31)

  • Initial version. See README for details.


Related Handlers

AWS IAM Add Role to Instance Profile
Adds a specified role to a specified instance profile.
AWS IAM Create Instance Profile
Creates a new instance profile. An instance profile is a container for an AWS IAM (Identify and Access Management) role that you can use to pass role information to an EC2 instance when the instance starts.
AWS IAM Create Role
Creates an AWS IAM (Identify and Access Management) Role
AWS IAM Delete Instance Profile
Deletes a specified instance profile. The instance profile must not have an associated role.
AWS IAM Delete Policy
Deletes the specified managed policy.
AWS IAM Delete Role
Deletes the specified role. The role must not have any policies attached.
AWS IAM Detach Role Policy
Removes the specified managed policy from the specified role.
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.