class Aws::SecurityHub::Types::AwsCloudFrontDistributionCacheBehavior
Information about a cache behavior for the distribution.
@note When making an API call, you may pass AwsCloudFrontDistributionCacheBehavior
data as a hash: { viewer_protocol_policy: "NonEmptyString", }
@!attribute [rw] viewer_protocol_policy
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). @return [String]
@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsCloudFrontDistributionCacheBehavior AWS API Documentation
Constants
- SENSITIVE