Interface CfnCrawler.RecrawlPolicyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCrawler.RecrawlPolicyProperty.Jsii$Proxy
Enclosing class:
CfnCrawler

@Stability(Stable) public static interface CfnCrawler.RecrawlPolicyProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.glue.*;
 RecrawlPolicyProperty recrawlPolicyProperty = RecrawlPolicyProperty.builder()
         .recrawlBehavior("recrawlBehavior")
         .build();
 
  • Method Details

    • getRecrawlBehavior

      @Stability(Stable) @Nullable default String getRecrawlBehavior()
      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.

      A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.

    • builder

      @Stability(Stable) static CfnCrawler.RecrawlPolicyProperty.Builder builder()
      Returns:
      a CfnCrawler.RecrawlPolicyProperty.Builder of CfnCrawler.RecrawlPolicyProperty