AWS::IAM::Group Policy - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::IAM::Group Policy

Contains information about an attached policy.

An attached policy is a managed policy that has been attached to a user, group, or role.

For more information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

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

YAML

PolicyDocument: Json PolicyName: String

Properties

PolicyDocument

The policy document.

Required: Yes

Type: Json

Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+

Minimum: 1

Maximum: 131072

Update requires: No interruption

PolicyName

The friendly name (not ARN) identifying the policy.

Required: Yes

Type: String

Pattern: [\w+=,.@-]+

Minimum: 1

Maximum: 128

Update requires: No interruption

See also

  • PolicyDetail in the Amazon Identity and Access Management API Reference