Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . route53 ]

get-hosted-zone-limit

Description

Gets the specified limit for a specified hosted zone, for example, the maximum number of records that you can create in the hosted zone.

For the default limit, see Limits in the Amazon Route 53 Developer Guide . To request a higher limit, open a case .

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  get-hosted-zone-limit
--type <value>
--hosted-zone-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--type (string)

The limit that you want to get. Valid values include the following:

  • MAX_RRSETS_BY_ZONE : The maximum number of records that you can create in the specified hosted zone.
  • MAX_VPCS_ASSOCIATED_BY_ZONE : The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.

Possible values:

  • MAX_RRSETS_BY_ZONE
  • MAX_VPCS_ASSOCIATED_BY_ZONE

--hosted-zone-id (string)

The ID of the hosted zone that you want to get a limit for.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

Limit -> (structure)

The current setting for the specified limit. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Limit is the maximum number of records that you can create in the specified hosted zone.

Type -> (string)

The limit that you requested. Valid values include the following:

  • MAX_RRSETS_BY_ZONE : The maximum number of records that you can create in the specified hosted zone.
  • MAX_VPCS_ASSOCIATED_BY_ZONE : The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.

Value -> (long)

The current value for the limit that is specified by Type .

Count -> (long)

The current number of entities that you have created of the specified type. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Count is the current number of records that you have created in the specified hosted zone.