Class: Aws::Lightsail::Types::LightsailDistribution

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

Overview

Describes an Amazon Lightsail content delivery network (CDN) distribution.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#able_to_update_bundleBoolean

Indicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle.

Use the UpdateDistributionBundle action to change your distribution's bundle.

Returns:

  • (Boolean)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#alternative_domain_namesArray<String>

The alternate domain names of the distribution.

Returns:

  • (Array<String>)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

The Amazon Resource Name (ARN) of the distribution.

Returns:

  • (String)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#bundle_idString

The ID of the bundle currently applied to the distribution.

Returns:

  • (String)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#cache_behavior_settingsTypes::CacheSettings

An object that describes the cache behavior settings of the distribution.



9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#cache_behaviorsArray<Types::CacheBehaviorPerPath>

An array of objects that describe the per-path cache behavior of the distribution.

Returns:



9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_nameString

The name of the SSL/TLS certificate attached to the distribution, if any.

Returns:

  • (String)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The timestamp when the distribution was created.

Returns:

  • (Time)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#default_cache_behaviorTypes::CacheBehavior

An object that describes the default cache behavior of the distribution.



9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#domain_nameString

The domain name of the distribution.

Returns:

  • (String)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#is_enabledBoolean

Indicates whether the distribution is enabled.

Returns:

  • (Boolean)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#locationTypes::ResourceLocation

An object that describes the location of the distribution, such as the AWS Region and Availability Zone.

Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.



9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the distribution.

Returns:

  • (String)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#originTypes::Origin

An object that describes the origin resource of the distribution, such as a Lightsail instance or load balancer.

The distribution pulls, caches, and serves content from the origin.

Returns:



9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#origin_public_dnsString

The public DNS of the origin.

Returns:

  • (String)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The Lightsail resource type (e.g., Distribution).

Returns:

  • (String)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the distribution.

Returns:

  • (String)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#support_codeString

The support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.

Returns:

  • (String)


9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Returns:



9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 9156

class LightsailDistribution < Struct.new(
  :name,
  :arn,
  :support_code,
  :created_at,
  :location,
  :resource_type,
  :alternative_domain_names,
  :status,
  :is_enabled,
  :domain_name,
  :bundle_id,
  :certificate_name,
  :origin,
  :origin_public_dns,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :able_to_update_bundle,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end