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

Class: Aws::SSM::Types::MaintenanceWindowTarget

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

Overview

The target registered with the maintenance window.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description for the target.

Returns:

  • (String)

    A description for the target.

#nameString

The name for the maintenance window target.

Returns:

  • (String)

    The name for the maintenance window target.

#owner_informationString

A user-provided value that will be included in any CloudWatch events that are raised while running tasks for these targets in this maintenance window.

Returns:

  • (String)

    A user-provided value that will be included in any CloudWatch events that are raised while running tasks for these targets in this maintenance window.

#resource_typeString

The type of target that is being registered with the maintenance window.

Possible values:

  • INSTANCE

Returns:

  • (String)

    The type of target that is being registered with the maintenance window.

#targetsArray<Types::Target>

The targets, either instances or tags.

Specify instances using the following format:

Key=instanceids,Values=<instanceid1>,<instanceid2>

Tags are specified using the following format:

Key=<tag name>,Values=<tag value>.

Returns:

  • (Array<Types::Target>)

    The targets, either instances or tags.

#window_idString

The ID of the maintenance window to register the target with.

Returns:

  • (String)

    The ID of the maintenance window to register the target with.

#window_target_idString

The ID of the target.

Returns:

  • (String)

    The ID of the target.