IamPrincipal
An IAM principal specification for rule matching.
Contents
- arn
-
The Amazon Resource Name (ARN) of the IAM principal. Supports user, role, and assumed-role ARNs. Wildcards can be used with the
StringLikeoperator.Type: String
Length Constraints: Minimum length of 0. Maximum length of 2048.
Pattern:
(arn:aws[a-zA-Z-]*:iam::(\d{12}|\*):(user|role)/[\w+=,.@*?/-]+|arn:aws[a-zA-Z-]*:sts::(\d{12}|\*):assumed-role/[\w+=,.@*?/-]+)Required: Yes
- operator
-
The match operator.
StringEqualsrequires an exact match.StringLikesupports wildcard patterns using*and?.Type: String
Valid Values:
StringEquals | StringLikeRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: