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.



14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14370

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

#cache_behaviorsArray<Types::CacheBehaviorPerPath>

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

Returns:



14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14370

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

#default_cache_behaviorTypes::CacheBehavior

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



14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14370

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled)
  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)


14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14370

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

#is_enabledBoolean

Indicates whether to enable the distribution.

Returns:

  • (Boolean)


14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14370

class UpdateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :is_enabled)
  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:



14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14370

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