Class: Aws::Lightsail::Types::UpdateDistributionRequest

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

#cache_behavior_settingsTypes::CacheSettings

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

The cacheBehaviorSettings specified in your UpdateDistributionRequest will replace your distribution's existing settings.



14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14667

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled,
  :viewer_minimum_tls_protocol_version,
  :certificate_name,
  :use_default_certificate)
  SENSITIVE = []
  include Aws::Structure
end

#cache_behaviorsArray<Types::CacheBehaviorPerPath>

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

Returns:



14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14667

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled,
  :viewer_minimum_tls_protocol_version,
  :certificate_name,
  :use_default_certificate)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_nameString

The name of the SSL/TLS certificate that you want to attach to the distribution.

Only certificates with a status of ISSUED can be attached to a distribution.

Use the GetCertificates action to get a list of certificate names that you can specify.

Returns:

  • (String)


14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14667

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled,
  :viewer_minimum_tls_protocol_version,
  :certificate_name,
  :use_default_certificate)
  SENSITIVE = []
  include Aws::Structure
end

#default_cache_behaviorTypes::CacheBehavior

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



14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14667

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled,
  :viewer_minimum_tls_protocol_version,
  :certificate_name,
  :use_default_certificate)
  SENSITIVE = []
  include Aws::Structure
end

#distribution_nameString

The name of the distribution to update.

Use the GetDistributions action to get a list of distribution names that you can specify.

Returns:

  • (String)


14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14667

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled,
  :viewer_minimum_tls_protocol_version,
  :certificate_name,
  :use_default_certificate)
  SENSITIVE = []
  include Aws::Structure
end

#is_enabledBoolean

Indicates whether to enable the distribution.

Returns:

  • (Boolean)


14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14667

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled,
  :viewer_minimum_tls_protocol_version,
  :certificate_name,
  :use_default_certificate)
  SENSITIVE = []
  include Aws::Structure
end

#originTypes::InputOrigin

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

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

Returns:



14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14667

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled,
  :viewer_minimum_tls_protocol_version,
  :certificate_name,
  :use_default_certificate)
  SENSITIVE = []
  include Aws::Structure
end

#use_default_certificateBoolean

Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is true. When true, the distribution uses the default domain name such as d111111abcdef8.cloudfront.net.

Set this value to false to attach a new certificate to the distribution.

Returns:

  • (Boolean)


14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14667

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled,
  :viewer_minimum_tls_protocol_version,
  :certificate_name,
  :use_default_certificate)
  SENSITIVE = []
  include Aws::Structure
end

#viewer_minimum_tls_protocol_versionString

Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.

Returns:

  • (String)


14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14667

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled,
  :viewer_minimum_tls_protocol_version,
  :certificate_name,
  :use_default_certificate)
  SENSITIVE = []
  include Aws::Structure
end