Interface CfnCachePolicyMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCachePolicyMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.002Z")
@Stability(Stable)
public interface CfnCachePolicyMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnCachePolicyPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.cloudfront.*;
CfnCachePolicyMixinProps cfnCachePolicyMixinProps = CfnCachePolicyMixinProps.builder()
.cachePolicyConfig(CachePolicyConfigProperty.builder()
.comment("comment")
.defaultTtl(123)
.maxTtl(123)
.minTtl(123)
.name("name")
.parametersInCacheKeyAndForwardedToOrigin(ParametersInCacheKeyAndForwardedToOriginProperty.builder()
.cookiesConfig(CookiesConfigProperty.builder()
.cookieBehavior("cookieBehavior")
.cookies(List.of("cookies"))
.build())
.enableAcceptEncodingBrotli(false)
.enableAcceptEncodingGzip(false)
.headersConfig(HeadersConfigProperty.builder()
.headerBehavior("headerBehavior")
.headers(List.of("headers"))
.build())
.queryStringsConfig(QueryStringsConfigProperty.builder()
.queryStringBehavior("queryStringBehavior")
.queryStrings(List.of("queryStrings"))
.build())
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCachePolicyMixinPropsstatic final classAn implementation forCfnCachePolicyMixinProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCachePolicyConfig
The cache policy configuration.Returns union: either
IResolvableorCfnCachePolicyPropsMixin.CachePolicyConfigProperty- See Also:
-
builder
- Returns:
- a
CfnCachePolicyMixinProps.BuilderofCfnCachePolicyMixinProps
-