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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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_scheduleString

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

Returns:

  • (String)


822
823
824
825
826
827
828
829
# File 'lib/aws-sdk-timestreaminfluxdb/types.rb', line 822

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

#enabledBoolean

Specifies whether this backup configuration is enabled.

Returns:

  • (Boolean)


822
823
824
825
826
827
828
829
# File 'lib/aws-sdk-timestreaminfluxdb/types.rb', line 822

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

#retention_daysInteger

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

Returns:

  • (Integer)


822
823
824
825
826
827
828
829
# File 'lib/aws-sdk-timestreaminfluxdb/types.rb', line 822

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

#typeString

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

Returns:

  • (String)


822
823
824
825
826
827
828
829
# File 'lib/aws-sdk-timestreaminfluxdb/types.rb', line 822

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