Class: Aws::SecurityHub::Types::AwsCloudFrontDistributionDefaultCacheBehavior
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsCloudFrontDistributionDefaultCacheBehavior
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-securityhub/types.rb
Overview
Contains information about the default cache configuration for the CloudFront distribution.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#viewer_protocol_policy ⇒ String
The protocol that viewers can use to access the files in an origin.
Instance Attribute Details
#viewer_protocol_policy ⇒ String
The protocol that viewers can use to access the files in an origin. You can specify the following options:
-
‘allow-all` - Viewers can use HTTP or HTTPS.
-
‘redirect-to-https` - CloudFront responds to HTTP requests with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then uses the new URL to resubmit.
-
‘https-only` - CloudFront responds to HTTP request with an HTTP status code of 403 (Forbidden).
4336 4337 4338 4339 4340 |
# File 'lib/aws-sdk-securityhub/types.rb', line 4336 class AwsCloudFrontDistributionDefaultCacheBehavior < Struct.new( :viewer_protocol_policy) SENSITIVE = [] include Aws::Structure end |