Skip to content

Commit

Permalink
docs(asg): Document what the updatePolicy prop does on our App patt…
Browse files Browse the repository at this point in the history
…erns
  • Loading branch information
AshCorr committed Jul 11, 2024
1 parent f98e9c5 commit d49c690
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/patterns/ec2-app/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,12 @@ export interface GuEc2AppProps extends AppIdentity {
instanceMetadataHopLimit?: number;

/**
* TODO
* Specify an update policy for the ASG created by this pattern.
*
* @see https://docs.aws.amazon.com/cdk/api/latest/docs/aws-autoscaling-readme.html#update-policy
*
* @defaultValue UpdatePolicy.none() - Cloudformation does not attempt to rotate instances in the ASG
* and must rely on riffraff to do so.
*/
updatePolicy?: UpdatePolicy;
}
Expand Down

0 comments on commit d49c690

Please sign in to comment.