Skip to main content

IAM_ROLE_NAME_PATTERN

Constant IAM_ROLE_NAME_PATTERN 

Source
pub const IAM_ROLE_NAME_PATTERN: &str = r"^(/[!-~]+/)?[a-zA-Z0-9_+=,.@-]{1,64}$";
Expand description

Regex for an IAM role name with an optional path. Paths use printable ASCII and the role name uses the IAM role-name character set with its 64-character limit.