aws-cdk-lib.aws_glue.CfnCrawler.RecrawlPolicyProperty

interface RecrawlPolicyProperty

LanguageType name
.NETAmazon.CDK.AWS.Glue.CfnCrawler.RecrawlPolicyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnCrawler_RecrawlPolicyProperty
Javasoftware.amazon.awscdk.services.glue.CfnCrawler.RecrawlPolicyProperty
Pythonaws_cdk.aws_glue.CfnCrawler.RecrawlPolicyProperty
TypeScript aws-cdk-lib » aws_glue » CfnCrawler » RecrawlPolicyProperty

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 { aws_glue as glue } from 'aws-cdk-lib';
const recrawlPolicyProperty: glue.CfnCrawler.RecrawlPolicyProperty = {
  recrawlBehavior: 'recrawlBehavior',
};

Properties

NameTypeDescription
recrawlBehavior?stringSpecifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

recrawlBehavior?

Type: string (optional)

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.