CachePolicy
CachePolicy is the Schema for the CachePolicies API
TypeMR
Providerprovider-aws
Groupcloudfront.aws.crossplane.io
Scopecluster
Versionv1alpha1

1apiVersion: cloudfront.aws.crossplane.io/v1alpha1

2kind: CachePolicy

apiVersion
string
kind
string
metadata
object
spec
object

CachePolicySpec defines the desired state of CachePolicy

deletionPolicy
string
forProvider
required
object

CachePolicyParameters defines the desired state of CachePolicy

cachePolicyConfig
required
object

A cache policy configuration.

comment
string
defaultTTL
integer
maxTTL
integer
minTTL
integer
name
string
parametersInCacheKeyAndForwardedToOrigin
object

This object determines the values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find an object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

cookiesConfig
object

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

cookieBehavior
string
cookies
object

Contains a list of cookie names.

items
array

(No description available)

quantity
integer
enableAcceptEncodingBrotli
boolean
enableAcceptEncodingGzip
boolean
headersConfig
object

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

headerBehavior
string
headers
object

Contains a list of HTTP header names.

items
array

(No description available)

queryStringsConfig
object

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

queryStringBehavior
string
queryStrings
object

Contains a list of query string names.

items
array

(No description available)

quantity
integer
region
required
string
providerConfigRef
object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
required
string
policy
object

Policies for referencing.

resolution
string
resolve
string
providerRef
object

ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef

name
required
string
policy
object

Policies for referencing.

resolution
string
resolve
string
publishConnectionDetailsTo
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
required
string
policy
object

Policies for referencing.

resolution
string
resolve
string
metadata
object

Metadata is the metadata for connection secret.

annotations
object
labels
object
type
string
name
required
string
writeConnectionSecretToRef
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
required
string
namespace
required
string
status
object

CachePolicyStatus defines the observed state of CachePolicy.

atProvider
object

CachePolicyObservation defines the observed state of CachePolicy

cachePolicy
object

A cache policy.

cachePolicyConfig
object

A cache policy configuration. This configuration determines the following:

  • The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
  • The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache. The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find a valid object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.
comment
string
defaultTTL
integer
maxTTL
integer
minTTL
integer
name
string
parametersInCacheKeyAndForwardedToOrigin
object

This object determines the values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find an object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

cookiesConfig
object

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

cookieBehavior
string
cookies
object

Contains a list of cookie names.

items
array

(No description available)

quantity
integer
enableAcceptEncodingBrotli
boolean
enableAcceptEncodingGzip
boolean
headersConfig
object

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

headerBehavior
string
headers
object

Contains a list of HTTP header names.

items
array

(No description available)

queryStringsConfig
object

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

queryStringBehavior
string
queryStrings
object

Contains a list of query string names.

items
array

(No description available)

quantity
integer
id
string
lastModifiedTime
string
eTag
string
location
string
conditions
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string
Discover the building blocks for your internal cloud platform.
© 2026 Upbound, Inc.
Solutions
Learn
Company
Community
More