Interface CacheKeyFiles

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    CacheKeyFiles.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.96.0 (build 921e240)",
               date="2024-03-28T21:16:43.116Z")
    @Stability(Experimental)
    public interface CacheKeyFiles
    extends software.amazon.jsii.JsiiSerializable
    (experimental) Use this construct to generate a new key when one or two specific files change.

    See Also:
    https://docs.gitlab.com/ee/ci/yaml/#cachekeyfiles
    • Method Detail

      • getFiles

        @Stability(Experimental)
        @NotNull
        List<String> getFiles()
        (experimental) The files that are checked against.

        If the SHA checksum changes, the cache becomes invalid.

      • getPrefix

        @Stability(Experimental)
        @Nullable
        default String getPrefix()
        (experimental) Adds a custom prefix to the checksums computed.