Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(AlarmFactory): Fix wording for actionsSuppressorExtensionPeriod prop to use 'duration' instead of 'time in seconds' #519

Merged
merged 1 commit into from
May 10, 2024

Conversation

jonathan-luo
Copy link
Contributor

Description

No code logic changes.

Unfortunately missed changing actionsSuppressorExtensionPeriod prop description to use "duration" instead of "time in seconds". The "time in seconds" descriptor is used in CloudFormation documentation, but since the prop type required by CDK CompositeAlarm is Duration, it's more accurate to use "duration" (and to be consistent with the CDK Composite Alarm definition).

Note: This wording change was already done for actionsSuppressorWaitPeriod; only actionsSuppressorExtensionPeriod was missed.

Testing

  • yarn build -- no code logic changes so no additional unit tests necessary.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@jonathan-luo jonathan-luo marked this pull request as draft May 10, 2024 19:40
…rop to use 'duration' instead of 'time in seconds'"
@jonathan-luo
Copy link
Contributor Author

Initial build failed since updated API.md was not included in commit. Have fixed that now.

@echeung-amzn echeung-amzn merged commit 49421a2 into cdklabs:main May 10, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants