Class: Aws::Lightsail::Types::CreateDistributionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bundle_idString

The bundle ID to use for the distribution.

A distribution bundle describes the specifications of your distribution, such as the monthly cost and monthly network transfer quota.

Use the ‘GetDistributionBundles` action to get a list of distribution bundle IDs that you can specify.

Returns:

  • (String)


3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-lightsail/types.rb', line 3626

class CreateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :bundle_id,
  :ip_address_type,
  :tags,
  :certificate_name,
  :viewer_minimum_tls_protocol_version)
  SENSITIVE = []
  include Aws::Structure
end

#cache_behavior_settingsTypes::CacheSettings

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



3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-lightsail/types.rb', line 3626

class CreateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :bundle_id,
  :ip_address_type,
  :tags,
  :certificate_name,
  :viewer_minimum_tls_protocol_version)
  SENSITIVE = []
  include Aws::Structure
end

#cache_behaviorsArray<Types::CacheBehaviorPerPath>

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

Returns:



3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-lightsail/types.rb', line 3626

class CreateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :bundle_id,
  :ip_address_type,
  :tags,
  :certificate_name,
  :viewer_minimum_tls_protocol_version)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_nameString

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

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

[1]: docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html

Returns:

  • (String)


3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-lightsail/types.rb', line 3626

class CreateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :bundle_id,
  :ip_address_type,
  :tags,
  :certificate_name,
  :viewer_minimum_tls_protocol_version)
  SENSITIVE = []
  include Aws::Structure
end

#default_cache_behaviorTypes::CacheBehavior

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



3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-lightsail/types.rb', line 3626

class CreateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :bundle_id,
  :ip_address_type,
  :tags,
  :certificate_name,
  :viewer_minimum_tls_protocol_version)
  SENSITIVE = []
  include Aws::Structure
end

#distribution_nameString

The name for the distribution.

Returns:

  • (String)


3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-lightsail/types.rb', line 3626

class CreateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :bundle_id,
  :ip_address_type,
  :tags,
  :certificate_name,
  :viewer_minimum_tls_protocol_version)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address_typeString

The IP address type for the distribution.

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

The default value is ‘dualstack`.

Returns:

  • (String)


3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-lightsail/types.rb', line 3626

class CreateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :bundle_id,
  :ip_address_type,
  :tags,
  :certificate_name,
  :viewer_minimum_tls_protocol_version)
  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:



3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-lightsail/types.rb', line 3626

class CreateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :bundle_id,
  :ip_address_type,
  :tags,
  :certificate_name,
  :viewer_minimum_tls_protocol_version)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tag keys and optional values to add to the distribution during create.

Use the ‘TagResource` action to tag a resource after it’s created.

Returns:



3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-lightsail/types.rb', line 3626

class CreateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :bundle_id,
  :ip_address_type,
  :tags,
  :certificate_name,
  :viewer_minimum_tls_protocol_version)
  SENSITIVE = []
  include Aws::Structure
end

#viewer_minimum_tls_protocol_versionString

The minimum TLS protocol version for the SSL/TLS certificate.

Returns:

  • (String)


3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
# File 'lib/aws-sdk-lightsail/types.rb', line 3626

class CreateDistributionRequest < Struct.new(
  :distribution_name,
  :origin,
  :default_cache_behavior,
  :cache_behavior_settings,
  :cache_behaviors,
  :bundle_id,
  :ip_address_type,
  :tags,
  :certificate_name,
  :viewer_minimum_tls_protocol_version)
  SENSITIVE = []
  include Aws::Structure
end