File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -443,6 +443,11 @@ Parameters:
443
443
Default : 0
444
444
MinValue : 0
445
445
446
+ WarmPoolMinSize :
447
+ Type : Number
448
+ Description : Minimum number of instances in warm pool
449
+ Default : 0
450
+
446
451
Rules :
447
452
HasToken :
448
453
Assertions :
@@ -595,6 +600,9 @@ Conditions:
595
600
UseMaxInstanceLifetime :
596
601
!Not [ !Equals [ !Ref MaxInstanceLifetime, 0 ] ]
597
602
603
+ UseWarmPool :
604
+ !Not [ !Equals [ !Ref WarmPoolMinSize, 0 ] ]
605
+
598
606
Mappings :
599
607
ECRManagedPolicy :
600
608
none : { Policy: '' }
@@ -1091,6 +1099,14 @@ Resources:
1091
1099
AutoScalingReplacingUpdate :
1092
1100
WillReplace : true
1093
1101
1102
+ AsgWarmPool :
1103
+ Type : AWS::AutoScaling::WarmPool
1104
+ Condition : UseWarmPool
1105
+ Properties :
1106
+ AutoScalingGroupName : !Ref AgentAutoScaleGroup
1107
+ MinSize : !Ref WarmPoolMinSize
1108
+ PoolState : Stopped
1109
+
1094
1110
SecurityGroup :
1095
1111
Type : AWS::EC2::SecurityGroup
1096
1112
Condition : CreateSecurityGroup
You can’t perform that action at this time.
0 commit comments