Skip to content

Commit

Permalink
docs(ecs): Specify units for DNS TTL (#15656)
Browse files Browse the repository at this point in the history
Customer reports that it's not clear here what the units of the default "60" are, and furthermore that this appears as "1" (again without units) in the console. Clarify by writing this as `Duration.minutes(1)`


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
Jerry Kindall authored Jul 20, 2021
1 parent 06d5832 commit 6bc086b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-ecs/lib/base/base-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ export interface CloudMapOptions {
/**
* The amount of time that you want DNS resolvers to cache the settings for this record.
*
* @default 60
* @default Duration.minutes(1)
*/
readonly dnsTtl?: Duration;

Expand Down

0 comments on commit 6bc086b

Please sign in to comment.