aws-cdk-lib 2.139.1__py3-none-any.whl → 2.141.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 (60) hide show
  1. aws_cdk/__init__.py +8 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.139.1.jsii.tgz → aws-cdk-lib@2.141.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +70 -56
  5. aws_cdk/aws_apigateway/__init__.py +126 -53
  6. aws_cdk/aws_applicationautoscaling/__init__.py +1 -4
  7. aws_cdk/aws_arczonalshift/__init__.py +49 -44
  8. aws_cdk/aws_bedrock/__init__.py +2829 -147
  9. aws_cdk/aws_cloudfront/__init__.py +51 -9
  10. aws_cdk/aws_cloudtrail/__init__.py +13 -4
  11. aws_cdk/aws_codecommit/__init__.py +72 -46
  12. aws_cdk/aws_connectcampaigns/__init__.py +34 -4
  13. aws_cdk/aws_datasync/__init__.py +96 -75
  14. aws_cdk/aws_dms/__init__.py +0 -269
  15. aws_cdk/aws_dynamodb/__init__.py +410 -0
  16. aws_cdk/aws_ec2/__init__.py +239 -84
  17. aws_cdk/aws_ecr/__init__.py +32 -7
  18. aws_cdk/aws_ecs/__init__.py +2 -4
  19. aws_cdk/aws_efs/__init__.py +16 -2
  20. aws_cdk/aws_eks/__init__.py +57 -0
  21. aws_cdk/aws_entityresolution/__init__.py +6 -2
  22. aws_cdk/aws_events/__init__.py +115 -0
  23. aws_cdk/aws_events_targets/__init__.py +15 -0
  24. aws_cdk/aws_fis/__init__.py +2 -1
  25. aws_cdk/aws_fms/__init__.py +7 -7
  26. aws_cdk/aws_gamelift/__init__.py +1984 -107
  27. aws_cdk/aws_globalaccelerator/__init__.py +20 -16
  28. aws_cdk/aws_iam/__init__.py +2 -2
  29. aws_cdk/aws_ivs/__init__.py +1 -3
  30. aws_cdk/aws_kinesis/__init__.py +21 -0
  31. aws_cdk/aws_kinesisvideo/__init__.py +6 -4
  32. aws_cdk/aws_kms/__init__.py +33 -6
  33. aws_cdk/aws_lambda/__init__.py +0 -9
  34. aws_cdk/aws_location/__init__.py +8 -4
  35. aws_cdk/aws_medialive/__init__.py +444 -3
  36. aws_cdk/aws_oam/__init__.py +45 -11
  37. aws_cdk/aws_omics/__init__.py +4 -4
  38. aws_cdk/aws_paymentcryptography/__init__.py +1155 -0
  39. aws_cdk/aws_personalize/__init__.py +8 -2
  40. aws_cdk/aws_pinpoint/__init__.py +7 -5
  41. aws_cdk/aws_qbusiness/__init__.py +5583 -0
  42. aws_cdk/aws_quicksight/__init__.py +10063 -1450
  43. aws_cdk/aws_rds/__init__.py +77 -5
  44. aws_cdk/aws_redshiftserverless/__init__.py +13 -9
  45. aws_cdk/aws_route53/__init__.py +350 -0
  46. aws_cdk/aws_route53profiles/__init__.py +1048 -0
  47. aws_cdk/aws_s3/__init__.py +1 -1
  48. aws_cdk/aws_sagemaker/__init__.py +30 -30
  49. aws_cdk/aws_ses/__init__.py +9 -9
  50. aws_cdk/aws_transfer/__init__.py +102 -37
  51. aws_cdk/aws_voiceid/__init__.py +2 -2
  52. aws_cdk/aws_workspacesweb/__init__.py +92 -6
  53. aws_cdk/custom_resources/__init__.py +23 -2
  54. aws_cdk/cx_api/__init__.py +16 -0
  55. {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/METADATA +2 -2
  56. {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/RECORD +60 -57
  57. {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/LICENSE +0 -0
  58. {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/NOTICE +0 -0
  59. {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/WHEEL +0 -0
  60. {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/top_level.txt +0 -0
@@ -1477,7 +1477,9 @@ class CfnPortal(
1477
1477
  browser_settings_arn="browserSettingsArn",
1478
1478
  customer_managed_key="customerManagedKey",
1479
1479
  display_name="displayName",
1480
+ instance_type="instanceType",
1480
1481
  ip_access_settings_arn="ipAccessSettingsArn",
1482
+ max_concurrent_sessions=123,
1481
1483
  network_settings_arn="networkSettingsArn",
1482
1484
  tags=[CfnTag(
1483
1485
  key="key",
@@ -1499,7 +1501,9 @@ class CfnPortal(
1499
1501
  browser_settings_arn: typing.Optional[builtins.str] = None,
1500
1502
  customer_managed_key: typing.Optional[builtins.str] = None,
1501
1503
  display_name: typing.Optional[builtins.str] = None,
1504
+ instance_type: typing.Optional[builtins.str] = None,
1502
1505
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
1506
+ max_concurrent_sessions: typing.Optional[jsii.Number] = None,
1503
1507
  network_settings_arn: typing.Optional[builtins.str] = None,
1504
1508
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1505
1509
  trust_store_arn: typing.Optional[builtins.str] = None,
@@ -1514,7 +1518,9 @@ class CfnPortal(
1514
1518
  :param browser_settings_arn: The ARN of the browser settings that is associated with this web portal.
1515
1519
  :param customer_managed_key: The customer managed key of the web portal. *Pattern* : ``^arn:[\\w+=\\/,.@-]+:kms:[a-zA-Z0-9\\-]*:[a-zA-Z0-9]{1,12}:key\\/[a-zA-Z0-9-]+$``
1516
1520
  :param display_name: The name of the web portal.
1521
+ :param instance_type: The type and resources of the underlying instance.
1517
1522
  :param ip_access_settings_arn: The ARN of the IP access settings that is associated with the web portal.
1523
+ :param max_concurrent_sessions: The maximum number of concurrent sessions for the portal.
1518
1524
  :param network_settings_arn: The ARN of the network settings that is associated with the web portal.
1519
1525
  :param tags: The tags to add to the web portal. A tag is a key-value pair.
1520
1526
  :param trust_store_arn: The ARN of the trust store that is associated with the web portal.
@@ -1531,7 +1537,9 @@ class CfnPortal(
1531
1537
  browser_settings_arn=browser_settings_arn,
1532
1538
  customer_managed_key=customer_managed_key,
1533
1539
  display_name=display_name,
1540
+ instance_type=instance_type,
1534
1541
  ip_access_settings_arn=ip_access_settings_arn,
1542
+ max_concurrent_sessions=max_concurrent_sessions,
1535
1543
  network_settings_arn=network_settings_arn,
1536
1544
  tags=tags,
1537
1545
  trust_store_arn=trust_store_arn,
@@ -1727,6 +1735,19 @@ class CfnPortal(
1727
1735
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1728
1736
  jsii.set(self, "displayName", value)
1729
1737
 
1738
+ @builtins.property
1739
+ @jsii.member(jsii_name="instanceType")
1740
+ def instance_type(self) -> typing.Optional[builtins.str]:
1741
+ '''The type and resources of the underlying instance.'''
1742
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "instanceType"))
1743
+
1744
+ @instance_type.setter
1745
+ def instance_type(self, value: typing.Optional[builtins.str]) -> None:
1746
+ if __debug__:
1747
+ type_hints = typing.get_type_hints(_typecheckingstub__2707a9d7f008c455546b27a146dac5ed1d57c34aff9249e7561ee09fdc92f357)
1748
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1749
+ jsii.set(self, "instanceType", value)
1750
+
1730
1751
  @builtins.property
1731
1752
  @jsii.member(jsii_name="ipAccessSettingsArn")
1732
1753
  def ip_access_settings_arn(self) -> typing.Optional[builtins.str]:
@@ -1740,6 +1761,19 @@ class CfnPortal(
1740
1761
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1741
1762
  jsii.set(self, "ipAccessSettingsArn", value)
1742
1763
 
1764
+ @builtins.property
1765
+ @jsii.member(jsii_name="maxConcurrentSessions")
1766
+ def max_concurrent_sessions(self) -> typing.Optional[jsii.Number]:
1767
+ '''The maximum number of concurrent sessions for the portal.'''
1768
+ return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxConcurrentSessions"))
1769
+
1770
+ @max_concurrent_sessions.setter
1771
+ def max_concurrent_sessions(self, value: typing.Optional[jsii.Number]) -> None:
1772
+ if __debug__:
1773
+ type_hints = typing.get_type_hints(_typecheckingstub__5dad94379f446f44b9f9dfc0281e9cf4564c37b144b841df727ed7e762cb1a19)
1774
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1775
+ jsii.set(self, "maxConcurrentSessions", value)
1776
+
1743
1777
  @builtins.property
1744
1778
  @jsii.member(jsii_name="networkSettingsArn")
1745
1779
  def network_settings_arn(self) -> typing.Optional[builtins.str]:
@@ -1818,7 +1852,9 @@ class CfnPortal(
1818
1852
  "browser_settings_arn": "browserSettingsArn",
1819
1853
  "customer_managed_key": "customerManagedKey",
1820
1854
  "display_name": "displayName",
1855
+ "instance_type": "instanceType",
1821
1856
  "ip_access_settings_arn": "ipAccessSettingsArn",
1857
+ "max_concurrent_sessions": "maxConcurrentSessions",
1822
1858
  "network_settings_arn": "networkSettingsArn",
1823
1859
  "tags": "tags",
1824
1860
  "trust_store_arn": "trustStoreArn",
@@ -1835,7 +1871,9 @@ class CfnPortalProps:
1835
1871
  browser_settings_arn: typing.Optional[builtins.str] = None,
1836
1872
  customer_managed_key: typing.Optional[builtins.str] = None,
1837
1873
  display_name: typing.Optional[builtins.str] = None,
1874
+ instance_type: typing.Optional[builtins.str] = None,
1838
1875
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
1876
+ max_concurrent_sessions: typing.Optional[jsii.Number] = None,
1839
1877
  network_settings_arn: typing.Optional[builtins.str] = None,
1840
1878
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1841
1879
  trust_store_arn: typing.Optional[builtins.str] = None,
@@ -1849,7 +1887,9 @@ class CfnPortalProps:
1849
1887
  :param browser_settings_arn: The ARN of the browser settings that is associated with this web portal.
1850
1888
  :param customer_managed_key: The customer managed key of the web portal. *Pattern* : ``^arn:[\\w+=\\/,.@-]+:kms:[a-zA-Z0-9\\-]*:[a-zA-Z0-9]{1,12}:key\\/[a-zA-Z0-9-]+$``
1851
1889
  :param display_name: The name of the web portal.
1890
+ :param instance_type: The type and resources of the underlying instance.
1852
1891
  :param ip_access_settings_arn: The ARN of the IP access settings that is associated with the web portal.
1892
+ :param max_concurrent_sessions: The maximum number of concurrent sessions for the portal.
1853
1893
  :param network_settings_arn: The ARN of the network settings that is associated with the web portal.
1854
1894
  :param tags: The tags to add to the web portal. A tag is a key-value pair.
1855
1895
  :param trust_store_arn: The ARN of the trust store that is associated with the web portal.
@@ -1873,7 +1913,9 @@ class CfnPortalProps:
1873
1913
  browser_settings_arn="browserSettingsArn",
1874
1914
  customer_managed_key="customerManagedKey",
1875
1915
  display_name="displayName",
1916
+ instance_type="instanceType",
1876
1917
  ip_access_settings_arn="ipAccessSettingsArn",
1918
+ max_concurrent_sessions=123,
1877
1919
  network_settings_arn="networkSettingsArn",
1878
1920
  tags=[CfnTag(
1879
1921
  key="key",
@@ -1891,7 +1933,9 @@ class CfnPortalProps:
1891
1933
  check_type(argname="argument browser_settings_arn", value=browser_settings_arn, expected_type=type_hints["browser_settings_arn"])
1892
1934
  check_type(argname="argument customer_managed_key", value=customer_managed_key, expected_type=type_hints["customer_managed_key"])
1893
1935
  check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
1936
+ check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
1894
1937
  check_type(argname="argument ip_access_settings_arn", value=ip_access_settings_arn, expected_type=type_hints["ip_access_settings_arn"])
1938
+ check_type(argname="argument max_concurrent_sessions", value=max_concurrent_sessions, expected_type=type_hints["max_concurrent_sessions"])
1895
1939
  check_type(argname="argument network_settings_arn", value=network_settings_arn, expected_type=type_hints["network_settings_arn"])
1896
1940
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1897
1941
  check_type(argname="argument trust_store_arn", value=trust_store_arn, expected_type=type_hints["trust_store_arn"])
@@ -1908,8 +1952,12 @@ class CfnPortalProps:
1908
1952
  self._values["customer_managed_key"] = customer_managed_key
1909
1953
  if display_name is not None:
1910
1954
  self._values["display_name"] = display_name
1955
+ if instance_type is not None:
1956
+ self._values["instance_type"] = instance_type
1911
1957
  if ip_access_settings_arn is not None:
1912
1958
  self._values["ip_access_settings_arn"] = ip_access_settings_arn
1959
+ if max_concurrent_sessions is not None:
1960
+ self._values["max_concurrent_sessions"] = max_concurrent_sessions
1913
1961
  if network_settings_arn is not None:
1914
1962
  self._values["network_settings_arn"] = network_settings_arn
1915
1963
  if tags is not None:
@@ -1979,6 +2027,15 @@ class CfnPortalProps:
1979
2027
  result = self._values.get("display_name")
1980
2028
  return typing.cast(typing.Optional[builtins.str], result)
1981
2029
 
2030
+ @builtins.property
2031
+ def instance_type(self) -> typing.Optional[builtins.str]:
2032
+ '''The type and resources of the underlying instance.
2033
+
2034
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-instancetype
2035
+ '''
2036
+ result = self._values.get("instance_type")
2037
+ return typing.cast(typing.Optional[builtins.str], result)
2038
+
1982
2039
  @builtins.property
1983
2040
  def ip_access_settings_arn(self) -> typing.Optional[builtins.str]:
1984
2041
  '''The ARN of the IP access settings that is associated with the web portal.
@@ -1988,6 +2045,15 @@ class CfnPortalProps:
1988
2045
  result = self._values.get("ip_access_settings_arn")
1989
2046
  return typing.cast(typing.Optional[builtins.str], result)
1990
2047
 
2048
+ @builtins.property
2049
+ def max_concurrent_sessions(self) -> typing.Optional[jsii.Number]:
2050
+ '''The maximum number of concurrent sessions for the portal.
2051
+
2052
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-maxconcurrentsessions
2053
+ '''
2054
+ result = self._values.get("max_concurrent_sessions")
2055
+ return typing.cast(typing.Optional[jsii.Number], result)
2056
+
1991
2057
  @builtins.property
1992
2058
  def network_settings_arn(self) -> typing.Optional[builtins.str]:
1993
2059
  '''The ARN of the network settings that is associated with the web portal.
@@ -2573,9 +2639,9 @@ class CfnUserSettings(
2573
2639
  :param paste_allowed: Specifies whether the user can paste text from the local device to the streaming session.
2574
2640
  :param print_allowed: Specifies whether the user can print to the local device.
2575
2641
  :param upload_allowed: Specifies whether the user can upload files from the local device to the streaming session.
2576
- :param additional_encryption_context:
2642
+ :param additional_encryption_context: The additional encryption context of the user settings.
2577
2643
  :param cookie_synchronization_configuration: The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
2578
- :param customer_managed_key:
2644
+ :param customer_managed_key: The customer managed key used to encrypt sensitive information in the user settings.
2579
2645
  :param disconnect_timeout_in_minutes: The amount of time that a streaming session remains active after users disconnect.
2580
2646
  :param idle_disconnect_timeout_in_minutes: The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
2581
2647
  :param tags: The tags to add to the user settings resource. A tag is a key-value pair.
@@ -2729,6 +2795,7 @@ class CfnUserSettings(
2729
2795
  def additional_encryption_context(
2730
2796
  self,
2731
2797
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
2798
+ '''The additional encryption context of the user settings.'''
2732
2799
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], jsii.get(self, "additionalEncryptionContext"))
2733
2800
 
2734
2801
  @additional_encryption_context.setter
@@ -2762,6 +2829,7 @@ class CfnUserSettings(
2762
2829
  @builtins.property
2763
2830
  @jsii.member(jsii_name="customerManagedKey")
2764
2831
  def customer_managed_key(self) -> typing.Optional[builtins.str]:
2832
+ '''The customer managed key used to encrypt sensitive information in the user settings.'''
2765
2833
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "customerManagedKey"))
2766
2834
 
2767
2835
  @customer_managed_key.setter
@@ -3034,9 +3102,9 @@ class CfnUserSettingsProps:
3034
3102
  :param paste_allowed: Specifies whether the user can paste text from the local device to the streaming session.
3035
3103
  :param print_allowed: Specifies whether the user can print to the local device.
3036
3104
  :param upload_allowed: Specifies whether the user can upload files from the local device to the streaming session.
3037
- :param additional_encryption_context:
3105
+ :param additional_encryption_context: The additional encryption context of the user settings.
3038
3106
  :param cookie_synchronization_configuration: The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
3039
- :param customer_managed_key:
3107
+ :param customer_managed_key: The customer managed key used to encrypt sensitive information in the user settings.
3040
3108
  :param disconnect_timeout_in_minutes: The amount of time that a streaming session remains active after users disconnect.
3041
3109
  :param idle_disconnect_timeout_in_minutes: The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
3042
3110
  :param tags: The tags to add to the user settings resource. A tag is a key-value pair.
@@ -3175,7 +3243,8 @@ class CfnUserSettingsProps:
3175
3243
  def additional_encryption_context(
3176
3244
  self,
3177
3245
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
3178
- '''
3246
+ '''The additional encryption context of the user settings.
3247
+
3179
3248
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-additionalencryptioncontext
3180
3249
  '''
3181
3250
  result = self._values.get("additional_encryption_context")
@@ -3194,7 +3263,8 @@ class CfnUserSettingsProps:
3194
3263
 
3195
3264
  @builtins.property
3196
3265
  def customer_managed_key(self) -> typing.Optional[builtins.str]:
3197
- '''
3266
+ '''The customer managed key used to encrypt sensitive information in the user settings.
3267
+
3198
3268
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-customermanagedkey
3199
3269
  '''
3200
3270
  result = self._values.get("customer_managed_key")
@@ -3527,7 +3597,9 @@ def _typecheckingstub__239c61bc87a1a693f01a28198d2d3000f7ef790e9684279e807a890b0
3527
3597
  browser_settings_arn: typing.Optional[builtins.str] = None,
3528
3598
  customer_managed_key: typing.Optional[builtins.str] = None,
3529
3599
  display_name: typing.Optional[builtins.str] = None,
3600
+ instance_type: typing.Optional[builtins.str] = None,
3530
3601
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
3602
+ max_concurrent_sessions: typing.Optional[jsii.Number] = None,
3531
3603
  network_settings_arn: typing.Optional[builtins.str] = None,
3532
3604
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3533
3605
  trust_store_arn: typing.Optional[builtins.str] = None,
@@ -3579,12 +3651,24 @@ def _typecheckingstub__cd1b9794e835c2ffeb3dc42a40224afa89d92cb7704c5a59dd75c1d3d
3579
3651
  """Type checking stubs"""
3580
3652
  pass
3581
3653
 
3654
+ def _typecheckingstub__2707a9d7f008c455546b27a146dac5ed1d57c34aff9249e7561ee09fdc92f357(
3655
+ value: typing.Optional[builtins.str],
3656
+ ) -> None:
3657
+ """Type checking stubs"""
3658
+ pass
3659
+
3582
3660
  def _typecheckingstub__40134000fc007f2c29ea771d442eb2b959d8d3cccfedc0efa83e152c13cf3bda(
3583
3661
  value: typing.Optional[builtins.str],
3584
3662
  ) -> None:
3585
3663
  """Type checking stubs"""
3586
3664
  pass
3587
3665
 
3666
+ def _typecheckingstub__5dad94379f446f44b9f9dfc0281e9cf4564c37b144b841df727ed7e762cb1a19(
3667
+ value: typing.Optional[jsii.Number],
3668
+ ) -> None:
3669
+ """Type checking stubs"""
3670
+ pass
3671
+
3588
3672
  def _typecheckingstub__beaa575cd54d9de94a0201b4213524db5df052dd0b9e1605b88d4487f6acbbcd(
3589
3673
  value: typing.Optional[builtins.str],
3590
3674
  ) -> None:
@@ -3622,7 +3706,9 @@ def _typecheckingstub__aa147912cdfb0d9ea5356fccc59e7ae5b02c822d1e3f5ae2e4826ae39
3622
3706
  browser_settings_arn: typing.Optional[builtins.str] = None,
3623
3707
  customer_managed_key: typing.Optional[builtins.str] = None,
3624
3708
  display_name: typing.Optional[builtins.str] = None,
3709
+ instance_type: typing.Optional[builtins.str] = None,
3625
3710
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
3711
+ max_concurrent_sessions: typing.Optional[jsii.Number] = None,
3626
3712
  network_settings_arn: typing.Optional[builtins.str] = None,
3627
3713
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3628
3714
  trust_store_arn: typing.Optional[builtins.str] = None,
@@ -139,7 +139,7 @@ If `onEvent` throws an error, the framework will submit a "FAILED" response to
139
139
  AWS CloudFormation.
140
140
 
141
141
  The input event includes the following fields derived from the [Custom Resource
142
- Provider Request]:
142
+ Provider Request](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/crpg-ref-requests.html#crpg-ref-request-fields):
143
143
 
144
144
  | Field | Type | Description |
145
145
  | ----------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -548,7 +548,7 @@ In both the cases, you will get a synth time error if you attempt to use it in c
548
548
 
549
549
  ### Customizing the Lambda function implementing the custom resource
550
550
 
551
- Use the `role`, `timeout`, `logGroup`, `functionName` and `removalPolicy` properties to customize
551
+ Use the `role`, `timeout`, `memorySize`, `logGroup`, `functionName` and `removalPolicy` properties to customize
552
552
  the Lambda function implementing the custom resource:
553
553
 
554
554
  ```python
@@ -557,6 +557,7 @@ the Lambda function implementing the custom resource:
557
557
  cr.AwsCustomResource(self, "Customized",
558
558
  role=my_role, # must be assumable by the `lambda.amazonaws.com` service principal
559
559
  timeout=Duration.minutes(10), # defaults to 2 minutes
560
+ memory_size=1025, # defaults to 512 if installLatestAwsSdk is true
560
561
  log_group=logs.LogGroup(self, "AwsCustomResourceLogs",
561
562
  retention=logs.RetentionDays.ONE_DAY
562
563
  ),
@@ -879,6 +880,7 @@ class AwsCustomResource(
879
880
  install_latest_aws_sdk: typing.Optional[builtins.bool] = None,
880
881
  log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
881
882
  log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
883
+ memory_size: typing.Optional[jsii.Number] = None,
882
884
  on_create: typing.Optional[typing.Union["AwsSdkCall", typing.Dict[builtins.str, typing.Any]]] = None,
883
885
  on_delete: typing.Optional[typing.Union["AwsSdkCall", typing.Dict[builtins.str, typing.Any]]] = None,
884
886
  on_update: typing.Optional[typing.Union["AwsSdkCall", typing.Dict[builtins.str, typing.Any]]] = None,
@@ -897,6 +899,7 @@ class AwsCustomResource(
897
899
  :param install_latest_aws_sdk: Whether to install the latest AWS SDK v2. If not specified, this uses whatever JavaScript SDK version is the default in AWS Lambda at the time of execution. Otherwise, installs the latest version from 'npmjs.com'. The installation takes around 60 seconds and requires internet connectivity. The default can be controlled using the context key ``@aws-cdk/customresources:installLatestAwsSdkDefault`` is. Default: - The value of ``@aws-cdk/customresources:installLatestAwsSdkDefault``, otherwise ``true``
898
900
  :param log_group: The Log Group used for logging of events emitted by the custom resource's lambda function. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: - a default log group created by AWS Lambda
899
901
  :param log_retention: The number of days log events of the singleton Lambda function implementing this custom resource are kept in CloudWatch Logs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: logs.RetentionDays.INFINITE
902
+ :param memory_size: The memory size for the singleton Lambda function implementing this custom resource. Default: 512 mega in case if installLatestAwsSdk is false.
900
903
  :param on_create: The AWS SDK call to make when the resource is created. Default: - the call when the resource is updated
901
904
  :param on_delete: The AWS SDK call to make when the resource is deleted. Default: - no call
902
905
  :param on_update: The AWS SDK call to make when the resource is updated. Default: - no call
@@ -917,6 +920,7 @@ class AwsCustomResource(
917
920
  install_latest_aws_sdk=install_latest_aws_sdk,
918
921
  log_group=log_group,
919
922
  log_retention=log_retention,
923
+ memory_size=memory_size,
920
924
  on_create=on_create,
921
925
  on_delete=on_delete,
922
926
  on_update=on_update,
@@ -1078,6 +1082,7 @@ class AwsCustomResourcePolicy(
1078
1082
  "install_latest_aws_sdk": "installLatestAwsSdk",
1079
1083
  "log_group": "logGroup",
1080
1084
  "log_retention": "logRetention",
1085
+ "memory_size": "memorySize",
1081
1086
  "on_create": "onCreate",
1082
1087
  "on_delete": "onDelete",
1083
1088
  "on_update": "onUpdate",
@@ -1098,6 +1103,7 @@ class AwsCustomResourceProps:
1098
1103
  install_latest_aws_sdk: typing.Optional[builtins.bool] = None,
1099
1104
  log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
1100
1105
  log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
1106
+ memory_size: typing.Optional[jsii.Number] = None,
1101
1107
  on_create: typing.Optional[typing.Union["AwsSdkCall", typing.Dict[builtins.str, typing.Any]]] = None,
1102
1108
  on_delete: typing.Optional[typing.Union["AwsSdkCall", typing.Dict[builtins.str, typing.Any]]] = None,
1103
1109
  on_update: typing.Optional[typing.Union["AwsSdkCall", typing.Dict[builtins.str, typing.Any]]] = None,
@@ -1117,6 +1123,7 @@ class AwsCustomResourceProps:
1117
1123
  :param install_latest_aws_sdk: Whether to install the latest AWS SDK v2. If not specified, this uses whatever JavaScript SDK version is the default in AWS Lambda at the time of execution. Otherwise, installs the latest version from 'npmjs.com'. The installation takes around 60 seconds and requires internet connectivity. The default can be controlled using the context key ``@aws-cdk/customresources:installLatestAwsSdkDefault`` is. Default: - The value of ``@aws-cdk/customresources:installLatestAwsSdkDefault``, otherwise ``true``
1118
1124
  :param log_group: The Log Group used for logging of events emitted by the custom resource's lambda function. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: - a default log group created by AWS Lambda
1119
1125
  :param log_retention: The number of days log events of the singleton Lambda function implementing this custom resource are kept in CloudWatch Logs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: logs.RetentionDays.INFINITE
1126
+ :param memory_size: The memory size for the singleton Lambda function implementing this custom resource. Default: 512 mega in case if installLatestAwsSdk is false.
1120
1127
  :param on_create: The AWS SDK call to make when the resource is created. Default: - the call when the resource is updated
1121
1128
  :param on_delete: The AWS SDK call to make when the resource is deleted. Default: - no call
1122
1129
  :param on_update: The AWS SDK call to make when the resource is updated. Default: - no call
@@ -1163,6 +1170,7 @@ class AwsCustomResourceProps:
1163
1170
  check_type(argname="argument install_latest_aws_sdk", value=install_latest_aws_sdk, expected_type=type_hints["install_latest_aws_sdk"])
1164
1171
  check_type(argname="argument log_group", value=log_group, expected_type=type_hints["log_group"])
1165
1172
  check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
1173
+ check_type(argname="argument memory_size", value=memory_size, expected_type=type_hints["memory_size"])
1166
1174
  check_type(argname="argument on_create", value=on_create, expected_type=type_hints["on_create"])
1167
1175
  check_type(argname="argument on_delete", value=on_delete, expected_type=type_hints["on_delete"])
1168
1176
  check_type(argname="argument on_update", value=on_update, expected_type=type_hints["on_update"])
@@ -1182,6 +1190,8 @@ class AwsCustomResourceProps:
1182
1190
  self._values["log_group"] = log_group
1183
1191
  if log_retention is not None:
1184
1192
  self._values["log_retention"] = log_retention
1193
+ if memory_size is not None:
1194
+ self._values["memory_size"] = memory_size
1185
1195
  if on_create is not None:
1186
1196
  self._values["on_create"] = on_create
1187
1197
  if on_delete is not None:
@@ -1259,6 +1269,15 @@ class AwsCustomResourceProps:
1259
1269
  result = self._values.get("log_retention")
1260
1270
  return typing.cast(typing.Optional[_RetentionDays_070f99f0], result)
1261
1271
 
1272
+ @builtins.property
1273
+ def memory_size(self) -> typing.Optional[jsii.Number]:
1274
+ '''The memory size for the singleton Lambda function implementing this custom resource.
1275
+
1276
+ :default: 512 mega in case if installLatestAwsSdk is false.
1277
+ '''
1278
+ result = self._values.get("memory_size")
1279
+ return typing.cast(typing.Optional[jsii.Number], result)
1280
+
1262
1281
  @builtins.property
1263
1282
  def on_create(self) -> typing.Optional["AwsSdkCall"]:
1264
1283
  '''The AWS SDK call to make when the resource is created.
@@ -2739,6 +2758,7 @@ def _typecheckingstub__4b163f566913e92c7adaa1ea97e50050b801bd514d3b2f5e3ddf86c11
2739
2758
  install_latest_aws_sdk: typing.Optional[builtins.bool] = None,
2740
2759
  log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
2741
2760
  log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
2761
+ memory_size: typing.Optional[jsii.Number] = None,
2742
2762
  on_create: typing.Optional[typing.Union[AwsSdkCall, typing.Dict[builtins.str, typing.Any]]] = None,
2743
2763
  on_delete: typing.Optional[typing.Union[AwsSdkCall, typing.Dict[builtins.str, typing.Any]]] = None,
2744
2764
  on_update: typing.Optional[typing.Union[AwsSdkCall, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -2777,6 +2797,7 @@ def _typecheckingstub__2b5a9dace9a09081edfef936656f2d5670f198fb300a32c31957c93e5
2777
2797
  install_latest_aws_sdk: typing.Optional[builtins.bool] = None,
2778
2798
  log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
2779
2799
  log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
2800
+ memory_size: typing.Optional[jsii.Number] = None,
2780
2801
  on_create: typing.Optional[typing.Union[AwsSdkCall, typing.Dict[builtins.str, typing.Any]]] = None,
2781
2802
  on_delete: typing.Optional[typing.Union[AwsSdkCall, typing.Dict[builtins.str, typing.Any]]] = None,
2782
2803
  on_update: typing.Optional[typing.Union[AwsSdkCall, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -327,6 +327,22 @@ without any prefix.
327
327
  }
328
328
  }
329
329
  ```
330
+
331
+ * `@aws-cdk/aws-ec2:ebsDefaultGp3Volume`
332
+
333
+ When enabled, the default volume type of the EBS volume will be GP3.
334
+
335
+ When this featuer flag is enabled, the default volume type of the EBS volume will be `EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3`
336
+
337
+ *cdk.json*
338
+
339
+ ```json
340
+ {
341
+ "context": {
342
+ "@aws-cdk/aws-ec2:ebsDefaultGp3Volume": true
343
+ }
344
+ }
345
+ ```
330
346
  '''
331
347
  from pkgutil import extend_path
332
348
  __path__ = extend_path(__path__, __name__)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk-lib
3
- Version: 2.139.1
3
+ Version: 2.141.0
4
4
  Summary: Version 2 of the AWS Cloud Development Kit library
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -25,7 +25,7 @@ Requires-Dist: aws-cdk.asset-awscli-v1 <3.0.0,>=2.2.202
25
25
  Requires-Dist: aws-cdk.asset-kubectl-v20 <3.0.0,>=2.1.2
26
26
  Requires-Dist: aws-cdk.asset-node-proxy-agent-v6 <3.0.0,>=2.0.3
27
27
  Requires-Dist: constructs <11.0.0,>=10.0.0
28
- Requires-Dist: jsii <2.0.0,>=1.97.0
28
+ Requires-Dist: jsii <2.0.0,>=1.98.0
29
29
  Requires-Dist: publication >=0.0.3
30
30
  Requires-Dist: typeguard ~=2.13.3
31
31