Interface ICachePolicy

All Superinterfaces:
ICachePolicyRef, software.constructs.IConstruct, software.constructs.IDependable, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
ICachePolicy.Jsii$Default
All Known Implementing Classes:
CachePolicy, ICachePolicy.Jsii$Proxy

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-09-15T14:51:53.543Z") @Stability(Stable) public interface ICachePolicy extends software.amazon.jsii.JsiiSerializable, ICachePolicyRef
Represents a Cache Policy.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for ICachePolicy.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The ID of the cache policy.

    Methods inherited from interface software.amazon.awscdk.services.cloudfront.ICachePolicyRef

    getCachePolicyRef

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getCachePolicyId

      @Stability(Stable) @NotNull String getCachePolicyId()
      The ID of the cache policy.