@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:45.182Z") public enum IgnoreMode extends java.lang.Enum<IgnoreMode>
Enum Constant and Description |
---|
DOCKER
Ignores file paths based on the [`.dockerignore specification`](https://docs.docker.com/engine/reference/builder/#dockerignore-file).
|
GIT
Ignores file paths based on the [`.gitignore specification`](https://git-scm.com/docs/gitignore).
|
GLOB
Ignores file paths based on simple glob patterns.
|
Modifier and Type | Method and Description |
---|---|
static IgnoreMode |
valueOf(java.lang.String name)
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.
|
public static final IgnoreMode GLOB
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.
public static final IgnoreMode GIT
public static final IgnoreMode DOCKER
This is the default for Docker image assets if the '@aws-cdk/aws-ecr-assets:dockerIgnoreSupport' context flag is set.
public static IgnoreMode[] values()
for (IgnoreMode c : IgnoreMode.values()) System.out.println(c);
public static IgnoreMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null