

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# ARC 中的資源類型和 ARN 格式
<a name="recovery-readiness.resource-types-arns"></a>

**注意**  
自 2026 年 4 月 30 日起，Amazon Application Recovery Controller (ARC) 中的整備檢查功能將不再開放給新客戶使用。現有客戶可以繼續正常使用該服務。如需詳細資訊，請參閱 [Amazon Application Recovery Controller (ARC) 整備檢查可用性變更](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-readiness-availability-change.html)。

當您在 Amazon Application Recovery Controller (ARC) 中建立資源集時，您可以為要包含的每個資源指定要包含在集合中的資源類型，以及 Amazon Resource Name (ARNs)。ARC 預期每個資源類型都有特定的 ARN 格式。本節列出 ARC 支援的資源類型，以及每個類型相關的 ARN 格式。

特定格式取決於 資源。當您提供 ARN 時，請將*斜體*文字取代為您的資源特定資訊。

**注意**  
請注意，ARC 對資源所需的 ARN 格式可能與服務本身對其資源所需的 ARN 格式不同。例如，[服務授權參考](https://docs.aws.amazon.com/service-authorization/latest/reference/reference.html)中每個服務**的資源類型**區段中所述的 ARN 格式，可能不會包含 ARC 支援 ARC 服務中的功能所需的 AWS 帳戶 ID 或其他資訊。

**AWS::ApiGateway::Stage**  
Amazon API Gateway 第 1 版階段。  
+ **ARN 格式： **`arn:partition:apigateway:region:account:/restapis/api-id/stages/stage-name`

  範例：`arn:aws:apigateway:us-east-1:111122223333:/restapis/123456789/stages/ExampleStage`

  如需詳細資訊，請參閱 [API Gateway Amazon Resource Name (ARN) 參考](https://docs.aws.amazon.com/apigateway/latest/developerguide/arn-format-reference.html)。

**AWS::ApiGatewayV2::Stage**  
Amazon API Gateway 第 2 版階段。  
+ **ARN 格式： **`arn:partition:apigateway:region:account:/apis/api-id/stages/stage-name`

  範例：`arn:aws:apigateway:us-east-1:111122223333:/apis/123456789/stages/ExampleStage`

  如需詳細資訊，請參閱 [API Gateway Amazon Resource Name (ARN) 參考](https://docs.aws.amazon.com/apigateway/latest/developerguide/arn-format-reference.html)。

**AWS::CloudWatch::Alarm**  
Amazon CloudWatch 警示。  
+ **ARN 格式： **`arn:partition:cloudwatch:region:account:alarm:alarm-name`

  範例：`arn:aws:cloudwatch:us-west-2:111122223333:alarm:test-alarm-1`

  如需詳細資訊，請參閱 [Amazon CloudWatch 定義的資源類型](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies)。

**AWS::DynamoDB::Table**  
Amazon DynamoDB 資料表。  
+ **ARN 格式： **`arn:partition:dynamodb:region:account:table/table-name`

  範例：`arn:aws:dynamodb:us-west-2:111122223333:table/BigTable`

  如需詳細資訊，請參閱 [DynamoDB 資源和操作](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-overview.html#access-control-resources)。

**AWS::EC2::CustomerGateway**  
客戶閘道裝置。  
+ **ARN 格式： **`arn:partition:ec2:region:account:customer-gateway/CustomerGatewayId`

  範例：`arn:aws:ec2:us-west-2:111122223333:customer-gateway/vcg-123456789`

  如需詳細資訊，請參閱 [Amazon EC2 定義的資源類型](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html#amazonec2-resources-for-iam-policies)。

**AWS::EC2::Volume**  
Amazon EBS 磁碟區。  
+ **ARN 格式： **`arn:partition:ec2:region:account:volume/VolumeId`

  範例：`arn:aws:ec2:us-west-2:111122223333:volume/volume-of-cylinder-is-pi`

  如需詳細資訊，請參閱 [API Gateway Amazon Resource Name (ARN) 參考](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html#amazonec2-resources-for-iam-policies)。

**AWS::ElasticLoadBalancing::LoadBalancer**  
Classic Load Balancer。  
+ **ARN 格式： **`arn:partition:elasticloadbalancing:region:account:loadbalancer/LoadBalancerName`

  範例：`arn:aws:elasticloadbalancing:us-west-2:111122223333:loadbalancer/123456789abcbdeCLB`

  如需詳細資訊，請參閱 [Elastic Load Balancing 資源](https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/load-balancer-authentication-access-control.html#elb-resources)。

**AWS::ElasticLoadBalancingV2::LoadBalancer**  
Network Load Balancer 或 Application Load Balancer。  
+ **Network Load Balancer 的 ARN 格式： **`arn:partition:elasticloadbalancing:region:account:loadbalancer/net/LoadBalancerName`

  Network Load Balancer 的範例： `arn:aws:elasticloadbalancing:us-west-2:111122223333:loadbalancer/net/sandbox-net/123456789acbdeNLB`
+ **Application Load Balancer 的 ARN 格式： **`arn:partition:elasticloadbalancing:region:account:loadbalancer/app/LoadBalancerName`

  Application Load Balancer 的範例： `arn:aws:elasticloadbalancing:us-west-2:111122223333:loadbalancer/app/sandbox-alb/123456789acbdeALB`

  如需詳細資訊，請參閱 [Elastic Load Balancing 資源](https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/load-balancer-authentication-access-control.html#elb-resources)。

**AWS::Lambda::Function**  
 AWS Lambda 函數。  
+ **ARN 格式： **`arn:partition:lambda:region:account:function:FunctionName`

  範例：`arn:aws:lambda:us-west-2:111122223333:function:my-function`

  如需詳細資訊，請參閱 [Lambda 動作的資源和條件](https://docs.aws.amazon.com/lambda/latest/dg/lambda-api-permissions-ref.html)。

**AWS::MSK::Cluster**  
Amazon MSK 叢集。  
+ **ARN 格式： **`arn:partition:kafka:region:account:cluster/ClusterName/UUID`

  範例：`arn:aws:kafka:us-east-1:111122223333:cluster/demo-cluster-1/123456-1111-2222-3333`

  如需詳細資訊，請參閱 [Amazon Managed Streaming for Apache Kafka 定義的資源類型](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonmanagedstreamingforapachekafka.html#amazonmanagedstreamingforapachekafka-resources-for-iam-policies)。

**AWS::RDS::DBCluster**  
Aurora 資料庫叢集。  
+ **ARN 格式： **`arn:partition:rds:region:account:cluster:DbClusterInstanceName`

  範例：`arn:aws:rds:us-west-2:111122223333:cluster:database-1`

  如需詳細資訊，請參閱[在 Amazon RDS 中使用 Amazon Resource Name (ARNs)](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html)。

**AWS::Route53::HealthCheck**  
Amazon Route 53 運作狀態檢查。  
+ **ARN 格式： **`arn:partition:route53:::healthcheck/Id`

  範例：`arn:aws:route53:::healthcheck/123456-1111-2222-3333`

**AWS::SQS::Queue**  
Amazon SQS 佇列。  
+ **ARN 格式： **`arn:partition:sqs:region:account:QueueName`

  範例：`arn:aws:sqs:us-west-2:111122223333:StandardQueue`

  如需詳細資訊，請參閱 [Amazon Simple Queue Service 資源和操作](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html#sqs-resource-and-operations)。

**AWS::SNS::Topic**  
Amazon SNS 主題。  
+ **ARN 格式： **`arn:partition:sns:region:account:TopicName`

  範例：`arn:aws:sns:us-west-2:111122223333:TopicName`

  如需詳細資訊，請參閱 [Amazon SNS 資源 ARN 格式](https://docs.aws.amazon.com/sns/latest/dg/sns-using-identity-based-policies.html#sns-arn-format)。

**AWS::SNS::Subscription**  
Amazon SNS 訂閱。  
+ **ARN 格式： **`arn:partition:sns:region:account:TopicName:SubscriptionId`

  範例：`arn:aws:sns:us-west-2:111122223333:TopicName:123456789012345567890`

**AWS::EC2::VPC**  
Virtual Private Cloud (VPC)。  
+ **ARN 格式： **`arn:partition:ec2:region:account:vpc/VpcId`

  範例：`arn:aws:ec2:us-west-2:111122223333:vpc/vpc-123456789`

  如需詳細資訊，請參閱 [VPC 資源](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html#amazonec2-resources-for-iam-policies)。

**AWS::EC2::VPNConnection**  
虛擬私有網路 (VPN) 連線。  
+ **ARN 格式： **`arn:partition:ec2:region:account:vpn-connection/VpnConnectionId`

  範例：`arn:aws:ec2:us-west-2:111122223333:vpn-connection/vpn-123456789`

  如需詳細資訊，請參閱 [Amazon EC2 定義的資源類型](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html#amazonec2-resources-for-iam-policies)。

**AWS::EC2::VPNGateway**  
虛擬私有網路 (VPN) 閘道。  
+ **ARN 格式： **`arn:partition:ec2:region:account:vpn-gateway/VpnGatewayId`

  範例：`arn:aws:ec2:us-west-2:111122223333:vpn-gateway/vgw-123456789acbdefgh`

  如需詳細資訊，請參閱 [Amazon EC2 定義的資源類型](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonec2.html#amazonec2-resources-for-iam-policies)。

**AWS::Route53RecoveryReadiness::DNSTargetResource**  
準備度檢查的 DNS 目標資源包括 DNS 記錄類型、網域名稱、Route 53 託管區域 ARN，以及 Network Load Balancer ARN 或 Route 53 記錄集 ID。  
+ **託管區域的 ARN 格式： **`arn:partition:route53::account:hostedzone/Id`

  託管區域的範例： `arn:aws:route53::111122223333:hostedzone/abcHostedZone`

  注意：您必須在託管區域 ARNs 中包含帳戶 ID，如此處所述。帳戶 ID 是必要的，讓 ARC 可以輪詢資源。格式刻意與 Amazon Route 53 所需的 ARN 格式不同，如*服務授權參考*中的 Route 53 服務[資源類型](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonroute53.html#amazonroute53-resources-for-iam-policies)所述。
+ **Network Load Balancer 的 ARN 格式： **`arn:partition:elasticloadbalancing:region:account:loadbalancer/net/LoadBalancerName`

  Network Load Balancer 的範例： `arn:aws:elasticloadbalancing:us-west-2:111122223333:loadbalancer/net/sandbox-net/123456789acbdefgh`

  如需詳細資訊，請參閱 [Elastic Load Balancing 資源](https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/load-balancer-authentication-access-control.html#elb-resources)。