Class: AWSCDK::Glue::CfnCrawler::MongoDBTargetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnCrawler::MongoDBTargetProperty
- Defined in:
- glue/cfn_crawler.rb
Overview
Specifies an Amazon DocumentDB or MongoDB data store to crawl.
Instance Attribute Summary collapse
-
#connection_name ⇒ String?
readonly
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
-
#path ⇒ String?
readonly
The path of the Amazon DocumentDB or MongoDB target (database/collection).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connection_name: nil, path: nil) ⇒ MongoDBTargetProperty
constructor
A new instance of MongoDBTargetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connection_name: nil, path: nil) ⇒ MongoDBTargetProperty
Returns a new instance of MongoDBTargetProperty.
1151 1152 1153 1154 1155 1156 |
# File 'glue/cfn_crawler.rb', line 1151 def initialize(connection_name: nil, path: nil) @connection_name = connection_name Jsii::Type.check_type(@connection_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectionName") unless @connection_name.nil? @path = path Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path") unless @path.nil? end |
Instance Attribute Details
#connection_name ⇒ String? (readonly)
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
1162 1163 1164 |
# File 'glue/cfn_crawler.rb', line 1162 def connection_name @connection_name end |
#path ⇒ String? (readonly)
The path of the Amazon DocumentDB or MongoDB target (database/collection).
1167 1168 1169 |
# File 'glue/cfn_crawler.rb', line 1167 def path @path end |
Class Method Details
.jsii_properties ⇒ Object
1169 1170 1171 1172 1173 1174 |
# File 'glue/cfn_crawler.rb', line 1169 def self.jsii_properties { :connection_name => "connectionName", :path => "path", } end |
Instance Method Details
#to_jsii ⇒ Object
1176 1177 1178 1179 1180 1181 1182 1183 |
# File 'glue/cfn_crawler.rb', line 1176 def to_jsii result = {} result.merge!({ "connectionName" => @connection_name, "path" => @path, }) result.compact end |