Skip to content
v2.274.0

InstanceReusePolicyProperty Struct ​

A structure that specifies an instance reuse policy for the InstanceReusePolicy property of the AWS::AutoScaling::WarmPool resource.

For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_autoscaling as autoscaling } from 'aws-cdk-lib';
const instanceReusePolicyProperty: autoscaling.CfnWarmPool.InstanceReusePolicyProperty = {
  reuseOnScaleIn: false,
};

Properties ​

reuseOnScaleInoptionalboolean | IResolvablereuse_on_scale_inoptionaltyping.Union[bool, IResolvable]reuseOnScaleInoptionalBooleanReuseOnScaleInoptionalboolReuseOnScaleInoptionalinterface{}#
Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.