Class: AWSCDK::Glue::CfnCrawler::IcebergTargetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnCrawler::IcebergTargetProperty
- Defined in:
- glue/cfn_crawler.rb
Overview
Specifies Apache Iceberg data store targets.
Instance Attribute Summary collapse
-
#connection_name ⇒ String?
readonly
The name of the connection to use to connect to the Iceberg target.
-
#exclusions ⇒ Array<String>?
readonly
A list of global patterns used to exclude from the crawl.
-
#maximum_traversal_depth ⇒ Numeric?
readonly
The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Iceberg metadata folder in your Amazon S3 path.
-
#paths ⇒ Array<String>?
readonly
One or more Amazon S3 paths that contains Iceberg metadata folders as s3://bucket/prefix .
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connection_name: nil, exclusions: nil, maximum_traversal_depth: nil, paths: nil) ⇒ IcebergTargetProperty
constructor
A new instance of IcebergTargetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connection_name: nil, exclusions: nil, maximum_traversal_depth: nil, paths: nil) ⇒ IcebergTargetProperty
Returns a new instance of IcebergTargetProperty.
974 975 976 977 978 979 980 981 982 983 |
# File 'glue/cfn_crawler.rb', line 974 def initialize(connection_name: nil, exclusions: nil, maximum_traversal_depth: nil, paths: nil) @connection_name = connection_name Jsii::Type.check_type(@connection_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectionName") unless @connection_name.nil? @exclusions = exclusions Jsii::Type.check_type(@exclusions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "exclusions") unless @exclusions.nil? @maximum_traversal_depth = maximum_traversal_depth Jsii::Type.check_type(@maximum_traversal_depth, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maximumTraversalDepth") unless @maximum_traversal_depth.nil? @paths = paths Jsii::Type.check_type(@paths, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "paths") unless @paths.nil? end |
Instance Attribute Details
#connection_name ⇒ String? (readonly)
The name of the connection to use to connect to the Iceberg target.
989 990 991 |
# File 'glue/cfn_crawler.rb', line 989 def connection_name @connection_name end |
#exclusions ⇒ Array<String>? (readonly)
A list of global patterns used to exclude from the crawl.
994 995 996 |
# File 'glue/cfn_crawler.rb', line 994 def exclusions @exclusions end |
#maximum_traversal_depth ⇒ Numeric? (readonly)
The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Iceberg metadata folder in your Amazon S3 path.
Used to limit the crawler run time.
1001 1002 1003 |
# File 'glue/cfn_crawler.rb', line 1001 def maximum_traversal_depth @maximum_traversal_depth end |
#paths ⇒ Array<String>? (readonly)
One or more Amazon S3 paths that contains Iceberg metadata folders as s3://bucket/prefix .
1006 1007 1008 |
# File 'glue/cfn_crawler.rb', line 1006 def paths @paths end |
Class Method Details
.jsii_properties ⇒ Object
1008 1009 1010 1011 1012 1013 1014 1015 |
# File 'glue/cfn_crawler.rb', line 1008 def self.jsii_properties { :connection_name => "connectionName", :exclusions => "exclusions", :maximum_traversal_depth => "maximumTraversalDepth", :paths => "paths", } end |
Instance Method Details
#to_jsii ⇒ Object
1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 |
# File 'glue/cfn_crawler.rb', line 1017 def to_jsii result = {} result.merge!({ "connectionName" => @connection_name, "exclusions" => @exclusions, "maximumTraversalDepth" => @maximum_traversal_depth, "paths" => @paths, }) result.compact end |