Comments (4)
The :s3_origin_config
is not marked as required because it is only needed when the origin is an S3 bucket. If the origin is outside Amazon S3, then you would need to pass the :custom_origin_config
option instead. The documentation you linked to is built directly from the public API documentation here:
It can be generally difficult to document these conditionally-required parameters as the conditions that makes a param required can be complex. Do you have a suggestion that you feel would improve this for the next user?
from aws-sdk-ruby.
Aww, I see. I had the bad assumption that it was NOT required, even if my origin is an S3 bucket.
I suppose it would be more clear if it stated that it was required when the origin is an S3 bucket.
from aws-sdk-ruby.
I will pass along the suggesting to the documentation team for Cloud Front. I'm going to go ahead and close this issue as thanks, Thanks for the feedback!
from aws-sdk-ruby.
Great. Thanks for the help.
from aws-sdk-ruby.
Related Issues (20)
- 429 / too many requests API error reported as missing credentials HOT 8
- URI.parse call too heavy HOT 1
- AWS-SDK-SSM Compilation error during boot time HOT 15
- Accept-Encoding=identity instead of empty value HOT 3
- Kinesis streaming from large feeds - out of memory errors HOT 10
- gem install aws-sdk 3.1.0 / aws-sdk-applicationdiscoveryservice-1.49.0 missing ri file HOT 10
- Include specs in published gems HOT 4
- SESV2 ListContacts breaks with "Content-Length not given and Transfer-Encoding is not `chunked'" HOT 8
- Infer AWS HTTP request payload size HOT 6
- Aws::S3::Presigner #presigned_url to allow a custom hostname HOT 4
- Aws::STS::Errors::InvalidClientTokenId HOT 7
- Feature: Allow QueuePoller to be interrupted from another thread HOT 1
- aws-sdk-s3 fails when downloading file of exactly 20971524 bytes from S3 bucket bug HOT 16
- Feature: Support `stub_responses:` kwarg in InstanceProfileCredentials HOT 4
- Need WorkerId in Mturk Event HOT 2
- Can't decrypt noncurrent versions of files using EncryptionV2 with kms(short issue description) HOT 1
- Can't create S3 presigned URLs HOT 9
- Chime: event_ingestion_url will be nil when use_fips_endpoint is true HOT 4
- Aws:STS:Presigner sometimes sets X-Amz-Expires < 900 HOT 17
- `Checksum validation failed` since aws-sdk-s3 1.132.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-ruby.