Class: Aws::Glue::Types::MongoDBTarget

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

When making an API call, you may pass MongoDBTarget data as a hash:

{
  connection_name: "ConnectionName",
  path: "Path",
  scan_all: false,
}

Specifies an Amazon DocumentDB or MongoDB data store to crawl.

Constant Summary collapse

SENSITIVE =
[]

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)


12320
12321
12322
12323
12324
12325
12326
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 12320

class MongoDBTarget < Struct.new(
  :connection_name,
  :path,
  :scan_all)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

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

Returns:

  • (String)


12320
12321
12322
12323
12324
12325
12326
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 12320

class MongoDBTarget < Struct.new(
  :connection_name,
  :path,
  :scan_all)
  SENSITIVE = []
  include Aws::Structure
end

#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)


12320
12321
12322
12323
12324
12325
12326
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 12320

class MongoDBTarget < Struct.new(
  :connection_name,
  :path,
  :scan_all)
  SENSITIVE = []
  include Aws::Structure
end