IamActionDefinition - Amazon Billing and Cost Management
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).

IamActionDefinition

The Amazon Identity and Access Management (IAM) action definition details.

Contents

PolicyArn

The Amazon Resource Name (ARN) of the policy to be attached.

Type: String

Length Constraints: Minimum length of 25. Maximum length of 684.

Pattern: ^arn:(aws|aws-cn|aws-us-gov|us-iso-east-1|us-isob-east-1):iam::(\d{12}|aws):policy(\u002F[\u0021-\u007F]+\u002F|\u002F)[\w+=,.@-]+$

Required: Yes

Groups

A list of groups to be attached. There must be at least one group.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 100 items.

Length Constraints: Minimum length of 1. Maximum length of 640.

Pattern: ^([\u0021-\u007F]+\u002F)?[\w+=,.@-]+$

Required: No

Roles

A list of roles to be attached. There must be at least one role.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 100 items.

Length Constraints: Minimum length of 1. Maximum length of 576.

Pattern: ^([\u0021-\u007F]+\u002F)?[\w+=,.@-]+$

Required: No

Users

A list of users to be attached. There must be at least one user.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 100 items.

Length Constraints: Minimum length of 1. Maximum length of 576.

Pattern: ^([\u0021-\u007F]+\u002F)?[\w+=,.@-]+$

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: