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)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#alternative_domain_namesArray<String>

The alternate domain names of the distribution.

Returns:

  • (Array<String>)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

The Amazon Resource Name (ARN) of the distribution.

Returns:

  • (String)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#bundle_idString

The ID of the bundle currently applied to the distribution.

Returns:

  • (String)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#cache_behavior_settingsTypes::CacheSettings

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



11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :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:



11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_nameString

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

Returns:

  • (String)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The timestamp when the distribution was created.

Returns:

  • (Time)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#default_cache_behaviorTypes::CacheBehavior

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



11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#domain_nameString

The domain name of the distribution.

Returns:

  • (String)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address_typeString

The IP address type of the distribution.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

Returns:

  • (String)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#is_enabledBoolean

Indicates whether the distribution is enabled.

Returns:

  • (Boolean)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :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.



11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the distribution.

Returns:

  • (String)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :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:



11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#origin_public_dnsString

The public DNS of the origin.

Returns:

  • (String)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

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

Returns:

  • (String)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the distribution.

Returns:

  • (String)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :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)


11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :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 Amazon Lightsail Developer Guide.

Returns:



11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11578

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,
  :ip_address_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end