aws-cdk-lib 2.217.0__py3-none-any.whl → 2.219.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.

Files changed (140) hide show
  1. aws_cdk/__init__.py +19 -19
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.217.0.jsii.tgz → aws-cdk-lib@2.219.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +185 -87
  5. aws_cdk/aws_apigateway/__init__.py +242 -0
  6. aws_cdk/aws_apigatewayv2/__init__.py +58 -0
  7. aws_cdk/aws_appconfig/__init__.py +145 -0
  8. aws_cdk/aws_appflow/__init__.py +116 -0
  9. aws_cdk/aws_appintegrations/__init__.py +116 -0
  10. aws_cdk/aws_appstream/__init__.py +87 -0
  11. aws_cdk/aws_appsync/__init__.py +58 -0
  12. aws_cdk/aws_apptest/__init__.py +58 -0
  13. aws_cdk/aws_athena/__init__.py +58 -0
  14. aws_cdk/aws_auditmanager/__init__.py +58 -0
  15. aws_cdk/aws_backup/__init__.py +145 -0
  16. aws_cdk/aws_batch/__init__.py +58 -0
  17. aws_cdk/aws_bcmdataexports/__init__.py +9 -0
  18. aws_cdk/aws_bedrock/__init__.py +501 -1
  19. aws_cdk/aws_bedrockagentcore/__init__.py +297 -157
  20. aws_cdk/aws_cassandra/__init__.py +29 -0
  21. aws_cdk/aws_certificatemanager/__init__.py +29 -0
  22. aws_cdk/aws_cloudfront/__init__.py +57 -0
  23. aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
  24. aws_cdk/aws_cloudtrail/__init__.py +58 -0
  25. aws_cdk/aws_cloudwatch/__init__.py +145 -0
  26. aws_cdk/aws_codebuild/__init__.py +454 -74
  27. aws_cdk/aws_codedeploy/__init__.py +29 -0
  28. aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
  29. aws_cdk/aws_codepipeline/__init__.py +29 -0
  30. aws_cdk/aws_cognito/__init__.py +87 -0
  31. aws_cdk/aws_config/__init__.py +58 -0
  32. aws_cdk/aws_connect/__init__.py +9 -9
  33. aws_cdk/aws_cur/__init__.py +34 -3
  34. aws_cdk/aws_customerprofiles/__init__.py +58 -0
  35. aws_cdk/aws_datapipeline/__init__.py +29 -0
  36. aws_cdk/aws_datasync/__init__.py +44 -22
  37. aws_cdk/aws_datazone/__init__.py +93 -33
  38. aws_cdk/aws_dms/__init__.py +61 -5
  39. aws_cdk/aws_docdb/__init__.py +153 -25
  40. aws_cdk/aws_dsql/__init__.py +29 -0
  41. aws_cdk/aws_dynamodb/__init__.py +58 -0
  42. aws_cdk/aws_ec2/__init__.py +4598 -22
  43. aws_cdk/aws_ecr/__init__.py +116 -0
  44. aws_cdk/aws_ecs/__init__.py +2768 -79
  45. aws_cdk/aws_efs/__init__.py +116 -0
  46. aws_cdk/aws_eks/__init__.py +118 -0
  47. aws_cdk/aws_elasticache/__init__.py +261 -0
  48. aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
  49. aws_cdk/aws_emr/__init__.py +87 -0
  50. aws_cdk/aws_emrcontainers/__init__.py +58 -0
  51. aws_cdk/aws_emrserverless/__init__.py +58 -0
  52. aws_cdk/aws_entityresolution/__init__.py +163 -0
  53. aws_cdk/aws_events/__init__.py +290 -0
  54. aws_cdk/aws_finspace/__init__.py +58 -0
  55. aws_cdk/aws_gamelift/__init__.py +435 -0
  56. aws_cdk/aws_glue/__init__.py +145 -0
  57. aws_cdk/aws_greengrass/__init__.py +464 -0
  58. aws_cdk/aws_greengrassv2/__init__.py +29 -0
  59. aws_cdk/aws_groundstation/__init__.py +87 -0
  60. aws_cdk/aws_guardduty/__init__.py +87 -0
  61. aws_cdk/aws_healthimaging/__init__.py +58 -0
  62. aws_cdk/aws_healthlake/__init__.py +29 -0
  63. aws_cdk/aws_internetmonitor/__init__.py +58 -0
  64. aws_cdk/aws_iot/__init__.py +957 -0
  65. aws_cdk/aws_iotanalytics/__init__.py +116 -0
  66. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +58 -0
  67. aws_cdk/aws_iotevents/__init__.py +87 -0
  68. aws_cdk/aws_iotfleethub/__init__.py +58 -0
  69. aws_cdk/aws_iotfleetwise/__init__.py +116 -0
  70. aws_cdk/aws_iotsitewise/__init__.py +493 -0
  71. aws_cdk/aws_iottwinmaker/__init__.py +145 -0
  72. aws_cdk/aws_iotwireless/__init__.py +464 -0
  73. aws_cdk/aws_kendra/__init__.py +116 -0
  74. aws_cdk/aws_kinesis/__init__.py +58 -0
  75. aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
  76. aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
  77. aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
  78. aws_cdk/aws_kinesisvideo/__init__.py +29 -0
  79. aws_cdk/aws_kms/__init__.py +58 -0
  80. aws_cdk/aws_lambda/__init__.py +58 -0
  81. aws_cdk/aws_lex/__init__.py +29 -0
  82. aws_cdk/aws_location/__init__.py +348 -0
  83. aws_cdk/aws_logs/__init__.py +232 -0
  84. aws_cdk/aws_lookoutequipment/__init__.py +29 -0
  85. aws_cdk/aws_lookoutvision/__init__.py +58 -0
  86. aws_cdk/aws_managedblockchain/__init__.py +145 -0
  87. aws_cdk/aws_medialive/__init__.py +435 -0
  88. aws_cdk/aws_mediatailor/__init__.py +174 -0
  89. aws_cdk/aws_memorydb/__init__.py +203 -0
  90. aws_cdk/aws_msk/__init__.py +4 -2
  91. aws_cdk/aws_mwaa/__init__.py +58 -0
  92. aws_cdk/aws_networkfirewall/__init__.py +6 -2
  93. aws_cdk/aws_networkmanager/__init__.py +29 -0
  94. aws_cdk/aws_nimblestudio/__init__.py +29 -0
  95. aws_cdk/aws_omics/__init__.py +174 -0
  96. aws_cdk/aws_opensearchserverless/__init__.py +58 -0
  97. aws_cdk/aws_opensearchservice/__init__.py +58 -0
  98. aws_cdk/aws_opsworks/__init__.py +29 -0
  99. aws_cdk/aws_organizations/__init__.py +116 -0
  100. aws_cdk/aws_panorama/__init__.py +116 -0
  101. aws_cdk/aws_pinpoint/__init__.py +116 -0
  102. aws_cdk/aws_qbusiness/__init__.py +232 -0
  103. aws_cdk/aws_qldb/__init__.py +29 -0
  104. aws_cdk/aws_quicksight/__init__.py +38 -0
  105. aws_cdk/aws_rds/__init__.py +97 -14
  106. aws_cdk/aws_redshift/__init__.py +29 -0
  107. aws_cdk/aws_rekognition/__init__.py +87 -0
  108. aws_cdk/aws_resourcegroups/__init__.py +58 -0
  109. aws_cdk/aws_rolesanywhere/__init__.py +145 -0
  110. aws_cdk/aws_route53/__init__.py +8 -2
  111. aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
  112. aws_cdk/aws_route53resolver/__init__.py +29 -0
  113. aws_cdk/aws_s3/__init__.py +116 -0
  114. aws_cdk/aws_s3express/__init__.py +116 -0
  115. aws_cdk/aws_sagemaker/__init__.py +464 -0
  116. aws_cdk/aws_scheduler/__init__.py +29 -0
  117. aws_cdk/aws_secretsmanager/__init__.py +29 -0
  118. aws_cdk/aws_servicecatalog/__init__.py +107 -86
  119. aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
  120. aws_cdk/aws_servicediscovery/__init__.py +58 -0
  121. aws_cdk/aws_ses/__init__.py +261 -0
  122. aws_cdk/aws_simspaceweaver/__init__.py +29 -0
  123. aws_cdk/aws_smsvoice/__init__.py +319 -0
  124. aws_cdk/aws_ssm/__init__.py +87 -0
  125. aws_cdk/aws_synthetics/__init__.py +29 -0
  126. aws_cdk/aws_timestream/__init__.py +87 -0
  127. aws_cdk/aws_transfer/__init__.py +261 -0
  128. aws_cdk/aws_verifiedpermissions/__init__.py +58 -0
  129. aws_cdk/aws_voiceid/__init__.py +29 -0
  130. aws_cdk/aws_wisdom/__init__.py +232 -0
  131. aws_cdk/aws_workspaces/__init__.py +58 -0
  132. aws_cdk/aws_workspacesinstances/__init__.py +29 -0
  133. aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
  134. aws_cdk/pipelines/__init__.py +5 -1
  135. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/METADATA +2 -2
  136. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/RECORD +140 -140
  137. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/LICENSE +0 -0
  138. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/NOTICE +0 -0
  139. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/WHEEL +0 -0
  140. {aws_cdk_lib-2.217.0.dist-info → aws_cdk_lib-2.219.0.dist-info}/top_level.txt +0 -0
@@ -1961,6 +1961,48 @@ class CfnChannel(
1961
1961
 
1962
1962
  jsii.create(self.__class__, self, [scope, id, props])
1963
1963
 
1964
+ @jsii.member(jsii_name="fromChannelArn")
1965
+ @builtins.classmethod
1966
+ def from_channel_arn(
1967
+ cls,
1968
+ scope: _constructs_77d1e7e8.Construct,
1969
+ id: builtins.str,
1970
+ arn: builtins.str,
1971
+ ) -> IChannelRef:
1972
+ '''Creates a new IChannelRef from an ARN.
1973
+
1974
+ :param scope: -
1975
+ :param id: -
1976
+ :param arn: -
1977
+ '''
1978
+ if __debug__:
1979
+ type_hints = typing.get_type_hints(_typecheckingstub__4d19144d331ba31edd24b53fe62ecd68291785594e4276f682970808562a8790)
1980
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1981
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1982
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
1983
+ return typing.cast(IChannelRef, jsii.sinvoke(cls, "fromChannelArn", [scope, id, arn]))
1984
+
1985
+ @jsii.member(jsii_name="fromChannelName")
1986
+ @builtins.classmethod
1987
+ def from_channel_name(
1988
+ cls,
1989
+ scope: _constructs_77d1e7e8.Construct,
1990
+ id: builtins.str,
1991
+ channel_name: builtins.str,
1992
+ ) -> IChannelRef:
1993
+ '''Creates a new IChannelRef from a channelName.
1994
+
1995
+ :param scope: -
1996
+ :param id: -
1997
+ :param channel_name: -
1998
+ '''
1999
+ if __debug__:
2000
+ type_hints = typing.get_type_hints(_typecheckingstub__08ab9dccb4a244c93c8642dce766e1e9ee544479257409b787228df15d5435d7)
2001
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
2002
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
2003
+ check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
2004
+ return typing.cast(IChannelRef, jsii.sinvoke(cls, "fromChannelName", [scope, id, channel_name]))
2005
+
1964
2006
  @jsii.member(jsii_name="inspect")
1965
2007
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
1966
2008
  '''Examines the CloudFormation resource and discloses attributes.
@@ -2834,6 +2876,27 @@ class CfnLiveSource(
2834
2876
 
2835
2877
  jsii.create(self.__class__, self, [scope, id, props])
2836
2878
 
2879
+ @jsii.member(jsii_name="fromLiveSourceArn")
2880
+ @builtins.classmethod
2881
+ def from_live_source_arn(
2882
+ cls,
2883
+ scope: _constructs_77d1e7e8.Construct,
2884
+ id: builtins.str,
2885
+ arn: builtins.str,
2886
+ ) -> ILiveSourceRef:
2887
+ '''Creates a new ILiveSourceRef from an ARN.
2888
+
2889
+ :param scope: -
2890
+ :param id: -
2891
+ :param arn: -
2892
+ '''
2893
+ if __debug__:
2894
+ type_hints = typing.get_type_hints(_typecheckingstub__ce2a67ecd4c245755079e42b97b7e2aa073536881db7521a5e4b7de0ffb37207)
2895
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
2896
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
2897
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
2898
+ return typing.cast(ILiveSourceRef, jsii.sinvoke(cls, "fromLiveSourceArn", [scope, id, arn]))
2899
+
2837
2900
  @jsii.member(jsii_name="inspect")
2838
2901
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
2839
2902
  '''Examines the CloudFormation resource and discloses attributes.
@@ -4578,6 +4641,48 @@ class CfnSourceLocation(
4578
4641
 
4579
4642
  jsii.create(self.__class__, self, [scope, id, props])
4580
4643
 
4644
+ @jsii.member(jsii_name="fromSourceLocationArn")
4645
+ @builtins.classmethod
4646
+ def from_source_location_arn(
4647
+ cls,
4648
+ scope: _constructs_77d1e7e8.Construct,
4649
+ id: builtins.str,
4650
+ arn: builtins.str,
4651
+ ) -> ISourceLocationRef:
4652
+ '''Creates a new ISourceLocationRef from an ARN.
4653
+
4654
+ :param scope: -
4655
+ :param id: -
4656
+ :param arn: -
4657
+ '''
4658
+ if __debug__:
4659
+ type_hints = typing.get_type_hints(_typecheckingstub__7e847088619cd1680f1c77248b1fed78fe233ca2f074624e89178586546d9d84)
4660
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4661
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4662
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
4663
+ return typing.cast(ISourceLocationRef, jsii.sinvoke(cls, "fromSourceLocationArn", [scope, id, arn]))
4664
+
4665
+ @jsii.member(jsii_name="fromSourceLocationName")
4666
+ @builtins.classmethod
4667
+ def from_source_location_name(
4668
+ cls,
4669
+ scope: _constructs_77d1e7e8.Construct,
4670
+ id: builtins.str,
4671
+ source_location_name: builtins.str,
4672
+ ) -> ISourceLocationRef:
4673
+ '''Creates a new ISourceLocationRef from a sourceLocationName.
4674
+
4675
+ :param scope: -
4676
+ :param id: -
4677
+ :param source_location_name: -
4678
+ '''
4679
+ if __debug__:
4680
+ type_hints = typing.get_type_hints(_typecheckingstub__cd94b00014bdca4702dc78995645d4b320302bddf764516a46f2651c266da0e3)
4681
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4682
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4683
+ check_type(argname="argument source_location_name", value=source_location_name, expected_type=type_hints["source_location_name"])
4684
+ return typing.cast(ISourceLocationRef, jsii.sinvoke(cls, "fromSourceLocationName", [scope, id, source_location_name]))
4685
+
4581
4686
  @jsii.member(jsii_name="inspect")
4582
4687
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
4583
4688
  '''Examines the CloudFormation resource and discloses attributes.
@@ -5159,6 +5264,27 @@ class CfnVodSource(
5159
5264
 
5160
5265
  jsii.create(self.__class__, self, [scope, id, props])
5161
5266
 
5267
+ @jsii.member(jsii_name="fromVodSourceArn")
5268
+ @builtins.classmethod
5269
+ def from_vod_source_arn(
5270
+ cls,
5271
+ scope: _constructs_77d1e7e8.Construct,
5272
+ id: builtins.str,
5273
+ arn: builtins.str,
5274
+ ) -> IVodSourceRef:
5275
+ '''Creates a new IVodSourceRef from an ARN.
5276
+
5277
+ :param scope: -
5278
+ :param id: -
5279
+ :param arn: -
5280
+ '''
5281
+ if __debug__:
5282
+ type_hints = typing.get_type_hints(_typecheckingstub__1a17313f366fcbedb212dc92da65e6f4b4b11de884adbf251ff66d76e815968e)
5283
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
5284
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
5285
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
5286
+ return typing.cast(IVodSourceRef, jsii.sinvoke(cls, "fromVodSourceArn", [scope, id, arn]))
5287
+
5162
5288
  @jsii.member(jsii_name="inspect")
5163
5289
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
5164
5290
  '''Examines the CloudFormation resource and discloses attributes.
@@ -5538,6 +5664,22 @@ def _typecheckingstub__95afc802641850838d7d754c58072c279165a93bff5fc055789c1090a
5538
5664
  """Type checking stubs"""
5539
5665
  pass
5540
5666
 
5667
+ def _typecheckingstub__4d19144d331ba31edd24b53fe62ecd68291785594e4276f682970808562a8790(
5668
+ scope: _constructs_77d1e7e8.Construct,
5669
+ id: builtins.str,
5670
+ arn: builtins.str,
5671
+ ) -> None:
5672
+ """Type checking stubs"""
5673
+ pass
5674
+
5675
+ def _typecheckingstub__08ab9dccb4a244c93c8642dce766e1e9ee544479257409b787228df15d5435d7(
5676
+ scope: _constructs_77d1e7e8.Construct,
5677
+ id: builtins.str,
5678
+ channel_name: builtins.str,
5679
+ ) -> None:
5680
+ """Type checking stubs"""
5681
+ pass
5682
+
5541
5683
  def _typecheckingstub__d632b023994803b26caa2590748766e0dabab5ba299874fe587fa9f37c926bda(
5542
5684
  inspector: _TreeInspector_488e0dd5,
5543
5685
  ) -> None:
@@ -5700,6 +5842,14 @@ def _typecheckingstub__caad9e925cf2074f54088c0241999fdbc5c194736555867b7765527f3
5700
5842
  """Type checking stubs"""
5701
5843
  pass
5702
5844
 
5845
+ def _typecheckingstub__ce2a67ecd4c245755079e42b97b7e2aa073536881db7521a5e4b7de0ffb37207(
5846
+ scope: _constructs_77d1e7e8.Construct,
5847
+ id: builtins.str,
5848
+ arn: builtins.str,
5849
+ ) -> None:
5850
+ """Type checking stubs"""
5851
+ pass
5852
+
5703
5853
  def _typecheckingstub__ed469803ff91fff7fc3040fc3d0bb3fa9a21fd4b59da12961328098a4c73f954(
5704
5854
  inspector: _TreeInspector_488e0dd5,
5705
5855
  ) -> None:
@@ -6000,6 +6150,22 @@ def _typecheckingstub__dd693d384196965a6e6e42aa969746fa450f3a5099e7be68c145dcc9f
6000
6150
  """Type checking stubs"""
6001
6151
  pass
6002
6152
 
6153
+ def _typecheckingstub__7e847088619cd1680f1c77248b1fed78fe233ca2f074624e89178586546d9d84(
6154
+ scope: _constructs_77d1e7e8.Construct,
6155
+ id: builtins.str,
6156
+ arn: builtins.str,
6157
+ ) -> None:
6158
+ """Type checking stubs"""
6159
+ pass
6160
+
6161
+ def _typecheckingstub__cd94b00014bdca4702dc78995645d4b320302bddf764516a46f2651c266da0e3(
6162
+ scope: _constructs_77d1e7e8.Construct,
6163
+ id: builtins.str,
6164
+ source_location_name: builtins.str,
6165
+ ) -> None:
6166
+ """Type checking stubs"""
6167
+ pass
6168
+
6003
6169
  def _typecheckingstub__a8a67b4bd9eabe7dff32771e3855c5f4b09c52cc321708cd63f64f1f290488c1(
6004
6170
  inspector: _TreeInspector_488e0dd5,
6005
6171
  ) -> None:
@@ -6099,6 +6265,14 @@ def _typecheckingstub__456acf01c6ad372c9c8ba7c229fe88f13ceaab57f8599ae26cb522443
6099
6265
  """Type checking stubs"""
6100
6266
  pass
6101
6267
 
6268
+ def _typecheckingstub__1a17313f366fcbedb212dc92da65e6f4b4b11de884adbf251ff66d76e815968e(
6269
+ scope: _constructs_77d1e7e8.Construct,
6270
+ id: builtins.str,
6271
+ arn: builtins.str,
6272
+ ) -> None:
6273
+ """Type checking stubs"""
6274
+ pass
6275
+
6102
6276
  def _typecheckingstub__09f36c1aa9a889afe2053c87ff538aaf36dd3ae8b29c1a426f2f27df0c755587(
6103
6277
  inspector: _TreeInspector_488e0dd5,
6104
6278
  ) -> None:
@@ -1906,6 +1906,48 @@ class CfnACL(
1906
1906
 
1907
1907
  jsii.create(self.__class__, self, [scope, id, props])
1908
1908
 
1909
+ @jsii.member(jsii_name="fromACLArn")
1910
+ @builtins.classmethod
1911
+ def from_acl_arn(
1912
+ cls,
1913
+ scope: _constructs_77d1e7e8.Construct,
1914
+ id: builtins.str,
1915
+ arn: builtins.str,
1916
+ ) -> IACLRef:
1917
+ '''Creates a new IACLRef from an ARN.
1918
+
1919
+ :param scope: -
1920
+ :param id: -
1921
+ :param arn: -
1922
+ '''
1923
+ if __debug__:
1924
+ type_hints = typing.get_type_hints(_typecheckingstub__01e08140f4608bc1201cfa00751f482f04b61a9cbccdbd85b8a30ecdb464d6f6)
1925
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1926
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1927
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
1928
+ return typing.cast(IACLRef, jsii.sinvoke(cls, "fromACLArn", [scope, id, arn]))
1929
+
1930
+ @jsii.member(jsii_name="fromAclName")
1931
+ @builtins.classmethod
1932
+ def from_acl_name(
1933
+ cls,
1934
+ scope: _constructs_77d1e7e8.Construct,
1935
+ id: builtins.str,
1936
+ acl_name: builtins.str,
1937
+ ) -> IACLRef:
1938
+ '''Creates a new IACLRef from a aclName.
1939
+
1940
+ :param scope: -
1941
+ :param id: -
1942
+ :param acl_name: -
1943
+ '''
1944
+ if __debug__:
1945
+ type_hints = typing.get_type_hints(_typecheckingstub__02073185f42e3aab0bcd382a58d62c282bc7a5841909e235bb26999421f72701)
1946
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
1947
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
1948
+ check_type(argname="argument acl_name", value=acl_name, expected_type=type_hints["acl_name"])
1949
+ return typing.cast(IACLRef, jsii.sinvoke(cls, "fromAclName", [scope, id, acl_name]))
1950
+
1909
1951
  @jsii.member(jsii_name="inspect")
1910
1952
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
1911
1953
  '''Examines the CloudFormation resource and discloses attributes.
@@ -2180,6 +2222,27 @@ class CfnCluster(
2180
2222
 
2181
2223
  jsii.create(self.__class__, self, [scope, id, props])
2182
2224
 
2225
+ @jsii.member(jsii_name="fromClusterName")
2226
+ @builtins.classmethod
2227
+ def from_cluster_name(
2228
+ cls,
2229
+ scope: _constructs_77d1e7e8.Construct,
2230
+ id: builtins.str,
2231
+ cluster_name: builtins.str,
2232
+ ) -> IClusterRef:
2233
+ '''Creates a new IClusterRef from a clusterName.
2234
+
2235
+ :param scope: -
2236
+ :param id: -
2237
+ :param cluster_name: -
2238
+ '''
2239
+ if __debug__:
2240
+ type_hints = typing.get_type_hints(_typecheckingstub__052150f6187192008b1d92fe063af7be600bf783ef6fa136fb0ccd2320686ffe)
2241
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
2242
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
2243
+ check_type(argname="argument cluster_name", value=cluster_name, expected_type=type_hints["cluster_name"])
2244
+ return typing.cast(IClusterRef, jsii.sinvoke(cls, "fromClusterName", [scope, id, cluster_name]))
2245
+
2183
2246
  @jsii.member(jsii_name="inspect")
2184
2247
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
2185
2248
  '''Examines the CloudFormation resource and discloses attributes.
@@ -3112,6 +3175,27 @@ class CfnParameterGroup(
3112
3175
 
3113
3176
  jsii.create(self.__class__, self, [scope, id, props])
3114
3177
 
3178
+ @jsii.member(jsii_name="fromParameterGroupName")
3179
+ @builtins.classmethod
3180
+ def from_parameter_group_name(
3181
+ cls,
3182
+ scope: _constructs_77d1e7e8.Construct,
3183
+ id: builtins.str,
3184
+ parameter_group_name: builtins.str,
3185
+ ) -> IParameterGroupRef:
3186
+ '''Creates a new IParameterGroupRef from a parameterGroupName.
3187
+
3188
+ :param scope: -
3189
+ :param id: -
3190
+ :param parameter_group_name: -
3191
+ '''
3192
+ if __debug__:
3193
+ type_hints = typing.get_type_hints(_typecheckingstub__bbb188e3de6146df92382196ac7bd7953b94ecb705452402a7e34a6f13a90048)
3194
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3195
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3196
+ check_type(argname="argument parameter_group_name", value=parameter_group_name, expected_type=type_hints["parameter_group_name"])
3197
+ return typing.cast(IParameterGroupRef, jsii.sinvoke(cls, "fromParameterGroupName", [scope, id, parameter_group_name]))
3198
+
3115
3199
  @jsii.member(jsii_name="inspect")
3116
3200
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3117
3201
  '''Examines the CloudFormation resource and discloses attributes.
@@ -3298,6 +3382,27 @@ class CfnSubnetGroup(
3298
3382
 
3299
3383
  jsii.create(self.__class__, self, [scope, id, props])
3300
3384
 
3385
+ @jsii.member(jsii_name="fromSubnetGroupName")
3386
+ @builtins.classmethod
3387
+ def from_subnet_group_name(
3388
+ cls,
3389
+ scope: _constructs_77d1e7e8.Construct,
3390
+ id: builtins.str,
3391
+ subnet_group_name: builtins.str,
3392
+ ) -> ISubnetGroupRef:
3393
+ '''Creates a new ISubnetGroupRef from a subnetGroupName.
3394
+
3395
+ :param scope: -
3396
+ :param id: -
3397
+ :param subnet_group_name: -
3398
+ '''
3399
+ if __debug__:
3400
+ type_hints = typing.get_type_hints(_typecheckingstub__63193b3e87b7ebddc67ea584a7da2aef68db8126ef8d627b1156bf5191d8be9d)
3401
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3402
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3403
+ check_type(argname="argument subnet_group_name", value=subnet_group_name, expected_type=type_hints["subnet_group_name"])
3404
+ return typing.cast(ISubnetGroupRef, jsii.sinvoke(cls, "fromSubnetGroupName", [scope, id, subnet_group_name]))
3405
+
3301
3406
  @jsii.member(jsii_name="inspect")
3302
3407
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3303
3408
  '''Examines the CloudFormation resource and discloses attributes.
@@ -3484,6 +3589,48 @@ class CfnUser(
3484
3589
 
3485
3590
  jsii.create(self.__class__, self, [scope, id, props])
3486
3591
 
3592
+ @jsii.member(jsii_name="fromUserArn")
3593
+ @builtins.classmethod
3594
+ def from_user_arn(
3595
+ cls,
3596
+ scope: _constructs_77d1e7e8.Construct,
3597
+ id: builtins.str,
3598
+ arn: builtins.str,
3599
+ ) -> IUserRef:
3600
+ '''Creates a new IUserRef from an ARN.
3601
+
3602
+ :param scope: -
3603
+ :param id: -
3604
+ :param arn: -
3605
+ '''
3606
+ if __debug__:
3607
+ type_hints = typing.get_type_hints(_typecheckingstub__d410bf65fcb25fb402e9a258fc6a3fa84cea308a89b5336e8593869b0918481b)
3608
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3609
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3610
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
3611
+ return typing.cast(IUserRef, jsii.sinvoke(cls, "fromUserArn", [scope, id, arn]))
3612
+
3613
+ @jsii.member(jsii_name="fromUserName")
3614
+ @builtins.classmethod
3615
+ def from_user_name(
3616
+ cls,
3617
+ scope: _constructs_77d1e7e8.Construct,
3618
+ id: builtins.str,
3619
+ user_name: builtins.str,
3620
+ ) -> IUserRef:
3621
+ '''Creates a new IUserRef from a userName.
3622
+
3623
+ :param scope: -
3624
+ :param id: -
3625
+ :param user_name: -
3626
+ '''
3627
+ if __debug__:
3628
+ type_hints = typing.get_type_hints(_typecheckingstub__8586f51fa3b1208ca7029fcd11cf2933a1bec57f526b68903d04bd230ea7090b)
3629
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3630
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3631
+ check_type(argname="argument user_name", value=user_name, expected_type=type_hints["user_name"])
3632
+ return typing.cast(IUserRef, jsii.sinvoke(cls, "fromUserName", [scope, id, user_name]))
3633
+
3487
3634
  @jsii.member(jsii_name="inspect")
3488
3635
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3489
3636
  '''Examines the CloudFormation resource and discloses attributes.
@@ -3853,6 +4000,22 @@ def _typecheckingstub__9484fd1d572431ae11bb12955c007dddcddc12b2666a5855747b0a1ac
3853
4000
  """Type checking stubs"""
3854
4001
  pass
3855
4002
 
4003
+ def _typecheckingstub__01e08140f4608bc1201cfa00751f482f04b61a9cbccdbd85b8a30ecdb464d6f6(
4004
+ scope: _constructs_77d1e7e8.Construct,
4005
+ id: builtins.str,
4006
+ arn: builtins.str,
4007
+ ) -> None:
4008
+ """Type checking stubs"""
4009
+ pass
4010
+
4011
+ def _typecheckingstub__02073185f42e3aab0bcd382a58d62c282bc7a5841909e235bb26999421f72701(
4012
+ scope: _constructs_77d1e7e8.Construct,
4013
+ id: builtins.str,
4014
+ acl_name: builtins.str,
4015
+ ) -> None:
4016
+ """Type checking stubs"""
4017
+ pass
4018
+
3856
4019
  def _typecheckingstub__ccc6a711d3d8a9748de4a3ff47996a84e749aad94d25a5dda512b2da78cc1038(
3857
4020
  inspector: _TreeInspector_488e0dd5,
3858
4021
  ) -> None:
@@ -3920,6 +4083,14 @@ def _typecheckingstub__2be3fd9830386937ed856721b0282cb7c4bcfb48ca212a069ae310ef4
3920
4083
  """Type checking stubs"""
3921
4084
  pass
3922
4085
 
4086
+ def _typecheckingstub__052150f6187192008b1d92fe063af7be600bf783ef6fa136fb0ccd2320686ffe(
4087
+ scope: _constructs_77d1e7e8.Construct,
4088
+ id: builtins.str,
4089
+ cluster_name: builtins.str,
4090
+ ) -> None:
4091
+ """Type checking stubs"""
4092
+ pass
4093
+
3923
4094
  def _typecheckingstub__76cb969e4927216a06a434c27c39efb5cdd385529b9ea5e0319d2951238e010e(
3924
4095
  inspector: _TreeInspector_488e0dd5,
3925
4096
  ) -> None:
@@ -4217,6 +4388,14 @@ def _typecheckingstub__61162072dcce7ce6eaedeac288d04351f356c4501c7c00303d65b4be5
4217
4388
  """Type checking stubs"""
4218
4389
  pass
4219
4390
 
4391
+ def _typecheckingstub__bbb188e3de6146df92382196ac7bd7953b94ecb705452402a7e34a6f13a90048(
4392
+ scope: _constructs_77d1e7e8.Construct,
4393
+ id: builtins.str,
4394
+ parameter_group_name: builtins.str,
4395
+ ) -> None:
4396
+ """Type checking stubs"""
4397
+ pass
4398
+
4220
4399
  def _typecheckingstub__d7debe0fab7bb59dfcf15f4175e0f474c741a7964960dcbe155b0c5efbd1e09f(
4221
4400
  inspector: _TreeInspector_488e0dd5,
4222
4401
  ) -> None:
@@ -4271,6 +4450,14 @@ def _typecheckingstub__9b3dd027b7c51d2057be81ff17bfef3dbfbd3522767ca600f468a0d67
4271
4450
  """Type checking stubs"""
4272
4451
  pass
4273
4452
 
4453
+ def _typecheckingstub__63193b3e87b7ebddc67ea584a7da2aef68db8126ef8d627b1156bf5191d8be9d(
4454
+ scope: _constructs_77d1e7e8.Construct,
4455
+ id: builtins.str,
4456
+ subnet_group_name: builtins.str,
4457
+ ) -> None:
4458
+ """Type checking stubs"""
4459
+ pass
4460
+
4274
4461
  def _typecheckingstub__3145bbd399c6ddffdc2666544781343f26eb710bec8432513151b15f3216473b(
4275
4462
  inspector: _TreeInspector_488e0dd5,
4276
4463
  ) -> None:
@@ -4319,6 +4506,22 @@ def _typecheckingstub__52b4cd545a9f18f09898b753580c602cd4bd6e39c07e6a1f9e34f4fb9
4319
4506
  """Type checking stubs"""
4320
4507
  pass
4321
4508
 
4509
+ def _typecheckingstub__d410bf65fcb25fb402e9a258fc6a3fa84cea308a89b5336e8593869b0918481b(
4510
+ scope: _constructs_77d1e7e8.Construct,
4511
+ id: builtins.str,
4512
+ arn: builtins.str,
4513
+ ) -> None:
4514
+ """Type checking stubs"""
4515
+ pass
4516
+
4517
+ def _typecheckingstub__8586f51fa3b1208ca7029fcd11cf2933a1bec57f526b68903d04bd230ea7090b(
4518
+ scope: _constructs_77d1e7e8.Construct,
4519
+ id: builtins.str,
4520
+ user_name: builtins.str,
4521
+ ) -> None:
4522
+ """Type checking stubs"""
4523
+ pass
4524
+
4322
4525
  def _typecheckingstub__8c3bb35282143a9481bb5124eb626806569dc76eef119d8888c4373701fb4dd9(
4323
4526
  inspector: _TreeInspector_488e0dd5,
4324
4527
  ) -> None:
@@ -208,7 +208,7 @@ class CfnClusterPolicyProps:
208
208
  '''Properties for defining a ``CfnClusterPolicy``.
209
209
 
210
210
  :param cluster_arn: The Amazon Resource Name (ARN) that uniquely identifies the cluster.
211
- :param policy: Resource policy for the cluster.
211
+ :param policy: Resource policy for the cluster. The maximum size supported for a resource-based policy document is 20 KB.
212
212
 
213
213
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-clusterpolicy.html
214
214
  :exampleMetadata: fixture=_generated
@@ -249,6 +249,8 @@ class CfnClusterPolicyProps:
249
249
  def policy(self) -> typing.Any:
250
250
  '''Resource policy for the cluster.
251
251
 
252
+ The maximum size supported for a resource-based policy document is 20 KB.
253
+
252
254
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-clusterpolicy.html#cfn-msk-clusterpolicy-policy
253
255
  '''
254
256
  result = self._values.get("policy")
@@ -4776,7 +4778,7 @@ class CfnClusterPolicy(
4776
4778
  :param scope: Scope in which this resource is defined.
4777
4779
  :param id: Construct identifier for this resource (unique in its scope).
4778
4780
  :param cluster_arn: The Amazon Resource Name (ARN) that uniquely identifies the cluster.
4779
- :param policy: Resource policy for the cluster.
4781
+ :param policy: Resource policy for the cluster. The maximum size supported for a resource-based policy document is 20 KB.
4780
4782
  '''
4781
4783
  if __debug__:
4782
4784
  type_hints = typing.get_type_hints(_typecheckingstub__44054483e71e00fc0cc8de4a0043676504f8ba8eaef21e7597ca21b373e44603)
@@ -909,6 +909,48 @@ class CfnEnvironment(
909
909
 
910
910
  jsii.create(self.__class__, self, [scope, id, props])
911
911
 
912
+ @jsii.member(jsii_name="fromEnvironmentArn")
913
+ @builtins.classmethod
914
+ def from_environment_arn(
915
+ cls,
916
+ scope: _constructs_77d1e7e8.Construct,
917
+ id: builtins.str,
918
+ arn: builtins.str,
919
+ ) -> IEnvironmentRef:
920
+ '''Creates a new IEnvironmentRef from an ARN.
921
+
922
+ :param scope: -
923
+ :param id: -
924
+ :param arn: -
925
+ '''
926
+ if __debug__:
927
+ type_hints = typing.get_type_hints(_typecheckingstub__eeab8395584e59cc2c2e2e79af17a538406c85ef97d8a9a2859b93823146cf1b)
928
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
929
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
930
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
931
+ return typing.cast(IEnvironmentRef, jsii.sinvoke(cls, "fromEnvironmentArn", [scope, id, arn]))
932
+
933
+ @jsii.member(jsii_name="fromEnvironmentName")
934
+ @builtins.classmethod
935
+ def from_environment_name(
936
+ cls,
937
+ scope: _constructs_77d1e7e8.Construct,
938
+ id: builtins.str,
939
+ environment_name: builtins.str,
940
+ ) -> IEnvironmentRef:
941
+ '''Creates a new IEnvironmentRef from a environmentName.
942
+
943
+ :param scope: -
944
+ :param id: -
945
+ :param environment_name: -
946
+ '''
947
+ if __debug__:
948
+ type_hints = typing.get_type_hints(_typecheckingstub__00555161bf97ecf8a9091b34e1df9c2c441f970660c275c1bdb7afa29596b2cf)
949
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
950
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
951
+ check_type(argname="argument environment_name", value=environment_name, expected_type=type_hints["environment_name"])
952
+ return typing.cast(IEnvironmentRef, jsii.sinvoke(cls, "fromEnvironmentName", [scope, id, environment_name]))
953
+
912
954
  @jsii.member(jsii_name="inspect")
913
955
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
914
956
  '''Examines the CloudFormation resource and discloses attributes.
@@ -1831,6 +1873,22 @@ def _typecheckingstub__558d6a60af086ab1a40ad8057fcb128456129bbbd328752ab90d8a6d5
1831
1873
  """Type checking stubs"""
1832
1874
  pass
1833
1875
 
1876
+ def _typecheckingstub__eeab8395584e59cc2c2e2e79af17a538406c85ef97d8a9a2859b93823146cf1b(
1877
+ scope: _constructs_77d1e7e8.Construct,
1878
+ id: builtins.str,
1879
+ arn: builtins.str,
1880
+ ) -> None:
1881
+ """Type checking stubs"""
1882
+ pass
1883
+
1884
+ def _typecheckingstub__00555161bf97ecf8a9091b34e1df9c2c441f970660c275c1bdb7afa29596b2cf(
1885
+ scope: _constructs_77d1e7e8.Construct,
1886
+ id: builtins.str,
1887
+ environment_name: builtins.str,
1888
+ ) -> None:
1889
+ """Type checking stubs"""
1890
+ pass
1891
+
1834
1892
  def _typecheckingstub__99fe3af42168ce58625550be04e1ab2f3619e791f954ebcc45ea31fac6418d74(
1835
1893
  inspector: _TreeInspector_488e0dd5,
1836
1894
  ) -> None:
@@ -5795,7 +5795,7 @@ class CfnRuleGroup(
5795
5795
 
5796
5796
  By default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the ``HOME_NET`` rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see ``RuleVariables`` in this guide and `Stateful domain list rule groups in AWS Network Firewall <https://docs.aws.amazon.com/network-firewall/latest/developerguide/stateful-rule-groups-domain-names.html>`_ in the *Network Firewall Developer Guide*
5797
5797
 
5798
- :param generated_rules_type: Whether you want to allow or deny access to the domains in your target list.
5798
+ :param generated_rules_type: Whether you want to apply allow, reject, alert, or drop behavior to the domains in your target list. .. epigraph:: When logging is enabled and you choose Alert, traffic that matches the domain specifications generates an alert in the firewall's logs. Then, traffic either passes, is rejected, or drops based on other rules in the firewall policy.
5799
5799
  :param targets: The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:. - Explicit names. For example, ``abc.example.com`` matches only the domain ``abc.example.com`` . - Names that use a domain wildcard, which you indicate with an initial ' ``.`` '. For example, ``.example.com`` matches ``example.com`` and matches all subdomains of ``example.com`` , such as ``abc.example.com`` and ``www.example.com`` .
5800
5800
  :param target_types: The types of targets to inspect for. Valid values are ``TLS_SNI`` and ``HTTP_HOST`` .
5801
5801
 
@@ -5827,7 +5827,11 @@ class CfnRuleGroup(
5827
5827
 
5828
5828
  @builtins.property
5829
5829
  def generated_rules_type(self) -> builtins.str:
5830
- '''Whether you want to allow or deny access to the domains in your target list.
5830
+ '''Whether you want to apply allow, reject, alert, or drop behavior to the domains in your target list.
5831
+
5832
+ .. epigraph::
5833
+
5834
+ When logging is enabled and you choose Alert, traffic that matches the domain specifications generates an alert in the firewall's logs. Then, traffic either passes, is rejected, or drops based on other rules in the firewall policy.
5831
5835
 
5832
5836
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessourcelist.html#cfn-networkfirewall-rulegroup-rulessourcelist-generatedrulestype
5833
5837
  '''
@@ -3909,6 +3909,27 @@ class CfnConnectAttachment(
3909
3909
 
3910
3910
  jsii.create(self.__class__, self, [scope, id, props])
3911
3911
 
3912
+ @jsii.member(jsii_name="fromAttachmentId")
3913
+ @builtins.classmethod
3914
+ def from_attachment_id(
3915
+ cls,
3916
+ scope: _constructs_77d1e7e8.Construct,
3917
+ id: builtins.str,
3918
+ attachment_id: builtins.str,
3919
+ ) -> IConnectAttachmentRef:
3920
+ '''Creates a new IConnectAttachmentRef from a attachmentId.
3921
+
3922
+ :param scope: -
3923
+ :param id: -
3924
+ :param attachment_id: -
3925
+ '''
3926
+ if __debug__:
3927
+ type_hints = typing.get_type_hints(_typecheckingstub__9e037d8713710ba9021433de3be9ec51641f433285ddda8f6ffd832125cf10a0)
3928
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3929
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3930
+ check_type(argname="argument attachment_id", value=attachment_id, expected_type=type_hints["attachment_id"])
3931
+ return typing.cast(IConnectAttachmentRef, jsii.sinvoke(cls, "fromAttachmentId", [scope, id, attachment_id]))
3932
+
3912
3933
  @jsii.member(jsii_name="inspect")
3913
3934
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3914
3935
  '''Examines the CloudFormation resource and discloses attributes.
@@ -10164,6 +10185,14 @@ def _typecheckingstub__d7415843def493b65c590878e3897c27e4c459f5d736fb5ee9738e5a1
10164
10185
  """Type checking stubs"""
10165
10186
  pass
10166
10187
 
10188
+ def _typecheckingstub__9e037d8713710ba9021433de3be9ec51641f433285ddda8f6ffd832125cf10a0(
10189
+ scope: _constructs_77d1e7e8.Construct,
10190
+ id: builtins.str,
10191
+ attachment_id: builtins.str,
10192
+ ) -> None:
10193
+ """Type checking stubs"""
10194
+ pass
10195
+
10167
10196
  def _typecheckingstub__44665bf65f06575cd3323d1c866a2dc00c17092a359aac8101e622ad9bf92f5c(
10168
10197
  inspector: _TreeInspector_488e0dd5,
10169
10198
  ) -> None: