aws_cloudwatch.CompositeAlarm: Wrong details on argument type in add_*_action(*actions) methods #22801
Labels
@aws-cdk/aws-cloudwatch
Related to Amazon CloudWatch
bug
This issue is a bug.
documentation
This is a problem with documentation.
effort/small
Small work item – less than a day of effort
good first issue
Related to contributions. See CONTRIBUTING.md
p1
Describe the issue
In all 3 methods for adding action to
CompositeAlarm
the details on the type of the*actions
argument are "Typically the ARN of an SNS topic or ARN of an AutoScaling policy". However, the required argument type should beIAlarmAction
, as documented in the Parameters section. Hence, a suggested correction could be "TypicallySnsAcion
orAutoScalingAction
".Links
CompositeAlarm
add_alarm_action(*actions)
add_insufficient_data_action(*actions)
add_ok_action(*actions)
The text was updated successfully, but these errors were encountered: