Class: Aws::TimestreamInfluxDB::Types::DbBackupConfiguration

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

Overview

Specifies the configuration for an automated backup schedule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#custom_schedule ⇒ String

A custom cron schedule expression for the backup. Required when type is CUSTOM_SCHEDULE.

Returns:

  • (String)


847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/types.rb', line 847

class DbBackupConfiguration < Struct.new(
  :type,
  :retention_days,
  :enabled,
  :custom_schedule)
  SENSITIVE = []
  include Aws::Structure
end

#enabled ⇒ Boolean

Specifies whether this backup configuration is enabled.

Returns:

  • (Boolean)


847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/types.rb', line 847

class DbBackupConfiguration < Struct.new(
  :type,
  :retention_days,
  :enabled,
  :custom_schedule)
  SENSITIVE = []
  include Aws::Structure
end

#retention_days ⇒ Integer

The number of days to retain automated backups. Valid values are 1 to 365.

Returns:

  • (Integer)


847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/types.rb', line 847

class DbBackupConfiguration < Struct.new(
  :type,
  :retention_days,
  :enabled,
  :custom_schedule)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.

Returns:

  • (String)


847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/types.rb', line 847

class DbBackupConfiguration < Struct.new(
  :type,
  :retention_days,
  :enabled,
  :custom_schedule)
  SENSITIVE = []
  include Aws::Structure
end