Class: Aws::OpsWorksCM::Types::UpdateServerRequest

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

Overview

Note:

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

{
  disable_automated_backup: false,
  backup_retention_count: 1,
  server_name: "ServerName", # required
  preferred_maintenance_window: "TimeWindowDefinition",
  preferred_backup_window: "TimeWindowDefinition",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#backup_retention_countInteger

Sets the number of automated backups that you want to keep.

Returns:

  • (Integer)


1759
1760
1761
1762
1763
1764
1765
1766
1767
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1759

class UpdateServerRequest < Struct.new(
  :disable_automated_backup,
  :backup_retention_count,
  :server_name,
  :preferred_maintenance_window,
  :preferred_backup_window)
  SENSITIVE = []
  include Aws::Structure
end

#disable_automated_backupBoolean

Setting DisableAutomatedBackup to true disables automated or scheduled backups. Automated backups are enabled by default.

Returns:

  • (Boolean)


1759
1760
1761
1762
1763
1764
1765
1766
1767
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1759

class UpdateServerRequest < Struct.new(
  :disable_automated_backup,
  :backup_retention_count,
  :server_name,
  :preferred_maintenance_window,
  :preferred_backup_window)
  SENSITIVE = []
  include Aws::Structure
end

#preferred_backup_windowString

DDD:HH:MM (weekly start time) or HH:MM (daily start time).

Time windows always use coordinated universal time (UTC). Valid strings for day of week (DDD) are: Mon, Tue, Wed, Thr, Fri, Sat, or Sun.

Returns:

  • (String)


1759
1760
1761
1762
1763
1764
1765
1766
1767
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1759

class UpdateServerRequest < Struct.new(
  :disable_automated_backup,
  :backup_retention_count,
  :server_name,
  :preferred_maintenance_window,
  :preferred_backup_window)
  SENSITIVE = []
  include Aws::Structure
end

#preferred_maintenance_windowString

DDD:HH:MM (weekly start time) or HH:MM (daily start time).

Time windows always use coordinated universal time (UTC). Valid strings for day of week (DDD) are: Mon, Tue, Wed, Thr, Fri, Sat, or Sun.

Returns:

  • (String)


1759
1760
1761
1762
1763
1764
1765
1766
1767
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1759

class UpdateServerRequest < Struct.new(
  :disable_automated_backup,
  :backup_retention_count,
  :server_name,
  :preferred_maintenance_window,
  :preferred_backup_window)
  SENSITIVE = []
  include Aws::Structure
end

#server_nameString

The name of the server to update.

Returns:

  • (String)


1759
1760
1761
1762
1763
1764
1765
1766
1767
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1759

class UpdateServerRequest < Struct.new(
  :disable_automated_backup,
  :backup_retention_count,
  :server_name,
  :preferred_maintenance_window,
  :preferred_backup_window)
  SENSITIVE = []
  include Aws::Structure
end