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:
        Description for the cache policy.
      • defaultTtl

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> defaultTtl()
        Returns:
        Amount of time, in seconds, that objects are allowed to remain in the CloudFront cache before CloudFront sends a new request to the origin server to check if the object has been updated.
      • maxTtl

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxTtl()
        Returns:
        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:
        Minimum amount of time, in seconds, that objects should remain in the CloudFront cache before a new request is sent to the origin to check for updates.
      • name

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

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