Show / Hide Table of Contents

Enum IgnoreMode

Determines the ignore behavior to use.

Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum IgnoreMode
Syntax (vb)
Public Enum IgnoreMode
Remarks

ExampleMetadata: infused

Examples
new Function(this, "Function", new FunctionProps {
                Code = Code.FromAsset(Join(__dirname, "my-python-handler"), new AssetOptions {
                    Exclude = new [] { "*.ignore" },
                    IgnoreMode = IgnoreMode.DOCKER
                }),
                Runtime = Runtime.PYTHON_3_9,
                Handler = "index.handler"
            });

Synopsis

Fields

DOCKER

Ignores file paths based on the .dockerignore specification.

GIT

Ignores file paths based on the .gitignore specification.

GLOB

Ignores file paths based on simple glob patterns.

Fields

Name Description
DOCKER

Ignores file paths based on the .dockerignore specification.

GIT

Ignores file paths based on the .gitignore specification.

GLOB

Ignores file paths based on simple glob patterns.

Back to top Generated by DocFX