aws-cdk-lib 2.142.1__py3-none-any.whl → 2.143.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.142.1.jsii.tgz → aws-cdk-lib@2.143.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -5
- aws_cdk/aws_backup/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +237 -0
- aws_cdk/aws_bedrock/__init__.py +700 -16
- aws_cdk/aws_budgets/__init__.py +282 -3
- aws_cdk/aws_cloudtrail/__init__.py +12 -2
- aws_cdk/aws_codebuild/__init__.py +44 -0
- aws_cdk/aws_codepipeline/__init__.py +91 -4
- aws_cdk/aws_cognito/__init__.py +75 -0
- aws_cdk/aws_datazone/__init__.py +1743 -448
- aws_cdk/aws_dynamodb/__init__.py +60 -25
- aws_cdk/aws_ec2/__init__.py +112 -39
- aws_cdk/aws_ecs/__init__.py +3 -3
- aws_cdk/aws_ecs_patterns/__init__.py +106 -0
- aws_cdk/aws_eks/__init__.py +13 -10
- aws_cdk/aws_elasticache/__init__.py +9 -0
- aws_cdk/aws_events/__init__.py +219 -14
- aws_cdk/aws_events_targets/__init__.py +140 -3
- aws_cdk/aws_fms/__init__.py +42 -43
- aws_cdk/aws_fsx/__init__.py +3 -3
- aws_cdk/aws_identitystore/__init__.py +11 -11
- aws_cdk/aws_lambda/__init__.py +45 -0
- aws_cdk/aws_lambda_nodejs/__init__.py +16 -6
- aws_cdk/aws_lightsail/__init__.py +9 -0
- aws_cdk/aws_location/__init__.py +8 -4
- aws_cdk/aws_mediaconnect/__init__.py +1789 -39
- aws_cdk/aws_mediatailor/__init__.py +21 -1
- aws_cdk/aws_mwaa/__init__.py +82 -0
- aws_cdk/aws_neptune/__init__.py +374 -0
- aws_cdk/aws_personalize/__init__.py +9 -3
- aws_cdk/aws_pipes/__init__.py +7 -7
- aws_cdk/aws_quicksight/__init__.py +684 -156
- aws_cdk/aws_rds/__init__.py +88 -24
- aws_cdk/aws_redshift/__init__.py +0 -46
- aws_cdk/aws_route53resolver/__init__.py +23 -0
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_sagemaker/__init__.py +185 -4
- aws_cdk/aws_securityhub/__init__.py +387 -1
- aws_cdk/aws_ssm/__init__.py +14 -6
- aws_cdk/aws_sso/__init__.py +1243 -34
- aws_cdk/cx_api/__init__.py +16 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.0.dist-info}/RECORD +49 -49
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.0.dist-info}/top_level.txt +0 -0
|
@@ -1671,6 +1671,7 @@ class CfnPlaybackConfiguration(
|
|
|
1671
1671
|
|
|
1672
1672
|
# the properties below are optional
|
|
1673
1673
|
avail_suppression=mediatailor.CfnPlaybackConfiguration.AvailSuppressionProperty(
|
|
1674
|
+
fill_policy="fillPolicy",
|
|
1674
1675
|
mode="mode",
|
|
1675
1676
|
value="value"
|
|
1676
1677
|
),
|
|
@@ -2168,12 +2169,13 @@ class CfnPlaybackConfiguration(
|
|
|
2168
2169
|
@jsii.data_type(
|
|
2169
2170
|
jsii_type="aws-cdk-lib.aws_mediatailor.CfnPlaybackConfiguration.AvailSuppressionProperty",
|
|
2170
2171
|
jsii_struct_bases=[],
|
|
2171
|
-
name_mapping={"mode": "mode", "value": "value"},
|
|
2172
|
+
name_mapping={"fill_policy": "fillPolicy", "mode": "mode", "value": "value"},
|
|
2172
2173
|
)
|
|
2173
2174
|
class AvailSuppressionProperty:
|
|
2174
2175
|
def __init__(
|
|
2175
2176
|
self,
|
|
2176
2177
|
*,
|
|
2178
|
+
fill_policy: typing.Optional[builtins.str] = None,
|
|
2177
2179
|
mode: typing.Optional[builtins.str] = None,
|
|
2178
2180
|
value: typing.Optional[builtins.str] = None,
|
|
2179
2181
|
) -> None:
|
|
@@ -2181,6 +2183,7 @@ class CfnPlaybackConfiguration(
|
|
|
2181
2183
|
|
|
2182
2184
|
For more information about ad suppression, see `Ad Suppression <https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html>`_ .
|
|
2183
2185
|
|
|
2186
|
+
:param fill_policy: Defines the policy to apply to the avail suppression mode. BEHIND_LIVE_EDGE will always use the full avail suppression policy. AFTER_LIVE_EDGE mode can be used to invoke partial ad break fills when a session starts mid-break. Valid values are FULL_AVAIL_ONLY and PARTIAL_AVAIL
|
|
2184
2187
|
:param mode: Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set to ``BEHIND_LIVE_EDGE`` , ad suppression is active and MediaTailor won't fill ad breaks on or behind the ad suppression Value time in the manifest lookback window. When Mode is set to ``AFTER_LIVE_EDGE`` , ad suppression is active and MediaTailor won't fill ad breaks that are within the live edge plus the avail suppression value.
|
|
2185
2188
|
:param value: A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on or behind this time in the manifest lookback window. If Value is set to 00:00:00, it is in sync with the live edge, and MediaTailor won't fill any ad breaks on or behind the live edge. If you set a Value time, MediaTailor won't fill any ad breaks on or behind this time in the manifest lookback window. For example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur within 45 minutes behind the live edge, but won't fill ad breaks on or behind 45 minutes behind the live edge.
|
|
2186
2189
|
|
|
@@ -2194,20 +2197,35 @@ class CfnPlaybackConfiguration(
|
|
|
2194
2197
|
from aws_cdk import aws_mediatailor as mediatailor
|
|
2195
2198
|
|
|
2196
2199
|
avail_suppression_property = mediatailor.CfnPlaybackConfiguration.AvailSuppressionProperty(
|
|
2200
|
+
fill_policy="fillPolicy",
|
|
2197
2201
|
mode="mode",
|
|
2198
2202
|
value="value"
|
|
2199
2203
|
)
|
|
2200
2204
|
'''
|
|
2201
2205
|
if __debug__:
|
|
2202
2206
|
type_hints = typing.get_type_hints(_typecheckingstub__8b4195a89a44a68af7fade1bdaaea19a0b3104ca5fc40a34ac2c5440a8d5f1d0)
|
|
2207
|
+
check_type(argname="argument fill_policy", value=fill_policy, expected_type=type_hints["fill_policy"])
|
|
2203
2208
|
check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
|
|
2204
2209
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2205
2210
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2211
|
+
if fill_policy is not None:
|
|
2212
|
+
self._values["fill_policy"] = fill_policy
|
|
2206
2213
|
if mode is not None:
|
|
2207
2214
|
self._values["mode"] = mode
|
|
2208
2215
|
if value is not None:
|
|
2209
2216
|
self._values["value"] = value
|
|
2210
2217
|
|
|
2218
|
+
@builtins.property
|
|
2219
|
+
def fill_policy(self) -> typing.Optional[builtins.str]:
|
|
2220
|
+
'''Defines the policy to apply to the avail suppression mode.
|
|
2221
|
+
|
|
2222
|
+
BEHIND_LIVE_EDGE will always use the full avail suppression policy. AFTER_LIVE_EDGE mode can be used to invoke partial ad break fills when a session starts mid-break. Valid values are FULL_AVAIL_ONLY and PARTIAL_AVAIL
|
|
2223
|
+
|
|
2224
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-playbackconfiguration-availsuppression.html#cfn-mediatailor-playbackconfiguration-availsuppression-fillpolicy
|
|
2225
|
+
'''
|
|
2226
|
+
result = self._values.get("fill_policy")
|
|
2227
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2228
|
+
|
|
2211
2229
|
@builtins.property
|
|
2212
2230
|
def mode(self) -> typing.Optional[builtins.str]:
|
|
2213
2231
|
'''Sets the ad suppression mode.
|
|
@@ -2760,6 +2778,7 @@ class CfnPlaybackConfigurationProps:
|
|
|
2760
2778
|
|
|
2761
2779
|
# the properties below are optional
|
|
2762
2780
|
avail_suppression=mediatailor.CfnPlaybackConfiguration.AvailSuppressionProperty(
|
|
2781
|
+
fill_policy="fillPolicy",
|
|
2763
2782
|
mode="mode",
|
|
2764
2783
|
value="value"
|
|
2765
2784
|
),
|
|
@@ -4589,6 +4608,7 @@ def _typecheckingstub__c84cc8c470c35ea1870d24a6e58a722cc2d0952d699c8580003497558
|
|
|
4589
4608
|
|
|
4590
4609
|
def _typecheckingstub__8b4195a89a44a68af7fade1bdaaea19a0b3104ca5fc40a34ac2c5440a8d5f1d0(
|
|
4591
4610
|
*,
|
|
4611
|
+
fill_policy: typing.Optional[builtins.str] = None,
|
|
4592
4612
|
mode: typing.Optional[builtins.str] = None,
|
|
4593
4613
|
value: typing.Optional[builtins.str] = None,
|
|
4594
4614
|
) -> None:
|
aws_cdk/aws_mwaa/__init__.py
CHANGED
|
@@ -112,7 +112,9 @@ class CfnEnvironment(
|
|
|
112
112
|
log_level="logLevel"
|
|
113
113
|
)
|
|
114
114
|
),
|
|
115
|
+
max_webservers=123,
|
|
115
116
|
max_workers=123,
|
|
117
|
+
min_webservers=123,
|
|
116
118
|
min_workers=123,
|
|
117
119
|
network_configuration=mwaa.CfnEnvironment.NetworkConfigurationProperty(
|
|
118
120
|
security_group_ids=["securityGroupIds"],
|
|
@@ -146,7 +148,9 @@ class CfnEnvironment(
|
|
|
146
148
|
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
147
149
|
kms_key: typing.Optional[builtins.str] = None,
|
|
148
150
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.LoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
151
|
+
max_webservers: typing.Optional[jsii.Number] = None,
|
|
149
152
|
max_workers: typing.Optional[jsii.Number] = None,
|
|
153
|
+
min_webservers: typing.Optional[jsii.Number] = None,
|
|
150
154
|
min_workers: typing.Optional[jsii.Number] = None,
|
|
151
155
|
network_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEnvironment.NetworkConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
152
156
|
plugins_s3_object_version: typing.Optional[builtins.str] = None,
|
|
@@ -173,7 +177,9 @@ class CfnEnvironment(
|
|
|
173
177
|
:param execution_role_arn: The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, ``arn:aws:iam::123456789:role/my-execution-role`` . To learn more, see `Amazon MWAA Execution role <https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html>`_ .
|
|
174
178
|
:param kms_key: The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
|
|
175
179
|
:param logging_configuration: The Apache Airflow logs being sent to CloudWatch Logs: ``DagProcessingLogs`` , ``SchedulerLogs`` , ``TaskLogs`` , ``WebserverLogs`` , ``WorkerLogs`` .
|
|
180
|
+
:param max_webservers: Maximum webserver compute units.
|
|
176
181
|
:param max_workers: The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the ``MaxWorkers`` field. For example, ``20`` . When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in ``MinWorkers`` .
|
|
182
|
+
:param min_webservers: Minimum webserver compute units.
|
|
177
183
|
:param min_workers: The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the ``MaxWorkers`` field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the ``MinWorkers`` field. For example, ``2`` .
|
|
178
184
|
:param network_configuration: The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see `About networking on Amazon MWAA <https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html>`_ .
|
|
179
185
|
:param plugins_s3_object_version: The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see `Installing custom plugins <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html>`_ .
|
|
@@ -202,7 +208,9 @@ class CfnEnvironment(
|
|
|
202
208
|
execution_role_arn=execution_role_arn,
|
|
203
209
|
kms_key=kms_key,
|
|
204
210
|
logging_configuration=logging_configuration,
|
|
211
|
+
max_webservers=max_webservers,
|
|
205
212
|
max_workers=max_workers,
|
|
213
|
+
min_webservers=min_webservers,
|
|
206
214
|
min_workers=min_workers,
|
|
207
215
|
network_configuration=network_configuration,
|
|
208
216
|
plugins_s3_object_version=plugins_s3_object_version,
|
|
@@ -483,6 +491,19 @@ class CfnEnvironment(
|
|
|
483
491
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
484
492
|
jsii.set(self, "loggingConfiguration", value)
|
|
485
493
|
|
|
494
|
+
@builtins.property
|
|
495
|
+
@jsii.member(jsii_name="maxWebservers")
|
|
496
|
+
def max_webservers(self) -> typing.Optional[jsii.Number]:
|
|
497
|
+
'''Maximum webserver compute units.'''
|
|
498
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxWebservers"))
|
|
499
|
+
|
|
500
|
+
@max_webservers.setter
|
|
501
|
+
def max_webservers(self, value: typing.Optional[jsii.Number]) -> None:
|
|
502
|
+
if __debug__:
|
|
503
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4ace80ce4bf224db5acf9b2d002dbf0c6465577906fe1f157e8937fd211c4052)
|
|
504
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
505
|
+
jsii.set(self, "maxWebservers", value)
|
|
506
|
+
|
|
486
507
|
@builtins.property
|
|
487
508
|
@jsii.member(jsii_name="maxWorkers")
|
|
488
509
|
def max_workers(self) -> typing.Optional[jsii.Number]:
|
|
@@ -496,6 +517,19 @@ class CfnEnvironment(
|
|
|
496
517
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
497
518
|
jsii.set(self, "maxWorkers", value)
|
|
498
519
|
|
|
520
|
+
@builtins.property
|
|
521
|
+
@jsii.member(jsii_name="minWebservers")
|
|
522
|
+
def min_webservers(self) -> typing.Optional[jsii.Number]:
|
|
523
|
+
'''Minimum webserver compute units.'''
|
|
524
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "minWebservers"))
|
|
525
|
+
|
|
526
|
+
@min_webservers.setter
|
|
527
|
+
def min_webservers(self, value: typing.Optional[jsii.Number]) -> None:
|
|
528
|
+
if __debug__:
|
|
529
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9db4aa506403c82a8e296ab8ac3cf5ed4d1b2abb57c31261f23c170b389d9069)
|
|
530
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
531
|
+
jsii.set(self, "minWebservers", value)
|
|
532
|
+
|
|
499
533
|
@builtins.property
|
|
500
534
|
@jsii.member(jsii_name="minWorkers")
|
|
501
535
|
def min_workers(self) -> typing.Optional[jsii.Number]:
|
|
@@ -1027,7 +1061,9 @@ class CfnEnvironment(
|
|
|
1027
1061
|
"execution_role_arn": "executionRoleArn",
|
|
1028
1062
|
"kms_key": "kmsKey",
|
|
1029
1063
|
"logging_configuration": "loggingConfiguration",
|
|
1064
|
+
"max_webservers": "maxWebservers",
|
|
1030
1065
|
"max_workers": "maxWorkers",
|
|
1066
|
+
"min_webservers": "minWebservers",
|
|
1031
1067
|
"min_workers": "minWorkers",
|
|
1032
1068
|
"network_configuration": "networkConfiguration",
|
|
1033
1069
|
"plugins_s3_object_version": "pluginsS3ObjectVersion",
|
|
@@ -1056,7 +1092,9 @@ class CfnEnvironmentProps:
|
|
|
1056
1092
|
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
1057
1093
|
kms_key: typing.Optional[builtins.str] = None,
|
|
1058
1094
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1095
|
+
max_webservers: typing.Optional[jsii.Number] = None,
|
|
1059
1096
|
max_workers: typing.Optional[jsii.Number] = None,
|
|
1097
|
+
min_webservers: typing.Optional[jsii.Number] = None,
|
|
1060
1098
|
min_workers: typing.Optional[jsii.Number] = None,
|
|
1061
1099
|
network_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.NetworkConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1062
1100
|
plugins_s3_object_version: typing.Optional[builtins.str] = None,
|
|
@@ -1082,7 +1120,9 @@ class CfnEnvironmentProps:
|
|
|
1082
1120
|
:param execution_role_arn: The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, ``arn:aws:iam::123456789:role/my-execution-role`` . To learn more, see `Amazon MWAA Execution role <https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html>`_ .
|
|
1083
1121
|
:param kms_key: The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
|
|
1084
1122
|
:param logging_configuration: The Apache Airflow logs being sent to CloudWatch Logs: ``DagProcessingLogs`` , ``SchedulerLogs`` , ``TaskLogs`` , ``WebserverLogs`` , ``WorkerLogs`` .
|
|
1123
|
+
:param max_webservers: Maximum webserver compute units.
|
|
1085
1124
|
:param max_workers: The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the ``MaxWorkers`` field. For example, ``20`` . When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in ``MinWorkers`` .
|
|
1125
|
+
:param min_webservers: Minimum webserver compute units.
|
|
1086
1126
|
:param min_workers: The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the ``MaxWorkers`` field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the ``MinWorkers`` field. For example, ``2`` .
|
|
1087
1127
|
:param network_configuration: The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see `About networking on Amazon MWAA <https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html>`_ .
|
|
1088
1128
|
:param plugins_s3_object_version: The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see `Installing custom plugins <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html>`_ .
|
|
@@ -1147,7 +1187,9 @@ class CfnEnvironmentProps:
|
|
|
1147
1187
|
log_level="logLevel"
|
|
1148
1188
|
)
|
|
1149
1189
|
),
|
|
1190
|
+
max_webservers=123,
|
|
1150
1191
|
max_workers=123,
|
|
1192
|
+
min_webservers=123,
|
|
1151
1193
|
min_workers=123,
|
|
1152
1194
|
network_configuration=mwaa.CfnEnvironment.NetworkConfigurationProperty(
|
|
1153
1195
|
security_group_ids=["securityGroupIds"],
|
|
@@ -1177,7 +1219,9 @@ class CfnEnvironmentProps:
|
|
|
1177
1219
|
check_type(argname="argument execution_role_arn", value=execution_role_arn, expected_type=type_hints["execution_role_arn"])
|
|
1178
1220
|
check_type(argname="argument kms_key", value=kms_key, expected_type=type_hints["kms_key"])
|
|
1179
1221
|
check_type(argname="argument logging_configuration", value=logging_configuration, expected_type=type_hints["logging_configuration"])
|
|
1222
|
+
check_type(argname="argument max_webservers", value=max_webservers, expected_type=type_hints["max_webservers"])
|
|
1180
1223
|
check_type(argname="argument max_workers", value=max_workers, expected_type=type_hints["max_workers"])
|
|
1224
|
+
check_type(argname="argument min_webservers", value=min_webservers, expected_type=type_hints["min_webservers"])
|
|
1181
1225
|
check_type(argname="argument min_workers", value=min_workers, expected_type=type_hints["min_workers"])
|
|
1182
1226
|
check_type(argname="argument network_configuration", value=network_configuration, expected_type=type_hints["network_configuration"])
|
|
1183
1227
|
check_type(argname="argument plugins_s3_object_version", value=plugins_s3_object_version, expected_type=type_hints["plugins_s3_object_version"])
|
|
@@ -1210,8 +1254,12 @@ class CfnEnvironmentProps:
|
|
|
1210
1254
|
self._values["kms_key"] = kms_key
|
|
1211
1255
|
if logging_configuration is not None:
|
|
1212
1256
|
self._values["logging_configuration"] = logging_configuration
|
|
1257
|
+
if max_webservers is not None:
|
|
1258
|
+
self._values["max_webservers"] = max_webservers
|
|
1213
1259
|
if max_workers is not None:
|
|
1214
1260
|
self._values["max_workers"] = max_workers
|
|
1261
|
+
if min_webservers is not None:
|
|
1262
|
+
self._values["min_webservers"] = min_webservers
|
|
1215
1263
|
if min_workers is not None:
|
|
1216
1264
|
self._values["min_workers"] = min_workers
|
|
1217
1265
|
if network_configuration is not None:
|
|
@@ -1341,6 +1389,15 @@ class CfnEnvironmentProps:
|
|
|
1341
1389
|
result = self._values.get("logging_configuration")
|
|
1342
1390
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnEnvironment.LoggingConfigurationProperty]], result)
|
|
1343
1391
|
|
|
1392
|
+
@builtins.property
|
|
1393
|
+
def max_webservers(self) -> typing.Optional[jsii.Number]:
|
|
1394
|
+
'''Maximum webserver compute units.
|
|
1395
|
+
|
|
1396
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-maxwebservers
|
|
1397
|
+
'''
|
|
1398
|
+
result = self._values.get("max_webservers")
|
|
1399
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1400
|
+
|
|
1344
1401
|
@builtins.property
|
|
1345
1402
|
def max_workers(self) -> typing.Optional[jsii.Number]:
|
|
1346
1403
|
'''The maximum number of workers that you want to run in your environment.
|
|
@@ -1352,6 +1409,15 @@ class CfnEnvironmentProps:
|
|
|
1352
1409
|
result = self._values.get("max_workers")
|
|
1353
1410
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1354
1411
|
|
|
1412
|
+
@builtins.property
|
|
1413
|
+
def min_webservers(self) -> typing.Optional[jsii.Number]:
|
|
1414
|
+
'''Minimum webserver compute units.
|
|
1415
|
+
|
|
1416
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-minwebservers
|
|
1417
|
+
'''
|
|
1418
|
+
result = self._values.get("min_webservers")
|
|
1419
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1420
|
+
|
|
1355
1421
|
@builtins.property
|
|
1356
1422
|
def min_workers(self) -> typing.Optional[jsii.Number]:
|
|
1357
1423
|
'''The minimum number of workers that you want to run in your environment.
|
|
@@ -1530,7 +1596,9 @@ def _typecheckingstub__558d6a60af086ab1a40ad8057fcb128456129bbbd328752ab90d8a6d5
|
|
|
1530
1596
|
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
1531
1597
|
kms_key: typing.Optional[builtins.str] = None,
|
|
1532
1598
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1599
|
+
max_webservers: typing.Optional[jsii.Number] = None,
|
|
1533
1600
|
max_workers: typing.Optional[jsii.Number] = None,
|
|
1601
|
+
min_webservers: typing.Optional[jsii.Number] = None,
|
|
1534
1602
|
min_workers: typing.Optional[jsii.Number] = None,
|
|
1535
1603
|
network_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.NetworkConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1536
1604
|
plugins_s3_object_version: typing.Optional[builtins.str] = None,
|
|
@@ -1614,12 +1682,24 @@ def _typecheckingstub__dc4cab34c101780b1065b32efa9590f9b8c2d6fa987fc778866acc8e1
|
|
|
1614
1682
|
"""Type checking stubs"""
|
|
1615
1683
|
pass
|
|
1616
1684
|
|
|
1685
|
+
def _typecheckingstub__4ace80ce4bf224db5acf9b2d002dbf0c6465577906fe1f157e8937fd211c4052(
|
|
1686
|
+
value: typing.Optional[jsii.Number],
|
|
1687
|
+
) -> None:
|
|
1688
|
+
"""Type checking stubs"""
|
|
1689
|
+
pass
|
|
1690
|
+
|
|
1617
1691
|
def _typecheckingstub__ecb875076a1c8d331e4bdfcf6a1b5ea37cdddb27dc548d6ee55f94defe51ef6f(
|
|
1618
1692
|
value: typing.Optional[jsii.Number],
|
|
1619
1693
|
) -> None:
|
|
1620
1694
|
"""Type checking stubs"""
|
|
1621
1695
|
pass
|
|
1622
1696
|
|
|
1697
|
+
def _typecheckingstub__9db4aa506403c82a8e296ab8ac3cf5ed4d1b2abb57c31261f23c170b389d9069(
|
|
1698
|
+
value: typing.Optional[jsii.Number],
|
|
1699
|
+
) -> None:
|
|
1700
|
+
"""Type checking stubs"""
|
|
1701
|
+
pass
|
|
1702
|
+
|
|
1623
1703
|
def _typecheckingstub__a55d820acc52ddec2ba61ae2c198accc1e02d19de67a71e84a3356d7371702ab(
|
|
1624
1704
|
value: typing.Optional[jsii.Number],
|
|
1625
1705
|
) -> None:
|
|
@@ -1737,7 +1817,9 @@ def _typecheckingstub__9d7baed808ece1f6aca4fce5dbeac04c731d688aec6f3395e1f0892ea
|
|
|
1737
1817
|
execution_role_arn: typing.Optional[builtins.str] = None,
|
|
1738
1818
|
kms_key: typing.Optional[builtins.str] = None,
|
|
1739
1819
|
logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1820
|
+
max_webservers: typing.Optional[jsii.Number] = None,
|
|
1740
1821
|
max_workers: typing.Optional[jsii.Number] = None,
|
|
1822
|
+
min_webservers: typing.Optional[jsii.Number] = None,
|
|
1741
1823
|
min_workers: typing.Optional[jsii.Number] = None,
|
|
1742
1824
|
network_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEnvironment.NetworkConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1743
1825
|
plugins_s3_object_version: typing.Optional[builtins.str] = None,
|