MaintenanceWindowTarget
The target registered with the maintenance window.
Contents
- Description
-
A description for the target.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Required: No
- Name
-
The name for the maintenance window target.
Type: String
Length Constraints: Minimum length of 3. Maximum length of 128.
Pattern:
^[a-zA-Z0-9_\-.]{3,128}$
Required: No
- OwnerInformation
-
A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Required: No
- ResourceType
-
The type of target that is being registered with the maintenance window.
Type: String
Valid Values:
INSTANCE | RESOURCE_GROUP
Required: No
- Targets
-
The targets, either managed nodes or tags.
Specify managed nodes using the following format:
Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag name>,Values=<tag value>
.Type: Array of Target objects
Array Members: Minimum number of 0 items. Maximum number of 5 items.
Required: No
- WindowId
-
The ID of the maintenance window to register the target with.
Type: String
Length Constraints: Fixed length of 20.
Pattern:
^mw-[0-9a-f]{17}$
Required: No
- WindowTargetId
-
The ID of the target.
Type: String
Length Constraints: Fixed length of 36.
Pattern:
^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: