Package com.pulumi.aws.cloudfront
Class CachePolicyArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.cloudfront.CachePolicyArgs
-
public final class CachePolicyArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CachePolicyArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static CachePolicyArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CachePolicyArgs.Builder
builder()
static CachePolicyArgs.Builder
builder(CachePolicyArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
comment()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
defaultTtl()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxTtl()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
minTtl()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
com.pulumi.core.Output<CachePolicyParametersInCacheKeyAndForwardedToOriginArgs>
parametersInCacheKeyAndForwardedToOrigin()
-
-
-
Field Detail
-
Empty
public static final CachePolicyArgs Empty
-
-
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.
-
builder
public static CachePolicyArgs.Builder builder()
-
builder
public static CachePolicyArgs.Builder builder(CachePolicyArgs defaults)
-
-