Skip to content

Commit

Permalink
chore(cloudwatch): correct spelling error in alarm-base docstrings (#…
Browse files Browse the repository at this point in the history
…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*
  • Loading branch information
7empestx authored Aug 16, 2023
1 parent 2aa4733 commit cef7136
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/aws-cdk-lib/aws-cloudwatch/lib/alarm-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export abstract class AlarmBase extends Resource implements IAlarm {
/**
* Trigger this action if the alarm fires
*
* Typically SnsAcion or AutoScalingAction.
* Typically SnsAction or AutoScalingAction.
*/
public addAlarmAction(...actions: IAlarmAction[]) {
if (this.alarmActionArns === undefined) {
Expand All @@ -70,7 +70,7 @@ export abstract class AlarmBase extends Resource implements IAlarm {
/**
* Trigger this action if there is insufficient data to evaluate the alarm
*
* Typically SnsAcion or AutoScalingAction.
* Typically SnsAction or AutoScalingAction.
*/
public addInsufficientDataAction(...actions: IAlarmAction[]) {
if (this.insufficientDataActionArns === undefined) {
Expand All @@ -83,7 +83,7 @@ export abstract class AlarmBase extends Resource implements IAlarm {
/**
* Trigger this action if the alarm returns from breaching state into ok state
*
* Typically SnsAcion or AutoScalingAction.
* Typically SnsAction or AutoScalingAction.
*/
public addOkAction(...actions: IAlarmAction[]) {
if (this.okActionArns === undefined) {
Expand Down

0 comments on commit cef7136

Please sign in to comment.