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

{
  "PolicyDocument" : JSON,
  "PolicyName" : String
}

YAML

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