Skip to content

Commit cef7136

Browse files
authored
chore(cloudwatch): correct spelling error in alarm-base docstrings (#26781)
This PR fixes a spelling error in alarm-base docstrings for `addAlarmAction`, `addInsufficientDataAction`, and `addOkAction` where `SnsAction` was spelled `SnsAcion`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 2aa4733 commit cef7136

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/aws-cdk-lib/aws-cloudwatch/lib/alarm-base.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export abstract class AlarmBase extends Resource implements IAlarm {
5757
/**
5858
* Trigger this action if the alarm fires
5959
*
60-
* Typically SnsAcion or AutoScalingAction.
60+
* Typically SnsAction or AutoScalingAction.
6161
*/
6262
public addAlarmAction(...actions: IAlarmAction[]) {
6363
if (this.alarmActionArns === undefined) {
@@ -70,7 +70,7 @@ export abstract class AlarmBase extends Resource implements IAlarm {
7070
/**
7171
* Trigger this action if there is insufficient data to evaluate the alarm
7272
*
73-
* Typically SnsAcion or AutoScalingAction.
73+
* Typically SnsAction or AutoScalingAction.
7474
*/
7575
public addInsufficientDataAction(...actions: IAlarmAction[]) {
7676
if (this.insufficientDataActionArns === undefined) {
@@ -83,7 +83,7 @@ export abstract class AlarmBase extends Resource implements IAlarm {
8383
/**
8484
* Trigger this action if the alarm returns from breaching state into ok state
8585
*
86-
* Typically SnsAcion or AutoScalingAction.
86+
* Typically SnsAction or AutoScalingAction.
8787
*/
8888
public addOkAction(...actions: IAlarmAction[]) {
8989
if (this.okActionArns === undefined) {

0 commit comments

Comments
 (0)