interface InstanceReusePolicyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Mixins.CfnWarmPoolPropsMixin.InstanceReusePolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscaling/mixins#CfnWarmPoolPropsMixin_InstanceReusePolicyProperty |
Java | software.amazon.awscdk.mixins.preview.services.autoscaling.mixins.CfnWarmPoolPropsMixin.InstanceReusePolicyProperty |
Python | aws_cdk.mixins_preview.aws_autoscaling.mixins.CfnWarmPoolPropsMixin.InstanceReusePolicyProperty |
TypeScript | @aws-cdk/mixins-preview » aws_autoscaling » mixins » CfnWarmPoolPropsMixin » 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 { mixins as autoscaling_mixins } from '@aws-cdk/mixins-preview/aws-autoscaling';
const instanceReusePolicyProperty: autoscaling_mixins.CfnWarmPoolPropsMixin.InstanceReusePolicyProperty = {
reuseOnScaleIn: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| reuse | boolean | IResolvable | Specifies 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.

.NET
Go
Java
Python
TypeScript