GetCachePolicyResult

data class GetCachePolicyResult(val arn: String, val comment: String, val defaultTtl: Int, val etag: String, val id: String? = null, val maxTtl: Int, val minTtl: Int, val name: String? = null, val parametersInCacheKeyAndForwardedToOrigins: List<GetCachePolicyParametersInCacheKeyAndForwardedToOrigin>)

A collection of values returned by getCachePolicy.

Constructors

Link copied to clipboard
constructor(arn: String, comment: String, defaultTtl: Int, etag: String, id: String? = null, maxTtl: Int, minTtl: Int, name: String? = null, parametersInCacheKeyAndForwardedToOrigins: List<GetCachePolicyParametersInCacheKeyAndForwardedToOrigin>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String

The cache policy ARN.

Link copied to clipboard

Comment to describe the cache policy.

Link copied to clipboard

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.

Link copied to clipboard

Current version of the cache policy.

Link copied to clipboard
val id: String? = null
Link copied to clipboard
val maxTtl: Int

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.

Link copied to clipboard
val minTtl: Int

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.

Link copied to clipboard
val name: String? = null

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.