You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudFront::Types::Origins
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::Origins
- Defined in:
- (unknown)
Overview
Note:
When passing Origins as input to an Aws::Client method, you can use a vanilla 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,
},
connection_attempts: 1,
connection_timeout: 1,
origin_shield: {
enabled: false, # required
origin_shield_region: "OriginShieldRegion",
},
},
],
}
Contains information about the origins for this distribution.
Returned by:
Instance Attribute Summary collapse
-
#items ⇒ Array<Types::Origin>
A list of origins.
-
#quantity ⇒ Integer
The number of origins for this distribution.
Instance Attribute Details
#items ⇒ Array<Types::Origin>
A list of origins.
#quantity ⇒ Integer
The number of origins for this distribution.