AWS SDK for C++  1.9.17
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::CloudWatch::Model::PutCompositeAlarmRequest Class Reference

#include <PutCompositeAlarmRequest.h>

+ Inheritance diagram for Aws::CloudWatch::Model::PutCompositeAlarmRequest:

Public Member Functions

 PutCompositeAlarmRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
bool GetActionsEnabled () const
 
bool ActionsEnabledHasBeenSet () const
 
void SetActionsEnabled (bool value)
 
PutCompositeAlarmRequestWithActionsEnabled (bool value)
 
const Aws::Vector< Aws::String > & GetAlarmActions () const
 
bool AlarmActionsHasBeenSet () const
 
void SetAlarmActions (const Aws::Vector< Aws::String > &value)
 
void SetAlarmActions (Aws::Vector< Aws::String > &&value)
 
PutCompositeAlarmRequestWithAlarmActions (const Aws::Vector< Aws::String > &value)
 
PutCompositeAlarmRequestWithAlarmActions (Aws::Vector< Aws::String > &&value)
 
PutCompositeAlarmRequestAddAlarmActions (const Aws::String &value)
 
PutCompositeAlarmRequestAddAlarmActions (Aws::String &&value)
 
PutCompositeAlarmRequestAddAlarmActions (const char *value)
 
const Aws::StringGetAlarmDescription () const
 
bool AlarmDescriptionHasBeenSet () const
 
void SetAlarmDescription (const Aws::String &value)
 
void SetAlarmDescription (Aws::String &&value)
 
void SetAlarmDescription (const char *value)
 
PutCompositeAlarmRequestWithAlarmDescription (const Aws::String &value)
 
PutCompositeAlarmRequestWithAlarmDescription (Aws::String &&value)
 
PutCompositeAlarmRequestWithAlarmDescription (const char *value)
 
const Aws::StringGetAlarmName () const
 
bool AlarmNameHasBeenSet () const
 
void SetAlarmName (const Aws::String &value)
 
void SetAlarmName (Aws::String &&value)
 
void SetAlarmName (const char *value)
 
PutCompositeAlarmRequestWithAlarmName (const Aws::String &value)
 
PutCompositeAlarmRequestWithAlarmName (Aws::String &&value)
 
PutCompositeAlarmRequestWithAlarmName (const char *value)
 
const Aws::StringGetAlarmRule () const
 
bool AlarmRuleHasBeenSet () const
 
void SetAlarmRule (const Aws::String &value)
 
void SetAlarmRule (Aws::String &&value)
 
void SetAlarmRule (const char *value)
 
PutCompositeAlarmRequestWithAlarmRule (const Aws::String &value)
 
PutCompositeAlarmRequestWithAlarmRule (Aws::String &&value)
 
PutCompositeAlarmRequestWithAlarmRule (const char *value)
 
const Aws::Vector< Aws::String > & GetInsufficientDataActions () const
 
bool InsufficientDataActionsHasBeenSet () const
 
void SetInsufficientDataActions (const Aws::Vector< Aws::String > &value)
 
void SetInsufficientDataActions (Aws::Vector< Aws::String > &&value)
 
PutCompositeAlarmRequestWithInsufficientDataActions (const Aws::Vector< Aws::String > &value)
 
PutCompositeAlarmRequestWithInsufficientDataActions (Aws::Vector< Aws::String > &&value)
 
PutCompositeAlarmRequestAddInsufficientDataActions (const Aws::String &value)
 
PutCompositeAlarmRequestAddInsufficientDataActions (Aws::String &&value)
 
PutCompositeAlarmRequestAddInsufficientDataActions (const char *value)
 
const Aws::Vector< Aws::String > & GetOKActions () const
 
bool OKActionsHasBeenSet () const
 
void SetOKActions (const Aws::Vector< Aws::String > &value)
 
void SetOKActions (Aws::Vector< Aws::String > &&value)
 
PutCompositeAlarmRequestWithOKActions (const Aws::Vector< Aws::String > &value)
 
PutCompositeAlarmRequestWithOKActions (Aws::Vector< Aws::String > &&value)
 
PutCompositeAlarmRequestAddOKActions (const Aws::String &value)
 
PutCompositeAlarmRequestAddOKActions (Aws::String &&value)
 
PutCompositeAlarmRequestAddOKActions (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
PutCompositeAlarmRequestWithTags (const Aws::Vector< Tag > &value)
 
PutCompositeAlarmRequestWithTags (Aws::Vector< Tag > &&value)
 
PutCompositeAlarmRequestAddTags (const Tag &value)
 
PutCompositeAlarmRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::CloudWatch::CloudWatchRequest
virtual ~CloudWatchRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::CloudWatch::CloudWatchRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 23 of file PutCompositeAlarmRequest.h.

Constructor & Destructor Documentation

◆ PutCompositeAlarmRequest()

Aws::CloudWatch::Model::PutCompositeAlarmRequest::PutCompositeAlarmRequest ( )

Member Function Documentation

◆ ActionsEnabledHasBeenSet()

bool Aws::CloudWatch::Model::PutCompositeAlarmRequest::ActionsEnabledHasBeenSet ( ) const
inline

Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. The default is TRUE.

Definition at line 51 of file PutCompositeAlarmRequest.h.

◆ AddAlarmActions() [1/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddAlarmActions ( Aws::String &&  value)
inline

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name | arn:aws:ssm:region:account-id:opsitem:severity

Definition at line 144 of file PutCompositeAlarmRequest.h.

◆ AddAlarmActions() [2/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddAlarmActions ( const Aws::String value)
inline

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name | arn:aws:ssm:region:account-id:opsitem:severity

Definition at line 134 of file PutCompositeAlarmRequest.h.

◆ AddAlarmActions() [3/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddAlarmActions ( const char *  value)
inline

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name | arn:aws:ssm:region:account-id:opsitem:severity

Definition at line 154 of file PutCompositeAlarmRequest.h.

◆ AddInsufficientDataActions() [1/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddInsufficientDataActions ( Aws::String &&  value)
inline

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 638 of file PutCompositeAlarmRequest.h.

◆ AddInsufficientDataActions() [2/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddInsufficientDataActions ( const Aws::String value)
inline

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 629 of file PutCompositeAlarmRequest.h.

◆ AddInsufficientDataActions() [3/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddInsufficientDataActions ( const char *  value)
inline

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 647 of file PutCompositeAlarmRequest.h.

◆ AddOKActions() [1/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddOKActions ( Aws::String &&  value)
inline

The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 720 of file PutCompositeAlarmRequest.h.

◆ AddOKActions() [2/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddOKActions ( const Aws::String value)
inline

The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 711 of file PutCompositeAlarmRequest.h.

◆ AddOKActions() [3/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddOKActions ( const char *  value)
inline

The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 729 of file PutCompositeAlarmRequest.h.

◆ AddTags() [1/2]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddTags ( const Tag value)
inline

A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

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.

Definition at line 793 of file PutCompositeAlarmRequest.h.

◆ AddTags() [2/2]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::AddTags ( Tag &&  value)
inline

A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

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.

Definition at line 802 of file PutCompositeAlarmRequest.h.

◆ AlarmActionsHasBeenSet()

bool Aws::CloudWatch::Model::PutCompositeAlarmRequest::AlarmActionsHasBeenSet ( ) const
inline

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name | arn:aws:ssm:region:account-id:opsitem:severity

Definition at line 84 of file PutCompositeAlarmRequest.h.

◆ AlarmDescriptionHasBeenSet()

bool Aws::CloudWatch::Model::PutCompositeAlarmRequest::AlarmDescriptionHasBeenSet ( ) const
inline

The description for the composite alarm.

Definition at line 165 of file PutCompositeAlarmRequest.h.

◆ AlarmNameHasBeenSet()

bool Aws::CloudWatch::Model::PutCompositeAlarmRequest::AlarmNameHasBeenSet ( ) const
inline

The name for the composite alarm. This name must be unique within the Region.

Definition at line 208 of file PutCompositeAlarmRequest.h.

◆ AlarmRuleHasBeenSet()

bool Aws::CloudWatch::Model::PutCompositeAlarmRequest::AlarmRuleHasBeenSet ( ) const
inline

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:

  • ALARM("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in ALARM state.

  • OK("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in OK state.

  • INSUFFICIENT_DATA("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in INSUFFICIENT_DATA state.

  • TRUE always evaluates to TRUE.

  • FALSE always evaluates to FALSE.

TRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.

Alarm names specified in AlarmRule can be surrounded with double-quotes ("), but do not have to be.

The following are some examples of AlarmRule:

  • ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh) specifies that the composite alarm goes into ALARM state only if both CPUUtilizationTooHigh and DiskReadOpsTooHigh alarms are in ALARM state.

  • ALARM(CPUUtilizationTooHigh) AND NOT ALARM(DeploymentInProgress) specifies that the alarm goes to ALARM state if CPUUtilizationTooHigh is in ALARM state and DeploymentInProgress is not in ALARM state. This example reduces alarm noise during a known deployment window.

  • (ALARM(CPUUtilizationTooHigh) OR ALARM(DiskReadOpsTooHigh)) AND OK(NetworkOutTooHigh) goes into ALARM state if CPUUtilizationTooHigh OR DiskReadOpsTooHigh is in ALARM state, and if NetworkOutTooHigh is in OK state. This provides another example of using a composite alarm to prevent noise. This rule ensures that you are not notified with an alarm action on high CPU or disk usage if a known network problem is also occurring.

The AlarmRule can specify as many as 100 "children" alarms. The AlarmRule expression can have as many as 500 elements. Elements are child alarms, TRUE or FALSE statements, and parentheses.

Definition at line 325 of file PutCompositeAlarmRequest.h.

◆ DumpBodyToUrl()

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetActionsEnabled()

bool Aws::CloudWatch::Model::PutCompositeAlarmRequest::GetActionsEnabled ( ) const
inline

Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. The default is TRUE.

Definition at line 45 of file PutCompositeAlarmRequest.h.

◆ GetAlarmActions()

const Aws::Vector<Aws::String>& Aws::CloudWatch::Model::PutCompositeAlarmRequest::GetAlarmActions ( ) const
inline

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name | arn:aws:ssm:region:account-id:opsitem:severity

Definition at line 74 of file PutCompositeAlarmRequest.h.

◆ GetAlarmDescription()

const Aws::String& Aws::CloudWatch::Model::PutCompositeAlarmRequest::GetAlarmDescription ( ) const
inline

The description for the composite alarm.

Definition at line 160 of file PutCompositeAlarmRequest.h.

◆ GetAlarmName()

const Aws::String& Aws::CloudWatch::Model::PutCompositeAlarmRequest::GetAlarmName ( ) const
inline

The name for the composite alarm. This name must be unique within the Region.

Definition at line 202 of file PutCompositeAlarmRequest.h.

◆ GetAlarmRule()

const Aws::String& Aws::CloudWatch::Model::PutCompositeAlarmRequest::GetAlarmRule ( ) const
inline

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:

  • ALARM("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in ALARM state.

  • OK("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in OK state.

  • INSUFFICIENT_DATA("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in INSUFFICIENT_DATA state.

  • TRUE always evaluates to TRUE.

  • FALSE always evaluates to FALSE.

TRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.

Alarm names specified in AlarmRule can be surrounded with double-quotes ("), but do not have to be.

The following are some examples of AlarmRule:

  • ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh) specifies that the composite alarm goes into ALARM state only if both CPUUtilizationTooHigh and DiskReadOpsTooHigh alarms are in ALARM state.

  • ALARM(CPUUtilizationTooHigh) AND NOT ALARM(DeploymentInProgress) specifies that the alarm goes to ALARM state if CPUUtilizationTooHigh is in ALARM state and DeploymentInProgress is not in ALARM state. This example reduces alarm noise during a known deployment window.

  • (ALARM(CPUUtilizationTooHigh) OR ALARM(DiskReadOpsTooHigh)) AND OK(NetworkOutTooHigh) goes into ALARM state if CPUUtilizationTooHigh OR DiskReadOpsTooHigh is in ALARM state, and if NetworkOutTooHigh is in OK state. This provides another example of using a composite alarm to prevent noise. This rule ensures that you are not notified with an alarm action on high CPU or disk usage if a known network problem is also occurring.

The AlarmRule can specify as many as 100 "children" alarms. The AlarmRule expression can have as many as 500 elements. Elements are child alarms, TRUE or FALSE statements, and parentheses.

Definition at line 285 of file PutCompositeAlarmRequest.h.

◆ GetInsufficientDataActions()

const Aws::Vector<Aws::String>& Aws::CloudWatch::Model::PutCompositeAlarmRequest::GetInsufficientDataActions ( ) const
inline

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 575 of file PutCompositeAlarmRequest.h.

◆ GetOKActions()

const Aws::Vector<Aws::String>& Aws::CloudWatch::Model::PutCompositeAlarmRequest::GetOKActions ( ) const
inline

The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 657 of file PutCompositeAlarmRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::CloudWatch::Model::PutCompositeAlarmRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file PutCompositeAlarmRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::CloudWatch::Model::PutCompositeAlarmRequest::GetTags ( ) const
inline

A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

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.

Definition at line 739 of file PutCompositeAlarmRequest.h.

◆ InsufficientDataActionsHasBeenSet()

bool Aws::CloudWatch::Model::PutCompositeAlarmRequest::InsufficientDataActionsHasBeenSet ( ) const
inline

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 584 of file PutCompositeAlarmRequest.h.

◆ OKActionsHasBeenSet()

bool Aws::CloudWatch::Model::PutCompositeAlarmRequest::OKActionsHasBeenSet ( ) const
inline

The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 666 of file PutCompositeAlarmRequest.h.

◆ SerializePayload()

Aws::String Aws::CloudWatch::Model::PutCompositeAlarmRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetActionsEnabled()

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetActionsEnabled ( bool  value)
inline

Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. The default is TRUE.

Definition at line 57 of file PutCompositeAlarmRequest.h.

◆ SetAlarmActions() [1/2]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmActions ( Aws::Vector< Aws::String > &&  value)
inline

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name | arn:aws:ssm:region:account-id:opsitem:severity

Definition at line 104 of file PutCompositeAlarmRequest.h.

◆ SetAlarmActions() [2/2]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmActions ( const Aws::Vector< Aws::String > &  value)
inline

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name | arn:aws:ssm:region:account-id:opsitem:severity

Definition at line 94 of file PutCompositeAlarmRequest.h.

◆ SetAlarmDescription() [1/3]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmDescription ( Aws::String &&  value)
inline

The description for the composite alarm.

Definition at line 175 of file PutCompositeAlarmRequest.h.

◆ SetAlarmDescription() [2/3]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmDescription ( const Aws::String value)
inline

The description for the composite alarm.

Definition at line 170 of file PutCompositeAlarmRequest.h.

◆ SetAlarmDescription() [3/3]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmDescription ( const char *  value)
inline

The description for the composite alarm.

Definition at line 180 of file PutCompositeAlarmRequest.h.

◆ SetAlarmName() [1/3]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmName ( Aws::String &&  value)
inline

The name for the composite alarm. This name must be unique within the Region.

Definition at line 220 of file PutCompositeAlarmRequest.h.

◆ SetAlarmName() [2/3]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmName ( const Aws::String value)
inline

The name for the composite alarm. This name must be unique within the Region.

Definition at line 214 of file PutCompositeAlarmRequest.h.

◆ SetAlarmName() [3/3]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmName ( const char *  value)
inline

The name for the composite alarm. This name must be unique within the Region.

Definition at line 226 of file PutCompositeAlarmRequest.h.

◆ SetAlarmRule() [1/3]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmRule ( Aws::String &&  value)
inline

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:

  • ALARM("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in ALARM state.

  • OK("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in OK state.

  • INSUFFICIENT_DATA("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in INSUFFICIENT_DATA state.

  • TRUE always evaluates to TRUE.

  • FALSE always evaluates to FALSE.

TRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.

Alarm names specified in AlarmRule can be surrounded with double-quotes ("), but do not have to be.

The following are some examples of AlarmRule:

  • ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh) specifies that the composite alarm goes into ALARM state only if both CPUUtilizationTooHigh and DiskReadOpsTooHigh alarms are in ALARM state.

  • ALARM(CPUUtilizationTooHigh) AND NOT ALARM(DeploymentInProgress) specifies that the alarm goes to ALARM state if CPUUtilizationTooHigh is in ALARM state and DeploymentInProgress is not in ALARM state. This example reduces alarm noise during a known deployment window.

  • (ALARM(CPUUtilizationTooHigh) OR ALARM(DiskReadOpsTooHigh)) AND OK(NetworkOutTooHigh) goes into ALARM state if CPUUtilizationTooHigh OR DiskReadOpsTooHigh is in ALARM state, and if NetworkOutTooHigh is in OK state. This provides another example of using a composite alarm to prevent noise. This rule ensures that you are not notified with an alarm action on high CPU or disk usage if a known network problem is also occurring.

The AlarmRule can specify as many as 100 "children" alarms. The AlarmRule expression can have as many as 500 elements. Elements are child alarms, TRUE or FALSE statements, and parentheses.

Definition at line 405 of file PutCompositeAlarmRequest.h.

◆ SetAlarmRule() [2/3]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmRule ( const Aws::String value)
inline

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:

  • ALARM("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in ALARM state.

  • OK("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in OK state.

  • INSUFFICIENT_DATA("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in INSUFFICIENT_DATA state.

  • TRUE always evaluates to TRUE.

  • FALSE always evaluates to FALSE.

TRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.

Alarm names specified in AlarmRule can be surrounded with double-quotes ("), but do not have to be.

The following are some examples of AlarmRule:

  • ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh) specifies that the composite alarm goes into ALARM state only if both CPUUtilizationTooHigh and DiskReadOpsTooHigh alarms are in ALARM state.

  • ALARM(CPUUtilizationTooHigh) AND NOT ALARM(DeploymentInProgress) specifies that the alarm goes to ALARM state if CPUUtilizationTooHigh is in ALARM state and DeploymentInProgress is not in ALARM state. This example reduces alarm noise during a known deployment window.

  • (ALARM(CPUUtilizationTooHigh) OR ALARM(DiskReadOpsTooHigh)) AND OK(NetworkOutTooHigh) goes into ALARM state if CPUUtilizationTooHigh OR DiskReadOpsTooHigh is in ALARM state, and if NetworkOutTooHigh is in OK state. This provides another example of using a composite alarm to prevent noise. This rule ensures that you are not notified with an alarm action on high CPU or disk usage if a known network problem is also occurring.

The AlarmRule can specify as many as 100 "children" alarms. The AlarmRule expression can have as many as 500 elements. Elements are child alarms, TRUE or FALSE statements, and parentheses.

Definition at line 365 of file PutCompositeAlarmRequest.h.

◆ SetAlarmRule() [3/3]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetAlarmRule ( const char *  value)
inline

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:

  • ALARM("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in ALARM state.

  • OK("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in OK state.

  • INSUFFICIENT_DATA("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in INSUFFICIENT_DATA state.

  • TRUE always evaluates to TRUE.

  • FALSE always evaluates to FALSE.

TRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.

Alarm names specified in AlarmRule can be surrounded with double-quotes ("), but do not have to be.

The following are some examples of AlarmRule:

  • ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh) specifies that the composite alarm goes into ALARM state only if both CPUUtilizationTooHigh and DiskReadOpsTooHigh alarms are in ALARM state.

  • ALARM(CPUUtilizationTooHigh) AND NOT ALARM(DeploymentInProgress) specifies that the alarm goes to ALARM state if CPUUtilizationTooHigh is in ALARM state and DeploymentInProgress is not in ALARM state. This example reduces alarm noise during a known deployment window.

  • (ALARM(CPUUtilizationTooHigh) OR ALARM(DiskReadOpsTooHigh)) AND OK(NetworkOutTooHigh) goes into ALARM state if CPUUtilizationTooHigh OR DiskReadOpsTooHigh is in ALARM state, and if NetworkOutTooHigh is in OK state. This provides another example of using a composite alarm to prevent noise. This rule ensures that you are not notified with an alarm action on high CPU or disk usage if a known network problem is also occurring.

The AlarmRule can specify as many as 100 "children" alarms. The AlarmRule expression can have as many as 500 elements. Elements are child alarms, TRUE or FALSE statements, and parentheses.

Definition at line 445 of file PutCompositeAlarmRequest.h.

◆ SetInsufficientDataActions() [1/2]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetInsufficientDataActions ( Aws::Vector< Aws::String > &&  value)
inline

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 602 of file PutCompositeAlarmRequest.h.

◆ SetInsufficientDataActions() [2/2]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetInsufficientDataActions ( const Aws::Vector< Aws::String > &  value)
inline

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 593 of file PutCompositeAlarmRequest.h.

◆ SetOKActions() [1/2]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetOKActions ( Aws::Vector< Aws::String > &&  value)
inline

The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 684 of file PutCompositeAlarmRequest.h.

◆ SetOKActions() [2/2]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetOKActions ( const Aws::Vector< Aws::String > &  value)
inline

The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 675 of file PutCompositeAlarmRequest.h.

◆ SetTags() [1/2]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

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.

Definition at line 766 of file PutCompositeAlarmRequest.h.

◆ SetTags() [2/2]

void Aws::CloudWatch::Model::PutCompositeAlarmRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

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.

Definition at line 757 of file PutCompositeAlarmRequest.h.

◆ TagsHasBeenSet()

bool Aws::CloudWatch::Model::PutCompositeAlarmRequest::TagsHasBeenSet ( ) const
inline

A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

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.

Definition at line 748 of file PutCompositeAlarmRequest.h.

◆ WithActionsEnabled()

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithActionsEnabled ( bool  value)
inline

Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. The default is TRUE.

Definition at line 63 of file PutCompositeAlarmRequest.h.

◆ WithAlarmActions() [1/2]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmActions ( Aws::Vector< Aws::String > &&  value)
inline

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name | arn:aws:ssm:region:account-id:opsitem:severity

Definition at line 124 of file PutCompositeAlarmRequest.h.

◆ WithAlarmActions() [2/2]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmActions ( const Aws::Vector< Aws::String > &  value)
inline

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name | arn:aws:ssm:region:account-id:opsitem:severity

Definition at line 114 of file PutCompositeAlarmRequest.h.

◆ WithAlarmDescription() [1/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmDescription ( Aws::String &&  value)
inline

The description for the composite alarm.

Definition at line 190 of file PutCompositeAlarmRequest.h.

◆ WithAlarmDescription() [2/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmDescription ( const Aws::String value)
inline

The description for the composite alarm.

Definition at line 185 of file PutCompositeAlarmRequest.h.

◆ WithAlarmDescription() [3/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmDescription ( const char *  value)
inline

The description for the composite alarm.

Definition at line 195 of file PutCompositeAlarmRequest.h.

◆ WithAlarmName() [1/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmName ( Aws::String &&  value)
inline

The name for the composite alarm. This name must be unique within the Region.

Definition at line 238 of file PutCompositeAlarmRequest.h.

◆ WithAlarmName() [2/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmName ( const Aws::String value)
inline

The name for the composite alarm. This name must be unique within the Region.

Definition at line 232 of file PutCompositeAlarmRequest.h.

◆ WithAlarmName() [3/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmName ( const char *  value)
inline

The name for the composite alarm. This name must be unique within the Region.

Definition at line 244 of file PutCompositeAlarmRequest.h.

◆ WithAlarmRule() [1/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmRule ( Aws::String &&  value)
inline

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:

  • ALARM("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in ALARM state.

  • OK("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in OK state.

  • INSUFFICIENT_DATA("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in INSUFFICIENT_DATA state.

  • TRUE always evaluates to TRUE.

  • FALSE always evaluates to FALSE.

TRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.

Alarm names specified in AlarmRule can be surrounded with double-quotes ("), but do not have to be.

The following are some examples of AlarmRule:

  • ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh) specifies that the composite alarm goes into ALARM state only if both CPUUtilizationTooHigh and DiskReadOpsTooHigh alarms are in ALARM state.

  • ALARM(CPUUtilizationTooHigh) AND NOT ALARM(DeploymentInProgress) specifies that the alarm goes to ALARM state if CPUUtilizationTooHigh is in ALARM state and DeploymentInProgress is not in ALARM state. This example reduces alarm noise during a known deployment window.

  • (ALARM(CPUUtilizationTooHigh) OR ALARM(DiskReadOpsTooHigh)) AND OK(NetworkOutTooHigh) goes into ALARM state if CPUUtilizationTooHigh OR DiskReadOpsTooHigh is in ALARM state, and if NetworkOutTooHigh is in OK state. This provides another example of using a composite alarm to prevent noise. This rule ensures that you are not notified with an alarm action on high CPU or disk usage if a known network problem is also occurring.

The AlarmRule can specify as many as 100 "children" alarms. The AlarmRule expression can have as many as 500 elements. Elements are child alarms, TRUE or FALSE statements, and parentheses.

Definition at line 525 of file PutCompositeAlarmRequest.h.

◆ WithAlarmRule() [2/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmRule ( const Aws::String value)
inline

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:

  • ALARM("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in ALARM state.

  • OK("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in OK state.

  • INSUFFICIENT_DATA("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in INSUFFICIENT_DATA state.

  • TRUE always evaluates to TRUE.

  • FALSE always evaluates to FALSE.

TRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.

Alarm names specified in AlarmRule can be surrounded with double-quotes ("), but do not have to be.

The following are some examples of AlarmRule:

  • ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh) specifies that the composite alarm goes into ALARM state only if both CPUUtilizationTooHigh and DiskReadOpsTooHigh alarms are in ALARM state.

  • ALARM(CPUUtilizationTooHigh) AND NOT ALARM(DeploymentInProgress) specifies that the alarm goes to ALARM state if CPUUtilizationTooHigh is in ALARM state and DeploymentInProgress is not in ALARM state. This example reduces alarm noise during a known deployment window.

  • (ALARM(CPUUtilizationTooHigh) OR ALARM(DiskReadOpsTooHigh)) AND OK(NetworkOutTooHigh) goes into ALARM state if CPUUtilizationTooHigh OR DiskReadOpsTooHigh is in ALARM state, and if NetworkOutTooHigh is in OK state. This provides another example of using a composite alarm to prevent noise. This rule ensures that you are not notified with an alarm action on high CPU or disk usage if a known network problem is also occurring.

The AlarmRule can specify as many as 100 "children" alarms. The AlarmRule expression can have as many as 500 elements. Elements are child alarms, TRUE or FALSE statements, and parentheses.

Definition at line 485 of file PutCompositeAlarmRequest.h.

◆ WithAlarmRule() [3/3]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithAlarmRule ( const char *  value)
inline

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:

  • ALARM("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in ALARM state.

  • OK("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in OK state.

  • INSUFFICIENT_DATA("<i>alarm-name</i> or <i>alarm-ARN</i>") is TRUE if the named alarm is in INSUFFICIENT_DATA state.

  • TRUE always evaluates to TRUE.

  • FALSE always evaluates to FALSE.

TRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.

Alarm names specified in AlarmRule can be surrounded with double-quotes ("), but do not have to be.

The following are some examples of AlarmRule:

  • ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh) specifies that the composite alarm goes into ALARM state only if both CPUUtilizationTooHigh and DiskReadOpsTooHigh alarms are in ALARM state.

  • ALARM(CPUUtilizationTooHigh) AND NOT ALARM(DeploymentInProgress) specifies that the alarm goes to ALARM state if CPUUtilizationTooHigh is in ALARM state and DeploymentInProgress is not in ALARM state. This example reduces alarm noise during a known deployment window.

  • (ALARM(CPUUtilizationTooHigh) OR ALARM(DiskReadOpsTooHigh)) AND OK(NetworkOutTooHigh) goes into ALARM state if CPUUtilizationTooHigh OR DiskReadOpsTooHigh is in ALARM state, and if NetworkOutTooHigh is in OK state. This provides another example of using a composite alarm to prevent noise. This rule ensures that you are not notified with an alarm action on high CPU or disk usage if a known network problem is also occurring.

The AlarmRule can specify as many as 100 "children" alarms. The AlarmRule expression can have as many as 500 elements. Elements are child alarms, TRUE or FALSE statements, and parentheses.

Definition at line 565 of file PutCompositeAlarmRequest.h.

◆ WithInsufficientDataActions() [1/2]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithInsufficientDataActions ( Aws::Vector< Aws::String > &&  value)
inline

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 620 of file PutCompositeAlarmRequest.h.

◆ WithInsufficientDataActions() [2/2]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithInsufficientDataActions ( const Aws::Vector< Aws::String > &  value)
inline

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 611 of file PutCompositeAlarmRequest.h.

◆ WithOKActions() [1/2]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithOKActions ( Aws::Vector< Aws::String > &&  value)
inline

The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 702 of file PutCompositeAlarmRequest.h.

◆ WithOKActions() [2/2]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithOKActions ( const Aws::Vector< Aws::String > &  value)
inline

The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

Valid Values: arn:aws:sns:region:account-id:sns-topic-name

Definition at line 693 of file PutCompositeAlarmRequest.h.

◆ WithTags() [1/2]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

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.

Definition at line 784 of file PutCompositeAlarmRequest.h.

◆ WithTags() [2/2]

PutCompositeAlarmRequest& Aws::CloudWatch::Model::PutCompositeAlarmRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

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.

Definition at line 775 of file PutCompositeAlarmRequest.h.


The documentation for this class was generated from the following file: