paws.management (version 0.1.0)

ssm_register_target_with_maintenance_window: Registers a target with a Maintenance Window

Description

Registers a target with a Maintenance Window.

Usage

ssm_register_target_with_maintenance_window(WindowId, ResourceType,
  Targets, OwnerInformation, Name, Description, ClientToken)

Arguments

WindowId

[required] The ID of the Maintenance Window the target should be registered with.

ResourceType

[required] The type of target being registered with the Maintenance Window.

Targets

[required] The targets (either instances or tags).

Specify instances using the following format:

Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>

Specify tags using either of the following formats:

Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>

Key=tag-key,Values=<tag-key-1>,<tag-key-2>

OwnerInformation

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

Name

An optional name for the target.

Description

An optional description for the target.

ClientToken

User-provided idempotency token.

Request syntax

svc$register_target_with_maintenance_window(
  WindowId = "string",
  ResourceType = "INSTANCE",
  Targets = list(
    list(
      Key = "string",
      Values = list(
        "string"
      )
    )
  ),
  OwnerInformation = "string",
  Name = "string",
  Description = "string",
  ClientToken = "string"
)