Interface ICachePolicy.Jsii$Default

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

@Internal public static interface ICachePolicy.Jsii$Default extends ICachePolicy, ICachePolicyRef.Jsii$Default
Internal default implementation for ICachePolicy.
  • Method Details

    • getNode

      @Stability(Stable) @NotNull default software.constructs.Node getNode()
      The tree node.
      Specified by:
      getNode in interface ICachePolicyRef.Jsii$Default
      Specified by:
      getNode in interface software.constructs.IConstruct
      Specified by:
      getNode in interface software.constructs.IConstruct.Jsii$Default
    • getEnv

      @Stability(Stable) @NotNull default ResourceEnvironment getEnv()
      The environment this resource belongs to.

      For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.

      For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.

      Specified by:
      getEnv in interface ICachePolicyRef.Jsii$Default
      Specified by:
      getEnv in interface IEnvironmentAware
      Specified by:
      getEnv in interface IEnvironmentAware.Jsii$Default
    • getCachePolicyRef

      @Stability(Experimental) @NotNull default CachePolicyReference getCachePolicyRef()
      (experimental) A reference to a CachePolicy resource.
      Specified by:
      getCachePolicyRef in interface ICachePolicyRef
      Specified by:
      getCachePolicyRef in interface ICachePolicyRef.Jsii$Default
    • getCachePolicyId

      @Stability(Stable) @NotNull default String getCachePolicyId()
      The ID of the cache policy.
      Specified by:
      getCachePolicyId in interface ICachePolicy