CachedMethods

class aws_cdk.aws_cloudfront.CachedMethods(*args: Any, **kwargs)

Bases: object

The HTTP methods that the Behavior will cache requests on.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

cached_methods = cloudfront.CachedMethods.CACHE_GET_HEAD

Attributes

CACHE_GET_HEAD = <aws_cdk.aws_cloudfront.CachedMethods object>
CACHE_GET_HEAD_OPTIONS = <aws_cdk.aws_cloudfront.CachedMethods object>
methods

HTTP methods supported.