Class: Aws::Glue::Types::DynamoDBTarget

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 DynamoDBTarget data as a hash:

{
  path: "Path",
  scan_all: false,
  scan_rate: 1.0,
}

Specifies an Amazon DynamoDB table to crawl.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#pathString

The name of the DynamoDB table to crawl.

Returns:

  • (String)


6526
6527
6528
6529
6530
6531
6532
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 6526

class DynamoDBTarget < Struct.new(
  :path,
  :scan_all,
  :scan_rate)
  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)


6526
6527
6528
6529
6530
6531
6532
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 6526

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

#scan_rateFloat

The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.

The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).

Returns:

  • (Float)


6526
6527
6528
6529
6530
6531
6532
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 6526

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