v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141381,185842.7 KB

Registers a target with a maintenance window.

post/#X-Amz-Target=AmazonSSM.RegisterTargetWithMaintenanceWindow

Headers

X-Amz-Target'AmazonSSM.RegisterTargetWithMaintenanceWindow' required

Request body

WindowIdstring required

The ID of the maintenance window the target should be registered with.

ResourceType'INSTANCE' | 'RESOURCE_GROUP' required

The type of target being registered with the maintenance window.

OwnerInformationstring password

User-provided value that will be included in any Amazon CloudWatch Events events raised while running tasks for these targets in this maintenance window.

Namestring

An optional name for the target.

Descriptionstring password

An optional description for the target.

ClientTokenstring

User-provided idempotency token.

Response

Success

WindowTargetIdstring

The ID of the target definition in this maintenance window.