Interface CfnWarmPool.IInstanceReusePolicyProperty
- Namespace
- Amazon.CDK.AWS.AutoScaling
- Assembly
- Amazon.CDK.AWS.AutoScaling.dll
A structure that specifies an instance reuse policy for the InstanceReusePolicy
property of the AWS::AutoScaling::WarmPool resource.
public interface CfnWarmPool.IInstanceReusePolicyProperty
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AutoScaling;
var instanceReusePolicyProperty = new InstanceReusePolicyProperty {
ReuseOnScaleIn = false
};
Remarks
For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide .
ExampleMetadata: fixture=_generated
Properties
ReuseOnScaleIn
Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.
object? ReuseOnScaleIn { get; }