Class: Aws::CloudFront::Types::Origins

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

Overview

Note:

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

{
  quantity: 1, # required
  items: [ # required
    {
      id: "string", # required
      domain_name: "string", # required
      origin_path: "string",
      custom_headers: {
        quantity: 1, # required
        items: [
          {
            header_name: "string", # required
            header_value: "string", # required
          },
        ],
      },
      s3_origin_config: {
        origin_access_identity: "string", # required
      },
      custom_origin_config: {
        http_port: 1, # required
        https_port: 1, # required
        origin_protocol_policy: "http-only", # required, accepts http-only, match-viewer, https-only
        origin_ssl_protocols: {
          quantity: 1, # required
          items: ["SSLv3"], # required, accepts SSLv3, TLSv1, TLSv1.1, TLSv1.2
        },
        origin_read_timeout: 1,
        origin_keepalive_timeout: 1,
      },
    },
  ],
}

A complex type that contains information about origins and origin groups for this distribution.

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<Types::Origin>

A complex type that contains origins or origin groups for this distribution.

Returns:



6581
6582
6583
6584
6585
# File 'lib/aws-sdk-cloudfront/types.rb', line 6581

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

#quantityInteger

The number of origins or origin groups for this distribution.

Returns:

  • (Integer)


6581
6582
6583
6584
6585
# File 'lib/aws-sdk-cloudfront/types.rb', line 6581

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