Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

IAM Policies

Policies is a property of the AWS::IAM::Role, AWS::IAM::Group, and AWS::IAM::User resources. The Policies property describes what actions are allowed on what resources. For more information about IAM policies, see Overview of Policies in IAM User Guide.

Syntax

JSON

Copy to clipboard
{ "PolicyDocument" : JSON, "PolicyName" : String }

YAML

Copy to clipboard
PolicyDocument: JSON PolicyName: String

Properties

PolicyDocument

A policy document that describes what actions are allowed on which resources.

Required: Yes

Type: JSON object

Update requires: No interruption

PolicyName

The name of the policy.

Required: Yes

Type: String

Update requires: No interruption