Sha256: 6f98ba2c01e13126a0dbb9d716d2de9c80f4ce7659d110bc22c76c8cdbb76390
Contents?: true
Size: 1.57 KB
Versions: 81
Compression:
Stored size: 1.57 KB
Contents
### exist ```ruby describe cloudfront_distribution('123456789zyxw.cloudfront.net') do it { should exist } end ``` ### be_in_progress, be_deployed ```ruby describe cloudfront_distribution('123456789zyxw.cloudfront.net') do it { should be_deployed } end ``` ### have_custom_response_error_code ```ruby describe cloudfront_distribution('123456789zyxw.cloudfront.net') do it do should have_custom_response_error_code(400) .error_caching_min_ttl(60) .response_page_path('/path/to/400.html') .response_code(400) end it do should have_custom_response_error_code(403) .error_caching_min_ttl(60) .response_page_path('/path/to/403.html') .response_code('403') end it do should have_custom_response_error_code(500) .error_caching_min_ttl(60) end end ``` ### have_origin ```ruby describe cloudfront_distribution('E2CLOUDFRONTXX') do it do should have_origin('cf-s3-origin-hosting.dev.example.com') .domain_name('cf-s3-origin-hosting.dev.example.com.s3.amazonaws.com') .origin_path('/img') .origin_access_identity('origin-access-identity/cloudfront/E2VVVVVVVVVVVV') end end ``` ### have_origin_domain_name ```ruby describe cloudfront_distribution('123456789zyxw.cloudfront.net') do it { should have_origin_domain_name('cf-s3-origin-hosting.dev.example.com.s3.amazonaws.com') } end ``` ### have_origin_domain_name_and_path ```ruby describe cloudfront_distribution('123456789zyxw.cloudfront.net') do it { should have_origin_domain_name_and_path('cf-s3-origin-hosting.dev.example.com.s3.amazonaws.com/img') } end ```
Version data entries
81 entries across 81 versions & 3 rubygems