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

Class: Aws::SSM::Types::CreateMaintenanceWindowRequest

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

Overview

Note:

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

{
  name: "MaintenanceWindowName", # required
  description: "MaintenanceWindowDescription",
  schedule: "MaintenanceWindowSchedule", # required
  duration: 1, # required
  cutoff: 1, # required
  allow_unassociated_targets: false, # required
  client_token: "ClientToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#allow_unassociated_targetsBoolean

Enables a Maintenance Window task to execute on managed instances, even if you have not registered those instances as targets. If enabled, then you must specify the unregistered instances (by instance ID) when you register a task with the Maintenance Window

If you don\'t enable this option, then you must specify previously-registered targets when you register a task with the Maintenance Window.

Returns:

  • (Boolean)

    Enables a Maintenance Window task to execute on managed instances, even if you have not registered those instances as targets.

#client_tokenString

User-provided idempotency token.

Returns:

  • (String)

    User-provided idempotency token.

#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 Maintenance Window. We recommend specifying a description to help you organize your Maintenance Windows.

Returns:

  • (String)

    An optional description for the Maintenance Window.

#durationInteger

The duration of the Maintenance Window in hours.

Returns:

  • (Integer)

    The duration of the Maintenance Window in hours.

#nameString

The name of the Maintenance Window.

Returns:

  • (String)

    The name of the Maintenance Window.

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