ConfigureTags
Configures which resource tag keys are tracked by Health for your account. This operation replaces the existing configuration with the specified tag keys. Only configured tag keys will appear in Health event data.
Request Syntax
{
"tagKeys": [
{
"enabledForEventBridge": boolean,
"key": "string"
}
]
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- tagKeys
-
The list of resource tag keys to configure for Health event tracking.
Type: Array of ConfigureTagsTagKey objects
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Required: Yes
Response Syntax
{
"configuredTagKeys": [
{
"enabledForEventBridge": boolean,
"key": "string",
"status": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- configuredTagKeys
-
The list of resource tag keys that were successfully configured.
Type: Array of ResourceTagKey objects
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Errors
For information about the errors that are common to all actions, see Common Error Types.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: