Class: Aws::Lightsail::Types::CreateDistributionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::CreateDistributionRequest
- Defined in:
- gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#bundle_id ⇒ String
The bundle ID to use for the distribution.
-
#cache_behavior_settings ⇒ Types::CacheSettings
An object that describes the cache behavior settings for the distribution.
-
#cache_behaviors ⇒ Array<Types::CacheBehaviorPerPath>
An array of objects that describe the per-path cache behavior for the distribution.
-
#certificate_name ⇒ String
The name of the SSL/TLS certificate that you want to attach to the distribution.
-
#default_cache_behavior ⇒ Types::CacheBehavior
An object that describes the default cache behavior for the distribution.
-
#distribution_name ⇒ String
The name for the distribution.
-
#ip_address_type ⇒ String
The IP address type for the distribution.
-
#origin ⇒ Types::InputOrigin
An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer.
-
#tags ⇒ Array<Types::Tag>
The tag keys and optional values to add to the distribution during create.
-
#viewer_minimum_tls_protocol_version ⇒ String
The minimum TLS protocol version for the SSL/TLS certificate.
Instance Attribute Details
#bundle_id ⇒ String
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.
3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3739 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_settings ⇒ Types::CacheSettings
An object that describes the cache behavior settings for the distribution.
3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3739 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_behaviors ⇒ Array<Types::CacheBehaviorPerPath>
An array of objects that describe the per-path cache behavior for the distribution.
3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3739 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_name ⇒ String
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.
3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3739 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_behavior ⇒ Types::CacheBehavior
An object that describes the default cache behavior for the distribution.
3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3739 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_name ⇒ String
The name for the distribution.
3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3739 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_type ⇒ String
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.
3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3739 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 |
#origin ⇒ Types::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.
3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3739 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 |
#tags ⇒ Array<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.
3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3739 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_version ⇒ String
The minimum TLS protocol version for the SSL/TLS certificate.
3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3739 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 |