Class: Aws::DatabaseMigrationService::Types::TimestreamSettings

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-databasemigrationservice/types.rb

Overview

Provides information that defines an Amazon Timestream endpoint.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cdc_inserts_and_updatesBoolean

Set this attribute to ‘true` to specify that DMS only applies inserts and updates, and not deletes. Amazon Timestream does not allow deleting records, so if this value is `false`, DMS nulls out the corresponding record in the Timestream database rather than deleting it.

Returns:

  • (Boolean)


13967
13968
13969
13970
13971
13972
13973
13974
13975
# File 'lib/aws-sdk-databasemigrationservice/types.rb', line 13967

class TimestreamSettings < Struct.new(
  :database_name,
  :memory_duration,
  :magnetic_duration,
  :cdc_inserts_and_updates,
  :enable_magnetic_store_writes)
  SENSITIVE = []
  include Aws::Structure
end

#database_nameString

Database name for the endpoint.

Returns:

  • (String)


13967
13968
13969
13970
13971
13972
13973
13974
13975
# File 'lib/aws-sdk-databasemigrationservice/types.rb', line 13967

class TimestreamSettings < Struct.new(
  :database_name,
  :memory_duration,
  :magnetic_duration,
  :cdc_inserts_and_updates,
  :enable_magnetic_store_writes)
  SENSITIVE = []
  include Aws::Structure
end

#enable_magnetic_store_writesBoolean

Set this attribute to ‘true` to enable memory store writes. When this value is `false`, DMS does not write records that are older in days than the value specified in `MagneticDuration`, because Amazon Timestream does not allow memory writes by default. For more information, see [Storage] in the [Amazon Timestream Developer Guide].

[1]: docs.aws.amazon.com/timestream/latest/developerguide/storage.html [2]: docs.aws.amazon.com/timestream/latest/developerguide/

Returns:

  • (Boolean)


13967
13968
13969
13970
13971
13972
13973
13974
13975
# File 'lib/aws-sdk-databasemigrationservice/types.rb', line 13967

class TimestreamSettings < Struct.new(
  :database_name,
  :memory_duration,
  :magnetic_duration,
  :cdc_inserts_and_updates,
  :enable_magnetic_store_writes)
  SENSITIVE = []
  include Aws::Structure
end

#magnetic_durationInteger

Set this attribute to specify the default magnetic duration applied to the Amazon Timestream tables in days. This is the number of days that records remain in magnetic store before being discarded. For more information, see [Storage] in the [Amazon Timestream Developer Guide].

[1]: docs.aws.amazon.com/timestream/latest/developerguide/storage.html [2]: docs.aws.amazon.com/timestream/latest/developerguide/

Returns:

  • (Integer)


13967
13968
13969
13970
13971
13972
13973
13974
13975
# File 'lib/aws-sdk-databasemigrationservice/types.rb', line 13967

class TimestreamSettings < Struct.new(
  :database_name,
  :memory_duration,
  :magnetic_duration,
  :cdc_inserts_and_updates,
  :enable_magnetic_store_writes)
  SENSITIVE = []
  include Aws::Structure
end

#memory_durationInteger

Set this attribute to specify the length of time to store all of the tables in memory that are migrated into Amazon Timestream from the source database. Time is measured in units of hours. When Timestream data comes in, it first resides in memory for the specified duration, which allows quick access to it.

Returns:

  • (Integer)


13967
13968
13969
13970
13971
13972
13973
13974
13975
# File 'lib/aws-sdk-databasemigrationservice/types.rb', line 13967

class TimestreamSettings < Struct.new(
  :database_name,
  :memory_duration,
  :magnetic_duration,
  :cdc_inserts_and_updates,
  :enable_magnetic_store_writes)
  SENSITIVE = []
  include Aws::Structure
end