Interface DockerImageAssetInvalidationOptions

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

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-08-02T00:29:10.062Z") @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

    • getBuildSecrets

      @Stability(Stable) @Nullable default Boolean getBuildSecrets()
      Use buildSecrets while calculating the asset hash.

      Default: true

    • getBuildSsh

      @Stability(Stable) @Nullable default Boolean getBuildSsh()
      Use buildSsh 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

    • getOutputs

      @Stability(Stable) @Nullable default Boolean getOutputs()
      Use outputs 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