Class CfnWarmPool.InstanceReusePolicyProperty
A structure that specifies an instance reuse policy for the InstanceReusePolicy property of the AWS::AutoScaling::WarmPool resource.
Inheritance
System.Object
CfnWarmPool.InstanceReusePolicyProperty
Implements
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.AWS.AutoScaling.dll
Syntax (csharp)
public class InstanceReusePolicyProperty : Object, CfnWarmPool.IInstanceReusePolicyProperty
Syntax (vb)
Public Class InstanceReusePolicyProperty
Inherits Object
Implements CfnWarmPool.IInstanceReusePolicyProperty
Remarks
For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide .
ExampleMetadata: fixture=_generated
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
};
Synopsis
Constructors
| InstanceReusePolicyProperty() |
Properties
| ReuseOnScaleIn | Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in. |
Constructors
InstanceReusePolicyProperty()
public InstanceReusePolicyProperty()
Properties
ReuseOnScaleIn
Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.
public object ReuseOnScaleIn { get; set; }
Property Value
System.Object