Enum IgnoreMode

java.lang.Object
java.lang.Enum<IgnoreMode>
software.amazon.awscdk.core.IgnoreMode
All Implemented Interfaces:
Serializable, Comparable<IgnoreMode>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.080Z") @Stability(Stable) public enum IgnoreMode extends Enum<IgnoreMode>
Determines the ignore behavior to use.
  • Enum Constant Details

    • GLOB

      @Stability(Stable) public static final IgnoreMode GLOB
      Ignores file paths based on simple glob patterns.

      This is the default for file assets.

      It is also the default for Docker image assets, unless the '@aws-cdk/aws-ecr-assets:dockerIgnoreSupport' context flag is set.

    • GIT

      @Stability(Stable) public static final IgnoreMode GIT
      Ignores file paths based on the .gitignore specification.
    • DOCKER

      @Stability(Stable) public static final IgnoreMode DOCKER
      Ignores file paths based on the .dockerignore specification.

      This is the default for Docker image assets if the '@aws-cdk/aws-ecr-assets:dockerIgnoreSupport' context flag is set.

  • Method Details

    • values

      public static IgnoreMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static IgnoreMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null