@Generated(value="jsii-pacmak/1.34.0 (build 9b72778)", date="2021-09-21T20:05:10.936Z") @Stability(value=Stable) public enum IgnoreMode extends 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(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.
|
@Stability(value=Stable) 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.
@Stability(value=Stable) public static final IgnoreMode GIT
@Stability(value=Stable) 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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.