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

Class: Aws::SSM::Types::UpdateMaintenanceWindowTargetRequest

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

Overview

Note:

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

{
  window_id: "MaintenanceWindowId", # required
  window_target_id: "MaintenanceWindowTargetId", # required
  targets: [
    {
      key: "TargetKey",
      values: ["TargetValue"],
    },
  ],
  owner_information: "OwnerInformation",
  name: "MaintenanceWindowName",
  description: "MaintenanceWindowDescription",
  replace: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

An optional description for the update.

Returns:

  • (String)

    An optional description for the update.

#nameString

A name for the update.

Returns:

  • (String)

    A name for the update.

#owner_informationString

User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.

Returns:

  • (String)

    User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.

#replaceBoolean

If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow 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 RegisterTargetWithMaintenanceWindow action are also required for this API request.

#targetsArray<Types::Target>

The targets to add or replace.

Returns:

#window_idString

The Maintenance Window ID with which to modify the target.

Returns:

  • (String)

    The Maintenance Window ID with which to modify the target.

#window_target_idString

The target ID to modify.

Returns:

  • (String)

    The target ID to modify.