Interface DockerImageAssetInvalidationOptions

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:37.984Z") @Stability(Stable) public interface DockerImageAssetInvalidationOptions extends software.amazon.jsii.JsiiSerializable
Options to control invalidation of DockerImageAsset asset hashes.

Example:

 import software.amazon.awscdk.services.ecr.assets.DockerImageAsset;
 DockerImageAsset asset = DockerImageAsset.Builder.create(this, "MyBuildImage")
         .directory(join(__dirname, "my-image"))
         .buildArgs(Map.of(
                 "HTTP_PROXY", "http://10.20.30.2:1234"))
         .invalidation(DockerImageAssetInvalidationOptions.builder()
                 .buildArgs(false)
                 .build())
         .build();
 
  • Method Details

    • getBuildArgs

      @Stability(Stable) @Nullable default Boolean getBuildArgs()
      Use buildArgs while calculating the asset hash.

      Default: true

    • getExtraHash

      @Stability(Stable) @Nullable default Boolean getExtraHash()
      Use extraHash while calculating the asset hash.

      Default: true

    • getFile

      @Stability(Stable) @Nullable default Boolean getFile()
      Use file while calculating the asset hash.

      Default: true

    • getNetworkMode

      @Stability(Stable) @Nullable default Boolean getNetworkMode()
      Use networkMode while calculating the asset hash.

      Default: true

    • getPlatform

      @Stability(Stable) @Nullable default Boolean getPlatform()
      Use platform while calculating the asset hash.

      Default: true

    • getRepositoryName

      @Stability(Stable) @Nullable default Boolean getRepositoryName()
      Use repositoryName while calculating the asset hash.

      Default: true

    • getTarget

      @Stability(Stable) @Nullable default Boolean getTarget()
      Use target while calculating the asset hash.

      Default: true

    • builder

      @Stability(Stable) static DockerImageAssetInvalidationOptions.Builder builder()
      Returns:
      a DockerImageAssetInvalidationOptions.Builder of DockerImageAssetInvalidationOptions