IamActionDefinition - AWS Billing and Cost Management
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

IamActionDefinition

The AWS 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(-eusc|-cn|-us-gov|-iso|-iso-[a-z]{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 AWS SDKs, see the following: