Skip to content

Commit a64d4bb

Browse files
author
awstools
committed
feat(client-mwaa): Amazon MWAA now supports a new environment class, mw1.micro, ideal for workloads requiring fewer resources than mw1.small. This class supports a single instance of each Airflow component: Scheduler, Worker, and Webserver.
1 parent 5649e47 commit a64d4bb

File tree

2 files changed

+39
-22
lines changed

2 files changed

+39
-22
lines changed

clients/client-mwaa/src/models/models_0.ts

+27-10
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export interface CreateEnvironmentInput {
286286
AirflowConfigurationOptions?: Record<string, string> | undefined;
287287

288288
/**
289-
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>, <code>mw1.xlarge</code>, and <code>mw1.2xlarge</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
289+
* <p>The environment class type. Valid values: <code>mw1.micro</code>, <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>, <code>mw1.xlarge</code>, and <code>mw1.2xlarge</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
290290
* @public
291291
*/
292292
EnvironmentClass?: string | undefined;
@@ -347,7 +347,9 @@ export interface CreateEnvironmentInput {
347347
* <p>The number of Apache Airflow schedulers to run in your environment. Valid values:</p>
348348
* <ul>
349349
* <li>
350-
* <p>v2 - Accepts between <code>2</code> to <code>5</code>. Defaults to <code>2</code>.</p>
350+
* <p>v2 - For environments larger than mw1.micro, accepts values from
351+
* <code>2</code> to <code>5</code>. Defaults to <code>2</code> for all
352+
* environment sizes except mw1.micro, which defaults to <code>1</code>.</p>
351353
* </li>
352354
* <li>
353355
* <p>v1 - Accepts <code>1</code>.</p>
@@ -374,7 +376,9 @@ export interface CreateEnvironmentInput {
374376
* the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease,
375377
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
376378
* </p>
377-
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
379+
* <p>Valid values: For environments larger than mw1.micro, accepts values from
380+
* <code>2</code> to <code>5</code>. Defaults to <code>2</code> for all environment
381+
* sizes except mw1.micro, which defaults to <code>1</code>.</p>
378382
* @public
379383
*/
380384
MinWebservers?: number | undefined;
@@ -388,7 +392,9 @@ export interface CreateEnvironmentInput {
388392
* rate, Amazon MWAA will increase the number of web servers up to the number set in <code>MaxWebserers</code>. As TPS rates decrease
389393
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
390394
* </p>
391-
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
395+
* <p>Valid values: For environments larger than mw1.micro, accepts values from
396+
* <code>2</code> to <code>5</code>. Defaults to <code>2</code> for all environment
397+
* sizes except mw1.micro, which defaults to <code>1</code>.</p>
392398
* @public
393399
*/
394400
MaxWebservers?: number | undefined;
@@ -864,7 +870,7 @@ export interface Environment {
864870
AirflowConfigurationOptions?: Record<string, string> | undefined;
865871

866872
/**
867-
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>, <code>mw1.xlarge</code>, and <code>mw1.2xlarge</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
873+
* <p>The environment class type. Valid values: <code>mw1.micro</code>, <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>, <code>mw1.xlarge</code>, and <code>mw1.2xlarge</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
868874
* @public
869875
*/
870876
EnvironmentClass?: string | undefined;
@@ -957,7 +963,9 @@ export interface Environment {
957963
* the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease,
958964
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
959965
* </p>
960-
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
966+
* <p>Valid values: For environments larger than mw1.micro, accepts values from
967+
* <code>2</code> to <code>5</code>. Defaults to <code>2</code> for all environment
968+
* sizes except mw1.micro, which defaults to <code>1</code>.</p>
961969
* @public
962970
*/
963971
MinWebservers?: number | undefined;
@@ -971,7 +979,9 @@ export interface Environment {
971979
* rate, Amazon MWAA will increase the number of web servers up to the number set in <code>MaxWebserers</code>. As TPS rates decrease
972980
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
973981
* </p>
974-
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
982+
* <p>Valid values: For environments larger than mw1.micro, accepts values from
983+
* <code>2</code> to <code>5</code>. Defaults to <code>2</code> for all environment
984+
* sizes except mw1.micro, which defaults to <code>1</code>.</p>
975985
* @public
976986
*/
977987
MaxWebservers?: number | undefined;
@@ -1524,7 +1534,10 @@ export interface UpdateEnvironmentInput {
15241534
AirflowConfigurationOptions?: Record<string, string> | undefined;
15251535

15261536
/**
1527-
* <p>The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>, <code>mw1.xlarge</code>, and <code>mw1.2xlarge</code>. For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.</p>
1537+
* <p>The environment class type. Valid values: <code>mw1.micro</code>,
1538+
* <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>,
1539+
* <code>mw1.xlarge</code>, and <code>mw1.2xlarge</code>. For more information, see
1540+
* <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>. </p>
15281541
* @public
15291542
*/
15301543
EnvironmentClass?: string | undefined;
@@ -1579,7 +1592,9 @@ export interface UpdateEnvironmentInput {
15791592
* the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease,
15801593
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
15811594
* </p>
1582-
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
1595+
* <p>Valid values: For environments larger than mw1.micro, accepts values from
1596+
* <code>2</code> to <code>5</code>. Defaults to <code>2</code> for all environment
1597+
* sizes except mw1.micro, which defaults to <code>1</code>.</p>
15831598
* @public
15841599
*/
15851600
MinWebservers?: number | undefined;
@@ -1593,7 +1608,9 @@ export interface UpdateEnvironmentInput {
15931608
* rate, Amazon MWAA will increase the number of web servers up to the number set in <code>MaxWebserers</code>. As TPS rates decrease
15941609
* Amazon MWAA disposes of the additional web servers, and scales down to the number set in <code>MinxWebserers</code>.
15951610
* </p>
1596-
* <p>Valid values: Accepts between <code>2</code> and <code>5</code>. Defaults to <code>2</code>.</p>
1611+
* <p>Valid values: For environments larger than mw1.micro, accepts values from
1612+
* <code>2</code> to <code>5</code>. Defaults to <code>2</code> for all environment
1613+
* sizes except mw1.micro, which defaults to <code>1</code>.</p>
15971614
* @public
15981615
*/
15991616
MaxWebservers?: number | undefined;

0 commit comments

Comments
 (0)