inclusionPatterns

A list of glob patterns (patterns that can expand a wildcard pattern into a list of path names that match the given pattern) for certain file names and file types to include in your index. If a document matches both an inclusion and exclusion prefix or pattern, the exclusion prefix takes precendence and the document is not indexed. Examples of glob patterns include:

  • */myapp/config/**—All files inside config directory.

  • */.png—All .png files in all directories.

  • */.{png, ico, md}—All .png, .ico or .md files in all directories.

  • /myapp/src/**/.ts*—All .ts files inside src directory (and all its subdirectories).

  • */!(.module).ts—All .ts files but not .module.ts

  • **.png , .jpg—All PNG and JPEG image files in a directory (files with the extensions .png and .jpg).

  • internal—All files in a directory that contain 'internal' in the file name, such as 'internal', 'internal_only', 'company_internal'.

  • **/internal—All internal-related files in a directory and its subdirectories.

For more examples, see Use of Exclude and Include Filters in the Amazon Web Services CLI Command Reference.