route53:GetHostedZoneCount

List

route53:GetHostedZoneCount is a List access-level action in the route53 service. Grants permission to get the number of hosted zones that are associated with the current AWS account

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows route53:GetHostedZoneCount. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRoute53GetHostedZoneCount",
      "Effect": "Allow",
      "Action": "route53:GetHostedZoneCount",
      "Resource": "*"
    }
  ]
}

Related actions in route53

View all route53 actions →