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

Class: Aws::SSM::Types::UpdateMaintenanceWindowRequest

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

Overview

Note:

When passing UpdateMaintenanceWindowRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  window_id: "MaintenanceWindowId", # required
  name: "MaintenanceWindowName",
  description: "MaintenanceWindowDescription",
  schedule: "MaintenanceWindowSchedule",
  duration: 1,
  cutoff: 1,
  allow_unassociated_targets: false,
  enabled: false,
  replace: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#allow_unassociated_targetsBoolean

Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.

Returns:

  • (Boolean)

    Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.

#cutoffInteger

The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.

Returns:

  • (Integer)

    The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.

#descriptionString

An optional description for the update request.

Returns:

  • (String)

    An optional description for the update request.

#durationInteger

The duration of the Maintenance Window in hours.

Returns:

  • (Integer)

    The duration of the Maintenance Window in hours.

#enabledBoolean

Whether the Maintenance Window is enabled.

Returns:

  • (Boolean)

    Whether the Maintenance Window is enabled.

#nameString

The name of the Maintenance Window.

Returns:

  • (String)

    The name of the Maintenance Window.

#replaceBoolean

If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.

Returns:

  • (Boolean)

    If True, then all fields that are required by the CreateMaintenanceWindow action are also required for this API request.

#scheduleString

The schedule of the Maintenance Window in the form of a cron or rate expression.

Returns:

  • (String)

    The schedule of the Maintenance Window in the form of a cron or rate expression.

#window_idString

The ID of the Maintenance Window to update.

Returns:

  • (String)

    The ID of the Maintenance Window to update.