View source: R/cloudwatch_operations.R
cloudwatch_put_composite_alarm | R Documentation |
Creates or updates a composite alarm. When you create a composite alarm, you specify a rule expression for the alarm that takes into account the alarm states of other alarms that you have created. The composite alarm goes into ALARM state only if all conditions of the rule are met.
See https://www.paws-r-sdk.com/docs/cloudwatch_put_composite_alarm/ for full documentation.
cloudwatch_put_composite_alarm(
ActionsEnabled = NULL,
AlarmActions = NULL,
AlarmDescription = NULL,
AlarmName,
AlarmRule,
InsufficientDataActions = NULL,
OKActions = NULL,
Tags = NULL,
ActionsSuppressor = NULL,
ActionsSuppressorWaitPeriod = NULL,
ActionsSuppressorExtensionPeriod = NULL
)
ActionsEnabled |
Indicates whether actions should be executed during any changes to the
alarm state of the composite alarm. The default is |
AlarmActions |
The actions to execute when this alarm transitions to the Valid Values: ] Amazon SNS actions:
Lambda actions:
Systems Manager actions:
|
AlarmDescription |
The description for the composite alarm. |
AlarmName |
[required] The name for the composite alarm. This name must be unique within the Region. |
AlarmRule |
[required] An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For each alarm that you reference, you designate a function that specifies whether that alarm needs to be in ALARM state, OK state, or INSUFFICIENT_DATA state. You can use operators (AND, OR and NOT) to combine multiple functions in a single expression. You can use parenthesis to logically group the functions in your expression. You can use either alarm names or ARNs to reference the other alarms that are to be evaluated. Functions can include the following:
TRUE and FALSE are useful for testing a complex Alarm names specified in The following are some examples of
The |
InsufficientDataActions |
The actions to execute when this alarm transitions to the
Valid Values: ] Amazon SNS actions:
Lambda actions:
|
OKActions |
The actions to execute when this alarm transitions to an Valid Values: ] Amazon SNS actions:
Lambda actions:
|
Tags |
A list of key-value pairs to associate with the alarm. You can associate
as many as 50 tags with an alarm. To be able to associate tags with the
alarm when you create the alarm, you must have the
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. If you are using this operation to update an existing alarm, any tags
you specify in this parameter are ignored. To change the tags of an
existing alarm, use |
ActionsSuppressor |
Actions will be suppressed if the suppressor alarm is in the |
ActionsSuppressorWaitPeriod |
The maximum time in seconds that the composite alarm waits for the
suppressor alarm to go into the
|
ActionsSuppressorExtensionPeriod |
The maximum time in seconds that the composite alarm waits after
suppressor alarm goes out of the
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.