IgnoreMode

class aws_cdk.core.IgnoreMode(value)

Bases: enum.Enum

Determines the ignore behavior to use.

Attributes

DOCKER

Ignores file paths based on the `.dockerignore specification <https://docs.docker.com/engine/reference/builder/#dockerignore-file>`_.

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

GIT

Ignores file paths based on the `.gitignore specification <https://git-scm.com/docs/gitignore>`_.

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.