Skip to content

Commit 839fc23

Browse files
author
AWS
committed
AmazonMWAA Update: This release introduces a new MinWorker parameter to the CreateEnvironment and UpdateEnvironment APIs. MinWorker allows the users to set a minimum worker count for worker auto-scaling operations.
1 parent c935ae7 commit 839fc23

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AmazonMWAA",
4+
"contributor": "",
5+
"description": "This release introduces a new MinWorker parameter to the CreateEnvironment and UpdateEnvironment APIs. MinWorker allows the users to set a minimum worker count for worker auto-scaling operations."
6+
}

services/mwaa/src/main/resources/codegen-resources/service-2.json

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,10 @@
309309
"shape":"MaxWorkers",
310310
"documentation":"<p>The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers and the Fargate containers that run your tasks up to the number you specify in this field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra containers leaving the one worker that is included with your environment.</p>"
311311
},
312+
"MinWorkers":{
313+
"shape":"MinWorkers",
314+
"documentation":"<p>The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers and the Fargate containers that run your tasks up to the number you specify in the <code>MaxWorkers</code> field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra containers leaving the worker count you specify in the <code>MinWorkers</code> field.</p>"
315+
},
312316
"Name":{
313317
"shape":"EnvironmentName",
314318
"documentation":"<p>The name of your MWAA environment.</p>",
@@ -474,7 +478,11 @@
474478
},
475479
"MaxWorkers":{
476480
"shape":"MaxWorkers",
477-
"documentation":"<p>The Maximum Workers of the Amazon MWAA Environment.</p>"
481+
"documentation":"<p>The maximum number of workers to run in your Amazon MWAA Environment.</p>"
482+
},
483+
"MinWorkers":{
484+
"shape":"MinWorkers",
485+
"documentation":"<p>The minimum number of workers to run in your Amazon MWAA Environment.</p>"
478486
},
479487
"Name":{
480488
"shape":"EnvironmentName",
@@ -772,6 +780,11 @@
772780
},
773781
"documentation":"<p>Internal only API.</p>"
774782
},
783+
"MinWorkers":{
784+
"type":"integer",
785+
"box":true,
786+
"min":1
787+
},
775788
"ModuleLoggingConfiguration":{
776789
"type":"structure",
777790
"members":{
@@ -873,7 +886,7 @@
873886
"type":"string",
874887
"max":1224,
875888
"min":1,
876-
"pattern":"^arn:aws(-[a-z]+)?:s3:::airflow-[a-z0-9.\\-]+$"
889+
"pattern":"^arn:aws(-[a-z]+)?:s3:::[a-z0-9.\\-]+$"
877890
},
878891
"S3ObjectVersion":{
879892
"type":"string",
@@ -1087,7 +1100,11 @@
10871100
},
10881101
"MaxWorkers":{
10891102
"shape":"MaxWorkers",
1090-
"documentation":"<p>The Maximum Workers to update of your Amazon MWAA environment.</p>"
1103+
"documentation":"<p>The maximum number of workers to update of your Amazon MWAA environment.</p>"
1104+
},
1105+
"MinWorkers":{
1106+
"shape":"MinWorkers",
1107+
"documentation":"<p>The minimum number of workers to update of your Amazon MWAA environment.</p>"
10911108
},
10921109
"Name":{
10931110
"shape":"EnvironmentName",

0 commit comments

Comments
 (0)