You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::RecrawlPolicy

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RecrawlPolicy as input to an Aws::Client method, you can use a vanilla Hash:

{
  recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
}

When crawling an Amazon S3 data source after the first crawl is complete, specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run. For more information, see Incremental Crawls in AWS Glue in the developer guide.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#recrawl_behaviorString

Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

Possible values:

  • CRAWL_EVERYTHING
  • CRAWL_NEW_FOLDERS_ONLY

Returns:

  • (String)

    Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.