Class: Aws::CloudFront::Types::Origins
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::Origins
- 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,
},
connection_attempts: 1,
connection_timeout: 1,
origin_shield: {
enabled: false, # required
origin_shield_region: "OriginShieldRegion",
},
},
],
}
Contains information about the origins for this distribution.
Constant Summary collapse
- SENSITIVE =
[]
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.
10069 10070 10071 10072 10073 10074 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10069 class Origins < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |