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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateServerRequest as input to an Aws::Client method, you can use a vanilla 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)

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

#disable_automated_backupBoolean

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

Returns:

  • (Boolean)

    Setting DisableAutomatedBackup to true disables automated or scheduled backups.

#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)

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

#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)

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

#server_nameString

The name of the server to update.

Returns:

  • (String)

    The name of the server to update.