Class WarmPool
- Namespace
- Amazon.CDK.AWS.AutoScaling
- Assembly
- Amazon.CDK.AWS.AutoScaling.dll
Define a warm pool.
public class WarmPool : Resource
- Inheritance
-
WarmPool
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;
AutoScalingGroup autoScalingGroup;
var warmPool = new WarmPool(this, "MyWarmPool", new WarmPoolProps {
AutoScalingGroup = autoScalingGroup,
// the properties below are optional
MaxGroupPreparedCapacity = 123,
MinSize = 123,
PoolState = PoolState.HIBERNATED,
ReuseOnScaleIn = false
});
Remarks
ExampleMetadata: fixture=_generated
Constructors
WarmPool(Construct, string, IWarmPoolProps)
public WarmPool(Construct scope, string id, IWarmPoolProps props)
Parameters
scope
Constructid
stringprops
IWarmPoolProps