You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudFront::Types::OriginSslProtocols

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass OriginSslProtocols data as a hash:

{
  quantity: 1, # required
  items: ["SSLv3"], # required, accepts SSLv3, TLSv1, TLSv1.1, TLSv1.2
}

A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<String>

A list that contains allowed SSL/TLS protocols for this distribution.

Returns:

  • (Array<String>)


4354
4355
4356
4357
4358
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 4354

class OriginSslProtocols < Struct.new(
  :quantity,
  :items)
  include Aws::Structure
end

#quantityInteger

The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing an HTTPS connection with this origin.

Returns:

  • (Integer)


4354
4355
4356
4357
4358
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 4354

class OriginSslProtocols < Struct.new(
  :quantity,
  :items)
  include Aws::Structure
end