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:
- 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.
-
builder
public static CachePolicyArgs.Builder builder()
-
builder
public static CachePolicyArgs.Builder builder(CachePolicyArgs defaults)
-
-