Back to Library
DevOps

AWS ARN

Matches Amazon Resource Names.

Pattern
^arn:(?:aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):[a-z0-9-]*:[a-z0-9-]*:[0-9]{12}:[a-zA-Z0-9-_/]+$

Test Cases

arn:aws:iam::123456789012:user/Development Match

Try it Live

Test and customize this pattern in our interactive editor

Open in Editor