Class: Aws::Lightsail::Types::LightsailDistributionSubdomain

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

Overview

Describes the Lightsail subdomain of a distribution. The distribution is reachable at the subdomain's web address, which is the subdomain followed by amazonlightsail.com.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_code ⇒ String

The error code that describes why the subdomain is in the Error state.

Returns:

  • (String)


11931
11932
11933
11934
11935
11936
11937
11938
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11931

class LightsailDistributionSubdomain < Struct.new(
  :name,
  :state,
  :error_code,
  :error_details)
  SENSITIVE = []
  include Aws::Structure
end

#error_details ⇒ String

The details of the error that caused the subdomain to be in the Error state.

Returns:

  • (String)


11931
11932
11933
11934
11935
11936
11937
11938
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11931

class LightsailDistributionSubdomain < Struct.new(
  :name,
  :state,
  :error_code,
  :error_details)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The subdomain (for example, mysite), not its web address.

Returns:

  • (String)


11931
11932
11933
11934
11935
11936
11937
11938
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11931

class LightsailDistributionSubdomain < Struct.new(
  :name,
  :state,
  :error_code,
  :error_details)
  SENSITIVE = []
  include Aws::Structure
end

#state ⇒ String

The state of the subdomain for the distribution.

The following states are possible:

  • Creating – The subdomain is being created.

  • Attaching – The subdomain is being associated with the distribution.

  • Attached – The subdomain is associated with the distribution.

  • Error – The subdomain couldn't be created or associated with the distribution. For more information, see the errorCode and errorDetails parameters.

Returns:

  • (String)


11931
11932
11933
11934
11935
11936
11937
11938
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11931

class LightsailDistributionSubdomain < Struct.new(
  :name,
  :state,
  :error_code,
  :error_details)
  SENSITIVE = []
  include Aws::Structure
end