Class CachePolicyArgs


  • public final class CachePolicyArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • comment

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> comment()
        Returns:
        A comment to describe the cache policy.
      • defaultTtl

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> defaultTtl()
        Returns:
        The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
      • maxTtl

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxTtl()
        Returns:
        The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
      • minTtl

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> minTtl()
        Returns:
        The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        A unique name to identify the cache policy.
      • parametersInCacheKeyAndForwardedToOrigin

        public com.pulumi.core.Output<CachePolicyParametersInCacheKeyAndForwardedToOriginArgs> parametersInCacheKeyAndForwardedToOrigin()
        Returns:
        The HTTP headers, cookies, and URL query strings to include in the cache key. See Parameters In Cache Key And Forwarded To Origin for more information.