Interface CfnWarmPool.InstanceReusePolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWarmPool.InstanceReusePolicyProperty.Jsii$Proxy
- Enclosing class:
CfnWarmPool
@Stability(Stable)
public static interface CfnWarmPool.InstanceReusePolicyProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.autoscaling.*;
InstanceReusePolicyProperty instanceReusePolicyProperty = InstanceReusePolicyProperty.builder()
.reuseOnScaleIn(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWarmPool.InstanceReusePolicyPropertystatic final classAn implementation forCfnWarmPool.InstanceReusePolicyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getReuseOnScaleIn
Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-