Skip to content

Commit 2d86f98

Browse files
docs(autoscaling): fix maxInstanceLifetime docs (#35181)
This aligns the cdk docs with the code and AWS docs ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent f03f32e commit 2d86f98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/aws-cdk-lib/aws-autoscaling/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ about allowing connections between resources backed by instances.
531531
## Max Instance Lifetime
532532

533533
To enable the max instance lifetime support, specify `maxInstanceLifetime` property
534-
for the `AutoscalingGroup` resource. The value must be between 7 and 365 days(inclusive).
534+
for the `AutoscalingGroup` resource. The value must be between 1 and 365 days(inclusive).
535535
To clear a previously set value, leave this property undefined.
536536

537537
## Instance Monitoring

packages/aws-cdk-lib/aws-autoscaling/lib/auto-scaling-group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ export interface CommonAutoScalingGroupProps {
267267
* to all current and future instances in the group. As an instance approaches its maximum duration,
268268
* it is terminated and replaced, and cannot be used again.
269269
*
270-
* You must specify a value of at least 604,800 seconds (7 days). To clear a previously set value,
270+
* You must specify a value of at least 86,400 seconds (one day). To clear a previously set value,
271271
* leave this property undefined.
272272
*
273273
* @see https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html

0 commit comments

Comments
 (0)