You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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",
}

Instance Attribute Summary collapse

Instance Attribute Details

#backup_retention_countInteger

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

Returns:

  • (Integer)


1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1232

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

#disable_automated_backupBoolean

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

Returns:

  • (Boolean)


1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1232

class UpdateServerRequest < Struct.new(
  :disable_automated_backup,
  :backup_retention_count,
  :server_name,
  :preferred_maintenance_window,
  :preferred_backup_window)
  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)


1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1232

class UpdateServerRequest < Struct.new(
  :disable_automated_backup,
  :backup_retention_count,
  :server_name,
  :preferred_maintenance_window,
  :preferred_backup_window)
  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)


1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1232

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

#server_nameString

The name of the server to update.

Returns:

  • (String)


1232
1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1232

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