Interface ICachePolicy

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

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-13T16:10:00.574Z") @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.interfaces.cloudfront.ICachePolicyRef

    getCachePolicyRef

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware

    getEnv

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getCachePolicyId

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