aws-cdk-lib 2.171.1__py3-none-any.whl → 2.172.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/__init__.py +471 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1314 -124
- aws_cdk/aws_appsync/__init__.py +159 -136
- aws_cdk/aws_autoscaling/__init__.py +81 -24
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +775 -0
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +11 -5
- aws_cdk/aws_cloudtrail/__init__.py +753 -0
- aws_cdk/aws_cognito/__init__.py +825 -4
- aws_cdk/aws_connect/__init__.py +429 -0
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_ec2/__init__.py +872 -5
- aws_cdk/aws_ecs/__init__.py +12 -7
- aws_cdk/aws_eks/__init__.py +709 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
- aws_cdk/aws_events/__init__.py +515 -8
- aws_cdk/aws_iot/__init__.py +42 -4
- aws_cdk/aws_iotfleetwise/__init__.py +510 -0
- aws_cdk/aws_iotsitewise/__init__.py +156 -0
- aws_cdk/aws_lambda/__init__.py +14 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +3 -1
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +140 -8
- aws_cdk/aws_resourcegroups/__init__.py +349 -0
- aws_cdk/aws_route53_targets/__init__.py +82 -0
- aws_cdk/aws_route53resolver/__init__.py +15 -6
- aws_cdk/aws_s3express/__init__.py +403 -2
- aws_cdk/aws_sagemaker/__init__.py +124 -112
- aws_cdk/aws_ses/__init__.py +79 -41
- aws_cdk/aws_wisdom/__init__.py +4713 -172
- aws_cdk/aws_workspacesweb/__init__.py +1024 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_m2/__init__.py
CHANGED
|
@@ -550,6 +550,243 @@ class CfnApplicationProps:
|
|
|
550
550
|
)
|
|
551
551
|
|
|
552
552
|
|
|
553
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
554
|
+
class CfnDeployment(
|
|
555
|
+
_CfnResource_9df397a6,
|
|
556
|
+
metaclass=jsii.JSIIMeta,
|
|
557
|
+
jsii_type="aws-cdk-lib.aws_m2.CfnDeployment",
|
|
558
|
+
):
|
|
559
|
+
'''Represents a deployment resource of an AWS Mainframe Modernization (M2) application to a specified environment.
|
|
560
|
+
|
|
561
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-deployment.html
|
|
562
|
+
:cloudformationResource: AWS::M2::Deployment
|
|
563
|
+
:exampleMetadata: fixture=_generated
|
|
564
|
+
|
|
565
|
+
Example::
|
|
566
|
+
|
|
567
|
+
# The code below shows an example of how to instantiate this type.
|
|
568
|
+
# The values are placeholders you should change.
|
|
569
|
+
from aws_cdk import aws_m2 as m2
|
|
570
|
+
|
|
571
|
+
cfn_deployment = m2.CfnDeployment(self, "MyCfnDeployment",
|
|
572
|
+
application_id="applicationId",
|
|
573
|
+
application_version=123,
|
|
574
|
+
environment_id="environmentId"
|
|
575
|
+
)
|
|
576
|
+
'''
|
|
577
|
+
|
|
578
|
+
def __init__(
|
|
579
|
+
self,
|
|
580
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
581
|
+
id: builtins.str,
|
|
582
|
+
*,
|
|
583
|
+
application_id: builtins.str,
|
|
584
|
+
application_version: jsii.Number,
|
|
585
|
+
environment_id: builtins.str,
|
|
586
|
+
) -> None:
|
|
587
|
+
'''
|
|
588
|
+
:param scope: Scope in which this resource is defined.
|
|
589
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
590
|
+
:param application_id: The application ID.
|
|
591
|
+
:param application_version: The version number of the application to deploy.
|
|
592
|
+
:param environment_id: The environment ID.
|
|
593
|
+
'''
|
|
594
|
+
if __debug__:
|
|
595
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8b6c65beece51e45395e3fc04099fcf28d8b6bb74185fa225b364239f69b17f2)
|
|
596
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
597
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
598
|
+
props = CfnDeploymentProps(
|
|
599
|
+
application_id=application_id,
|
|
600
|
+
application_version=application_version,
|
|
601
|
+
environment_id=environment_id,
|
|
602
|
+
)
|
|
603
|
+
|
|
604
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
605
|
+
|
|
606
|
+
@jsii.member(jsii_name="inspect")
|
|
607
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
608
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
609
|
+
|
|
610
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
611
|
+
'''
|
|
612
|
+
if __debug__:
|
|
613
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0dc20b8bfbd7682da4f3040448bd0b215204a6e3de0f3d19813db444c64d30b8)
|
|
614
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
615
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
616
|
+
|
|
617
|
+
@jsii.member(jsii_name="renderProperties")
|
|
618
|
+
def _render_properties(
|
|
619
|
+
self,
|
|
620
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
621
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
622
|
+
'''
|
|
623
|
+
:param props: -
|
|
624
|
+
'''
|
|
625
|
+
if __debug__:
|
|
626
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3183c3579030f4df948aeef73c84162805e4733fa9927a4cbf98833465d999b0)
|
|
627
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
628
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
629
|
+
|
|
630
|
+
@jsii.python.classproperty
|
|
631
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
632
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
633
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
634
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
635
|
+
|
|
636
|
+
@builtins.property
|
|
637
|
+
@jsii.member(jsii_name="attrDeploymentId")
|
|
638
|
+
def attr_deployment_id(self) -> builtins.str:
|
|
639
|
+
'''The deployment ID.
|
|
640
|
+
|
|
641
|
+
:cloudformationAttribute: DeploymentId
|
|
642
|
+
'''
|
|
643
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDeploymentId"))
|
|
644
|
+
|
|
645
|
+
@builtins.property
|
|
646
|
+
@jsii.member(jsii_name="attrStatus")
|
|
647
|
+
def attr_status(self) -> builtins.str:
|
|
648
|
+
'''The status of the deployment.
|
|
649
|
+
|
|
650
|
+
:cloudformationAttribute: Status
|
|
651
|
+
'''
|
|
652
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
653
|
+
|
|
654
|
+
@builtins.property
|
|
655
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
656
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
657
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
658
|
+
|
|
659
|
+
@builtins.property
|
|
660
|
+
@jsii.member(jsii_name="applicationId")
|
|
661
|
+
def application_id(self) -> builtins.str:
|
|
662
|
+
'''The application ID.'''
|
|
663
|
+
return typing.cast(builtins.str, jsii.get(self, "applicationId"))
|
|
664
|
+
|
|
665
|
+
@application_id.setter
|
|
666
|
+
def application_id(self, value: builtins.str) -> None:
|
|
667
|
+
if __debug__:
|
|
668
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5a78ced6dd1074a1f7da7b3c8c10b56f1db28c052cf0bb38c79f2baa47395576)
|
|
669
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
670
|
+
jsii.set(self, "applicationId", value) # pyright: ignore[reportArgumentType]
|
|
671
|
+
|
|
672
|
+
@builtins.property
|
|
673
|
+
@jsii.member(jsii_name="applicationVersion")
|
|
674
|
+
def application_version(self) -> jsii.Number:
|
|
675
|
+
'''The version number of the application to deploy.'''
|
|
676
|
+
return typing.cast(jsii.Number, jsii.get(self, "applicationVersion"))
|
|
677
|
+
|
|
678
|
+
@application_version.setter
|
|
679
|
+
def application_version(self, value: jsii.Number) -> None:
|
|
680
|
+
if __debug__:
|
|
681
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8de1e90a824fac357559fd213977c9951178f216f6856a3d934e2db723dc3214)
|
|
682
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
683
|
+
jsii.set(self, "applicationVersion", value) # pyright: ignore[reportArgumentType]
|
|
684
|
+
|
|
685
|
+
@builtins.property
|
|
686
|
+
@jsii.member(jsii_name="environmentId")
|
|
687
|
+
def environment_id(self) -> builtins.str:
|
|
688
|
+
'''The environment ID.'''
|
|
689
|
+
return typing.cast(builtins.str, jsii.get(self, "environmentId"))
|
|
690
|
+
|
|
691
|
+
@environment_id.setter
|
|
692
|
+
def environment_id(self, value: builtins.str) -> None:
|
|
693
|
+
if __debug__:
|
|
694
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6cfba6a94516651ce63b371b491e74b953b40e968f5687ab9809f19ba24e3654)
|
|
695
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
696
|
+
jsii.set(self, "environmentId", value) # pyright: ignore[reportArgumentType]
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
@jsii.data_type(
|
|
700
|
+
jsii_type="aws-cdk-lib.aws_m2.CfnDeploymentProps",
|
|
701
|
+
jsii_struct_bases=[],
|
|
702
|
+
name_mapping={
|
|
703
|
+
"application_id": "applicationId",
|
|
704
|
+
"application_version": "applicationVersion",
|
|
705
|
+
"environment_id": "environmentId",
|
|
706
|
+
},
|
|
707
|
+
)
|
|
708
|
+
class CfnDeploymentProps:
|
|
709
|
+
def __init__(
|
|
710
|
+
self,
|
|
711
|
+
*,
|
|
712
|
+
application_id: builtins.str,
|
|
713
|
+
application_version: jsii.Number,
|
|
714
|
+
environment_id: builtins.str,
|
|
715
|
+
) -> None:
|
|
716
|
+
'''Properties for defining a ``CfnDeployment``.
|
|
717
|
+
|
|
718
|
+
:param application_id: The application ID.
|
|
719
|
+
:param application_version: The version number of the application to deploy.
|
|
720
|
+
:param environment_id: The environment ID.
|
|
721
|
+
|
|
722
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-deployment.html
|
|
723
|
+
:exampleMetadata: fixture=_generated
|
|
724
|
+
|
|
725
|
+
Example::
|
|
726
|
+
|
|
727
|
+
# The code below shows an example of how to instantiate this type.
|
|
728
|
+
# The values are placeholders you should change.
|
|
729
|
+
from aws_cdk import aws_m2 as m2
|
|
730
|
+
|
|
731
|
+
cfn_deployment_props = m2.CfnDeploymentProps(
|
|
732
|
+
application_id="applicationId",
|
|
733
|
+
application_version=123,
|
|
734
|
+
environment_id="environmentId"
|
|
735
|
+
)
|
|
736
|
+
'''
|
|
737
|
+
if __debug__:
|
|
738
|
+
type_hints = typing.get_type_hints(_typecheckingstub__16b89efaa330e4afca136269f782db3a8968c7c32eb7c4dfe8e64c6b937151c9)
|
|
739
|
+
check_type(argname="argument application_id", value=application_id, expected_type=type_hints["application_id"])
|
|
740
|
+
check_type(argname="argument application_version", value=application_version, expected_type=type_hints["application_version"])
|
|
741
|
+
check_type(argname="argument environment_id", value=environment_id, expected_type=type_hints["environment_id"])
|
|
742
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
743
|
+
"application_id": application_id,
|
|
744
|
+
"application_version": application_version,
|
|
745
|
+
"environment_id": environment_id,
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
@builtins.property
|
|
749
|
+
def application_id(self) -> builtins.str:
|
|
750
|
+
'''The application ID.
|
|
751
|
+
|
|
752
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-deployment.html#cfn-m2-deployment-applicationid
|
|
753
|
+
'''
|
|
754
|
+
result = self._values.get("application_id")
|
|
755
|
+
assert result is not None, "Required property 'application_id' is missing"
|
|
756
|
+
return typing.cast(builtins.str, result)
|
|
757
|
+
|
|
758
|
+
@builtins.property
|
|
759
|
+
def application_version(self) -> jsii.Number:
|
|
760
|
+
'''The version number of the application to deploy.
|
|
761
|
+
|
|
762
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-deployment.html#cfn-m2-deployment-applicationversion
|
|
763
|
+
'''
|
|
764
|
+
result = self._values.get("application_version")
|
|
765
|
+
assert result is not None, "Required property 'application_version' is missing"
|
|
766
|
+
return typing.cast(jsii.Number, result)
|
|
767
|
+
|
|
768
|
+
@builtins.property
|
|
769
|
+
def environment_id(self) -> builtins.str:
|
|
770
|
+
'''The environment ID.
|
|
771
|
+
|
|
772
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-deployment.html#cfn-m2-deployment-environmentid
|
|
773
|
+
'''
|
|
774
|
+
result = self._values.get("environment_id")
|
|
775
|
+
assert result is not None, "Required property 'environment_id' is missing"
|
|
776
|
+
return typing.cast(builtins.str, result)
|
|
777
|
+
|
|
778
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
779
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
780
|
+
|
|
781
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
782
|
+
return not (rhs == self)
|
|
783
|
+
|
|
784
|
+
def __repr__(self) -> str:
|
|
785
|
+
return "CfnDeploymentProps(%s)" % ", ".join(
|
|
786
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
787
|
+
)
|
|
788
|
+
|
|
789
|
+
|
|
553
790
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
554
791
|
class CfnEnvironment(
|
|
555
792
|
_CfnResource_9df397a6,
|
|
@@ -1468,6 +1705,8 @@ class CfnEnvironmentProps:
|
|
|
1468
1705
|
__all__ = [
|
|
1469
1706
|
"CfnApplication",
|
|
1470
1707
|
"CfnApplicationProps",
|
|
1708
|
+
"CfnDeployment",
|
|
1709
|
+
"CfnDeploymentProps",
|
|
1471
1710
|
"CfnEnvironment",
|
|
1472
1711
|
"CfnEnvironmentProps",
|
|
1473
1712
|
]
|
|
@@ -1564,6 +1803,56 @@ def _typecheckingstub__5ed1db61d31dff8aa8e94733976425175ee39f97b9a27b2b69f86017a
|
|
|
1564
1803
|
"""Type checking stubs"""
|
|
1565
1804
|
pass
|
|
1566
1805
|
|
|
1806
|
+
def _typecheckingstub__8b6c65beece51e45395e3fc04099fcf28d8b6bb74185fa225b364239f69b17f2(
|
|
1807
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1808
|
+
id: builtins.str,
|
|
1809
|
+
*,
|
|
1810
|
+
application_id: builtins.str,
|
|
1811
|
+
application_version: jsii.Number,
|
|
1812
|
+
environment_id: builtins.str,
|
|
1813
|
+
) -> None:
|
|
1814
|
+
"""Type checking stubs"""
|
|
1815
|
+
pass
|
|
1816
|
+
|
|
1817
|
+
def _typecheckingstub__0dc20b8bfbd7682da4f3040448bd0b215204a6e3de0f3d19813db444c64d30b8(
|
|
1818
|
+
inspector: _TreeInspector_488e0dd5,
|
|
1819
|
+
) -> None:
|
|
1820
|
+
"""Type checking stubs"""
|
|
1821
|
+
pass
|
|
1822
|
+
|
|
1823
|
+
def _typecheckingstub__3183c3579030f4df948aeef73c84162805e4733fa9927a4cbf98833465d999b0(
|
|
1824
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1825
|
+
) -> None:
|
|
1826
|
+
"""Type checking stubs"""
|
|
1827
|
+
pass
|
|
1828
|
+
|
|
1829
|
+
def _typecheckingstub__5a78ced6dd1074a1f7da7b3c8c10b56f1db28c052cf0bb38c79f2baa47395576(
|
|
1830
|
+
value: builtins.str,
|
|
1831
|
+
) -> None:
|
|
1832
|
+
"""Type checking stubs"""
|
|
1833
|
+
pass
|
|
1834
|
+
|
|
1835
|
+
def _typecheckingstub__8de1e90a824fac357559fd213977c9951178f216f6856a3d934e2db723dc3214(
|
|
1836
|
+
value: jsii.Number,
|
|
1837
|
+
) -> None:
|
|
1838
|
+
"""Type checking stubs"""
|
|
1839
|
+
pass
|
|
1840
|
+
|
|
1841
|
+
def _typecheckingstub__6cfba6a94516651ce63b371b491e74b953b40e968f5687ab9809f19ba24e3654(
|
|
1842
|
+
value: builtins.str,
|
|
1843
|
+
) -> None:
|
|
1844
|
+
"""Type checking stubs"""
|
|
1845
|
+
pass
|
|
1846
|
+
|
|
1847
|
+
def _typecheckingstub__16b89efaa330e4afca136269f782db3a8968c7c32eb7c4dfe8e64c6b937151c9(
|
|
1848
|
+
*,
|
|
1849
|
+
application_id: builtins.str,
|
|
1850
|
+
application_version: jsii.Number,
|
|
1851
|
+
environment_id: builtins.str,
|
|
1852
|
+
) -> None:
|
|
1853
|
+
"""Type checking stubs"""
|
|
1854
|
+
pass
|
|
1855
|
+
|
|
1567
1856
|
def _typecheckingstub__4b13501bd562f397b7070738470ee5bd51ff8aa50c0a2fb6c33998acdd3e0ac0(
|
|
1568
1857
|
scope: _constructs_77d1e7e8.Construct,
|
|
1569
1858
|
id: builtins.str,
|
aws_cdk/aws_mwaa/__init__.py
CHANGED
|
@@ -192,9 +192,9 @@ class CfnEnvironment(
|
|
|
192
192
|
: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>`_ .
|
|
193
193
|
: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).
|
|
194
194
|
:param logging_configuration: The Apache Airflow logs being sent to CloudWatch Logs: ``DagProcessingLogs`` , ``SchedulerLogs`` , ``TaskLogs`` , ``WebserverLogs`` , ``WorkerLogs`` .
|
|
195
|
-
:param max_webservers: The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in ``MaxWebserers`` . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values:
|
|
195
|
+
:param max_webservers: The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in ``MaxWebserers`` . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
|
|
196
196
|
: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`` .
|
|
197
|
-
:param min_webservers: The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values:
|
|
197
|
+
:param min_webservers: The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
|
|
198
198
|
: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`` .
|
|
199
199
|
: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>`_ .
|
|
200
200
|
: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>`_ .
|
|
@@ -1135,9 +1135,9 @@ class CfnEnvironmentProps:
|
|
|
1135
1135
|
: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>`_ .
|
|
1136
1136
|
: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).
|
|
1137
1137
|
:param logging_configuration: The Apache Airflow logs being sent to CloudWatch Logs: ``DagProcessingLogs`` , ``SchedulerLogs`` , ``TaskLogs`` , ``WebserverLogs`` , ``WorkerLogs`` .
|
|
1138
|
-
:param max_webservers: The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in ``MaxWebserers`` . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values:
|
|
1138
|
+
:param max_webservers: The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in ``MaxWebserers`` . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
|
|
1139
1139
|
: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`` .
|
|
1140
|
-
:param min_webservers: The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values:
|
|
1140
|
+
:param min_webservers: The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` . Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
|
|
1141
1141
|
: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`` .
|
|
1142
1142
|
: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>`_ .
|
|
1143
1143
|
: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>`_ .
|
|
@@ -1410,7 +1410,7 @@ class CfnEnvironmentProps:
|
|
|
1410
1410
|
|
|
1411
1411
|
Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in ``MaxWebserers`` . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` .
|
|
1412
1412
|
|
|
1413
|
-
Valid values:
|
|
1413
|
+
Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
|
|
1414
1414
|
|
|
1415
1415
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-maxwebservers
|
|
1416
1416
|
'''
|
|
@@ -1434,7 +1434,7 @@ class CfnEnvironmentProps:
|
|
|
1434
1434
|
|
|
1435
1435
|
Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for ``MaxWebservers`` when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in ``MinxWebserers`` .
|
|
1436
1436
|
|
|
1437
|
-
Valid values:
|
|
1437
|
+
Valid values: For environments larger than mw1.micro, accepts values from ``2`` to ``5`` . Defaults to ``2`` for all environment sizes except mw1.micro, which defaults to ``1`` .
|
|
1438
1438
|
|
|
1439
1439
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-minwebservers
|
|
1440
1440
|
'''
|