Package software.amazon.awscdk.core
Enum 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIgnores file paths based on the.dockerignore specification
.Ignores file paths based on the.gitignore specification
.Ignores file paths based on simple glob patterns. -
Method Summary
Modifier and TypeMethodDescriptionstatic IgnoreMode
Returns the enum constant of this type with the specified name.static IgnoreMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
Ignores file paths based on the.gitignore specification
. -
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
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
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 nameNullPointerException
- if the argument is null
-