UtilitySansar
Cloud

AWS ARN Parser

Paste any AWS Amazon Resource Name (ARN) to see its partition, service, region, account ID, resource type, and resource ID at a glance. Malformed ARNs are flagged and, where possible, a matching AWS console URL is generated.

工具摘要

此工具接收结构化输入,在浏览器中返回确定性输出,无需上传到服务器。

工具名称
AWS ARN Parser
输入意图
提供需要转换、校验或分析的原始内容。
输出意图
获得可直接复制、复用或排错的规范化输出。
示例输入
arn:aws:lambda:us-east-1:123456789012:function:processOrders:PROD
示例输出
service=lambda · region=us-east-1 · function "processOrders:PROD"

Local processing / privacy notice

  • Inputs are processed in your browser session.
  • We do not send raw input/output values to our analytics endpoint.
  • Use reset/clear actions when working with confidential data.
The ARN is parsed entirely in your browser.
Examples:
Partition
aws
Service
lambda
Region
us-east-1
Account ID
123456789012
Resource type (colon)
function
Resource ID
processOrders:PROD
ARN structure reference
arn:<partition>:<service>:<region>:<account-id>:<resource>
                                            └─ resource-type (: or /) + resource-id

partition is usually aws, but may be aws-cn or aws-us-gov. Services like s3, iam, and cloudfront are global and omit region / account.

工具介绍

Paste any AWS Amazon Resource Name (ARN) to see its partition, service, region, account ID, resource type, and resource ID at a glance. Malformed ARNs are flagged and, where possible, a matching AWS console URL is generated.

工具概览

Every addressable AWS resource has an ARN following the format arn:partition:service:region:account-id:resource. Services use subtle variations: S3 object ARNs skip region and account, IAM uses a slash delimiter on the resource segment, and Lambda packs the function name plus optional version after a colon. Getting these segments right matters for IAM policies, CLI commands, and CloudFormation references — this tool gives you a one-shot breakdown without having to remember service-specific quirks.

使用场景

  • Decode an ARN you see in a CloudTrail log, alarm, or IAM policy
  • Verify an ARN is well-formed before pasting it into a CloudFormation template
  • Copy the service, region, or account ID out of a long ARN
  • Open the matching AWS console page for the resource

输入/输出示例

输入意图
arn:aws:lambda:us-east-1:123456789012:function:processOrders:PROD
输出意图
service=lambda · region=us-east-1 · function "processOrders:PROD"
输入意图
arn:aws:iam::123456789012:role/CodeBuildServiceRole
输出意图
service=iam · role "CodeBuildServiceRole" · region is empty (IAM is global)

常见问题

What is an AWS ARN?+
An Amazon Resource Name uniquely identifies an AWS resource. The format is arn:<partition>:<service>:<region>:<account-id>:<resource>, where the resource portion varies by service.
Why is the region or account empty?+
Some services (IAM, S3, CloudFront, Route 53, Organizations) are global or their ARN format intentionally omits those segments.
What are partitions?+
AWS has multiple isolated partitions: aws (commercial), aws-cn (China), aws-us-gov (GovCloud), and aws-iso / aws-iso-b (intelligence community). ARNs across partitions are distinct even if the resource name matches.
Is my ARN sent to a server?+
No. Parsing happens entirely in your browser.

探索更多工具

在下方的 Cloud 分类中发现相关工具。

浏览全部 Cloud

相关工具

精选可能对你有用的实用工具