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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#connection_nameString

The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.

Returns:

  • (String)

    The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.

#pathString

The path of the Amazon DocumentDB or MongoDB target (database/collection).

Returns:

  • (String)

    The path of the Amazon DocumentDB or MongoDB target (database/collection).

#scan_allBoolean

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.

Returns:

  • (Boolean)

    Indicates whether to scan all the records, or to sample rows from the table.