You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Glue::Types::MongoDBTarget
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glue::Types::MongoDBTarget
- Defined in:
- (unknown)
Overview
When passing MongoDBTarget as input to an Aws::Client method, you can use a vanilla Hash:
{
connection_name: "ConnectionName",
path: "Path",
scan_all: false,
}
Specifies an Amazon DocumentDB or MongoDB data store to crawl.
Instance Attribute Summary collapse
-
#connection_name ⇒ String
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
-
#path ⇒ String
The path of the Amazon DocumentDB or MongoDB target (database/collection).
-
#scan_all ⇒ Boolean
Indicates whether to scan all the records, or to sample rows from the table.
Instance Attribute Details
#connection_name ⇒ String
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
#path ⇒ String
The path of the Amazon DocumentDB or MongoDB target (database/collection).
#scan_all ⇒ Boolean
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the records. If no value is specified, the value
defaults to true
.