-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(core): Introduced Duration class #2857
Merged
Merged
Commits on Jun 13, 2019
-
feat(core): Introduced Duration class
This can be used to model durations in a user-friendly way, while allowing coercion into the desired/required time unit at the usage site. There is now a default requirement that properties exposed by the APIs and that have a duration-like name (ending in `duration`, `period`, `timeout` or `ttl`) have a type of `@aws-cdk/cdk.Duration` and do not contain a unit suffix (`Days`, `Millis`, `Seconds`, `Sec`, ...). BREAKING CHANGE: Properties throughout the AWS Construct Libraries that represent lengths of time have been re-typed to be `@aws-cdk/cdk.Duration` instead of `number`, and were renamed to exclude any unit indication.
Configuration menu - View commit details
-
Copy full SHA for 56d64eb - Browse repository at this point
Copy the full SHA 56d64ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 910e652 - Browse repository at this point
Copy the full SHA 910e652View commit details
Commits on Jun 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f9c1ee9 - Browse repository at this point
Copy the full SHA f9c1ee9View commit details
Commits on Jun 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5f9ca7a - Browse repository at this point
Copy the full SHA 5f9ca7aView commit details
Commits on Jun 20, 2019
-
1. Dropped the free-floating toSeconds function 2. Added test for unresolved tokens in constructor 3. Made .toString() return a breaking token.
Configuration menu - View commit details
-
Copy full SHA for d1ef198 - Browse repository at this point
Copy the full SHA d1ef198View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfdd3a3 - Browse repository at this point
Copy the full SHA dfdd3a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6d890a - Browse repository at this point
Copy the full SHA f6d890aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91dc951 - Browse repository at this point
Copy the full SHA 91dc951View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.