aws-cdk-lib.aws_autoscaling.CfnWarmPool.InstanceReusePolicyProperty

interface InstanceReusePolicyProperty

LanguageType name
.NETAmazon.CDK.AWS.AutoScaling.CfnWarmPool.InstanceReusePolicyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsautoscaling#CfnWarmPool_InstanceReusePolicyProperty
Javasoftware.amazon.awscdk.services.autoscaling.CfnWarmPool.InstanceReusePolicyProperty
Pythonaws_cdk.aws_autoscaling.CfnWarmPool.InstanceReusePolicyProperty
TypeScript aws-cdk-lib » aws_autoscaling » CfnWarmPool » InstanceReusePolicyProperty

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

// 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

NameTypeDescription
reuseOnScaleIn?boolean | IResolvableSpecifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.

reuseOnScaleIn?

Type: boolean | IResolvable (optional)

Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.