aws-cdk-lib.IgnoreMode

enum IgnoreMode

LanguageType name
.NETAmazon.CDK.IgnoreMode
Gogithub.com/aws/aws-cdk-go/awscdk/v2#IgnoreMode
Javasoftware.amazon.awscdk.IgnoreMode
Pythonaws_cdk.IgnoreMode
TypeScript (source)aws-cdk-lib » IgnoreMode

Determines the ignore behavior to use.

Members

NameDescription
GLOBIgnores file paths based on simple glob patterns.
GITIgnores file paths based on the .gitignore specification.
DOCKERIgnores file paths based on the .dockerignore specification.

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.