Class: AWSCDK::Glue::CfnCrawler::RecrawlPolicyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnCrawler::RecrawlPolicyProperty
- Defined in:
- glue/cfn_crawler.rb
Overview
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.
Instance Attribute Summary collapse
-
#recrawl_behavior ⇒ String?
readonly
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(recrawl_behavior: nil) ⇒ RecrawlPolicyProperty
constructor
A new instance of RecrawlPolicyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(recrawl_behavior: nil) ⇒ RecrawlPolicyProperty
Returns a new instance of RecrawlPolicyProperty.
1195 1196 1197 1198 |
# File 'glue/cfn_crawler.rb', line 1195 def initialize(recrawl_behavior: nil) @recrawl_behavior = recrawl_behavior Jsii::Type.check_type(@recrawl_behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "recrawlBehavior") unless @recrawl_behavior.nil? end |
Instance Attribute Details
#recrawl_behavior ⇒ String? (readonly)
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.
1210 1211 1212 |
# File 'glue/cfn_crawler.rb', line 1210 def recrawl_behavior @recrawl_behavior end |
Class Method Details
.jsii_properties ⇒ Object
1212 1213 1214 1215 1216 |
# File 'glue/cfn_crawler.rb', line 1212 def self.jsii_properties { :recrawl_behavior => "recrawlBehavior", } end |
Instance Method Details
#to_jsii ⇒ Object
1218 1219 1220 1221 1222 1223 1224 |
# File 'glue/cfn_crawler.rb', line 1218 def to_jsii result = {} result.merge!({ "recrawlBehavior" => @recrawl_behavior, }) result.compact end |