Class: Aws::Lightsail::Types::CheckSubdomainAvailabilityRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#reserve ⇒ Boolean

Specifies whether to reserve the subdomain for your account if it's available. A reservation holds the subdomain for 15 minutes so that other accounts can't create it. Checking the subdomain again doesn't extend the reservation.

For a nested subdomain, such as blog.mysite, the top-level subdomain (mysite) is reserved.

You can have up to 5 active reservations at a time.

Returns:

  • (Boolean)


1995
1996
1997
1998
1999
2000
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1995

class CheckSubdomainAvailabilityRequest < Struct.new(
  :subdomain_name,
  :reserve)
  SENSITIVE = []
  include Aws::Structure
end

#subdomain_name ⇒ String

The subdomain to check (for example, mysite or blog.mysite).

A subdomain can contain one or two labels separated by a period (.). Each label must start and end with a lowercase letter or a number, and can contain only lowercase letters, numbers, and hyphens (-). The name can be up to 39 characters long, including periods. Labels that start with xn-- aren't supported, and some names are reserved.

Specify only the subdomain. A web address, such as mysite.amazonlightsail.com, isn't accepted.

Returns:

  • (String)


1995
1996
1997
1998
1999
2000
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1995

class CheckSubdomainAvailabilityRequest < Struct.new(
  :subdomain_name,
  :reserve)
  SENSITIVE = []
  include Aws::Structure
end