aws-cdk-lib 2.197.0__py3-none-any.whl → 2.199.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 (38) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.197.0.jsii.tgz → aws-cdk-lib@2.199.0.jsii.tgz} +0 -0
  3. aws_cdk/aws_appconfig/__init__.py +296 -48
  4. aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
  5. aws_cdk/aws_appsync/__init__.py +31 -21
  6. aws_cdk/aws_aps/__init__.py +343 -0
  7. aws_cdk/aws_autoscaling/__init__.py +2 -1
  8. aws_cdk/aws_bedrock/__init__.py +387 -4
  9. aws_cdk/aws_codepipeline/__init__.py +4 -2
  10. aws_cdk/aws_datasync/__init__.py +885 -839
  11. aws_cdk/aws_deadline/__init__.py +23 -4
  12. aws_cdk/aws_ec2/__init__.py +229 -12
  13. aws_cdk/aws_ecs/__init__.py +14 -2
  14. aws_cdk/aws_ecs_patterns/__init__.py +64 -12
  15. aws_cdk/aws_eks/__init__.py +40 -9
  16. aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
  17. aws_cdk/aws_events_targets/__init__.py +78 -1
  18. aws_cdk/aws_gamelift/__init__.py +15 -17
  19. aws_cdk/aws_lex/__init__.py +1245 -172
  20. aws_cdk/aws_mediapackagev2/__init__.py +11 -10
  21. aws_cdk/aws_omics/__init__.py +41 -19
  22. aws_cdk/aws_pcs/__init__.py +126 -0
  23. aws_cdk/aws_rds/__init__.py +48 -21
  24. aws_cdk/aws_rolesanywhere/__init__.py +14 -13
  25. aws_cdk/aws_sagemaker/__init__.py +38 -12
  26. aws_cdk/aws_ses/__init__.py +437 -0
  27. aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
  28. aws_cdk/aws_stepfunctions_tasks/__init__.py +1502 -2
  29. aws_cdk/aws_synthetics/__init__.py +137 -3
  30. aws_cdk/aws_vpclattice/__init__.py +219 -209
  31. aws_cdk/aws_wafv2/__init__.py +4 -4
  32. aws_cdk/aws_workspaces/__init__.py +5 -3
  33. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/METADATA +2 -2
  34. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/RECORD +38 -38
  35. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/LICENSE +0 -0
  36. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/NOTICE +0 -0
  37. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/WHEEL +0 -0
  38. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/top_level.txt +0 -0
@@ -1467,8 +1467,8 @@ class CfnTrustAnchor(
1467
1467
  def __init__(
1468
1468
  self,
1469
1469
  *,
1470
- source_data: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTrustAnchor.SourceDataProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1471
- source_type: typing.Optional[builtins.str] = None,
1470
+ source_data: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTrustAnchor.SourceDataProperty", typing.Dict[builtins.str, typing.Any]]],
1471
+ source_type: builtins.str,
1472
1472
  ) -> None:
1473
1473
  '''Object representing the TrustAnchor type and its related certificate data.
1474
1474
 
@@ -1496,31 +1496,32 @@ class CfnTrustAnchor(
1496
1496
  type_hints = typing.get_type_hints(_typecheckingstub__d423be7ff47fcc8761e7797ad37aac03811962bc633d561f5c9c8721dd3e77df)
1497
1497
  check_type(argname="argument source_data", value=source_data, expected_type=type_hints["source_data"])
1498
1498
  check_type(argname="argument source_type", value=source_type, expected_type=type_hints["source_type"])
1499
- self._values: typing.Dict[builtins.str, typing.Any] = {}
1500
- if source_data is not None:
1501
- self._values["source_data"] = source_data
1502
- if source_type is not None:
1503
- self._values["source_type"] = source_type
1499
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1500
+ "source_data": source_data,
1501
+ "source_type": source_type,
1502
+ }
1504
1503
 
1505
1504
  @builtins.property
1506
1505
  def source_data(
1507
1506
  self,
1508
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"]]:
1507
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"]:
1509
1508
  '''A union object representing the data field of the TrustAnchor depending on its type.
1510
1509
 
1511
1510
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcedata
1512
1511
  '''
1513
1512
  result = self._values.get("source_data")
1514
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"]], result)
1513
+ assert result is not None, "Required property 'source_data' is missing"
1514
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"], result)
1515
1515
 
1516
1516
  @builtins.property
1517
- def source_type(self) -> typing.Optional[builtins.str]:
1517
+ def source_type(self) -> builtins.str:
1518
1518
  '''The type of the TrustAnchor.
1519
1519
 
1520
1520
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcetype
1521
1521
  '''
1522
1522
  result = self._values.get("source_type")
1523
- return typing.cast(typing.Optional[builtins.str], result)
1523
+ assert result is not None, "Required property 'source_type' is missing"
1524
+ return typing.cast(builtins.str, result)
1524
1525
 
1525
1526
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1526
1527
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -1954,8 +1955,8 @@ def _typecheckingstub__aa369b3cbba73a987e4f4a9a410e56c8fdd5c7ce2300cda6a55e4ec9a
1954
1955
 
1955
1956
  def _typecheckingstub__d423be7ff47fcc8761e7797ad37aac03811962bc633d561f5c9c8721dd3e77df(
1956
1957
  *,
1957
- source_data: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTrustAnchor.SourceDataProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1958
- source_type: typing.Optional[builtins.str] = None,
1958
+ source_data: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTrustAnchor.SourceDataProperty, typing.Dict[builtins.str, typing.Any]]],
1959
+ source_type: builtins.str,
1959
1960
  ) -> None:
1960
1961
  """Type checking stubs"""
1961
1962
  pass
@@ -202,6 +202,8 @@ class CfnApp(
202
202
  def attr_built_in_lifecycle_config_arn(self) -> builtins.str:
203
203
  '''The lifecycle configuration that runs before the default lifecycle configuration.
204
204
 
205
+ It can override changes made in the default lifecycle configuration.
206
+
205
207
  :cloudformationAttribute: BuiltInLifecycleConfigArn
206
208
  '''
207
209
  return typing.cast(builtins.str, jsii.get(self, "attrBuiltInLifecycleConfigArn"))
@@ -6830,7 +6832,7 @@ class CfnDomain(
6830
6832
  For more information about Code Editor, see `Get started with Code Editor in Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html>`_ .
6831
6833
 
6832
6834
  :param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
6833
- :param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
6835
+ :param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.
6834
6836
  :param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
6835
6837
  :param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.
6836
6838
  :param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
@@ -6904,6 +6906,8 @@ class CfnDomain(
6904
6906
  def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
6905
6907
  '''The lifecycle configuration that runs before the default lifecycle configuration.
6906
6908
 
6909
+ It can override changes made in the default lifecycle configuration.
6910
+
6907
6911
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-codeeditorappsettings.html#cfn-sagemaker-domain-codeeditorappsettings-builtinlifecycleconfigarn
6908
6912
  '''
6909
6913
  result = self._values.get("built_in_lifecycle_config_arn")
@@ -8018,9 +8022,12 @@ class CfnDomain(
8018
8022
  sage_maker_image_name: typing.Optional[builtins.str] = None,
8019
8023
  version_aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
8020
8024
  ) -> None:
8021
- '''
8025
+ '''The SageMaker images that are hidden from the Studio user interface.
8026
+
8027
+ You must specify the SageMaker image name and version aliases.
8028
+
8022
8029
  :param sage_maker_image_name: The SageMaker image name that you are hiding from the Studio user interface.
8023
- :param version_aliases:
8030
+ :param version_aliases: The version aliases you are hiding from the Studio user interface.
8024
8031
 
8025
8032
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-hiddensagemakerimage.html
8026
8033
  :exampleMetadata: fixture=_generated
@@ -8057,7 +8064,8 @@ class CfnDomain(
8057
8064
 
8058
8065
  @builtins.property
8059
8066
  def version_aliases(self) -> typing.Optional[typing.List[builtins.str]]:
8060
- '''
8067
+ '''The version aliases you are hiding from the Studio user interface.
8068
+
8061
8069
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-hiddensagemakerimage.html#cfn-sagemaker-domain-hiddensagemakerimage-versionaliases
8062
8070
  '''
8063
8071
  result = self._values.get("version_aliases")
@@ -8205,7 +8213,7 @@ class CfnDomain(
8205
8213
  '''The settings for the JupyterLab application.
8206
8214
 
8207
8215
  :param app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
8208
- :param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
8216
+ :param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.
8209
8217
  :param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
8210
8218
  :param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
8211
8219
  :param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
@@ -8286,6 +8294,8 @@ class CfnDomain(
8286
8294
  def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
8287
8295
  '''The lifecycle configuration that runs before the default lifecycle configuration.
8288
8296
 
8297
+ It can override changes made in the default lifecycle configuration.
8298
+
8289
8299
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-jupyterlabappsettings.html#cfn-sagemaker-domain-jupyterlabappsettings-builtinlifecycleconfigarn
8290
8300
  '''
8291
8301
  result = self._values.get("built_in_lifecycle_config_arn")
@@ -9196,7 +9206,7 @@ class CfnDomain(
9196
9206
  ``SecurityGroups`` is aggregated when specified in both calls. For all other settings in ``UserSettings`` , the values specified in ``CreateUserProfile`` take precedence over those specified in ``CreateDomain`` .
9197
9207
 
9198
9208
  :param execution_role: The execution role for the user. SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
9199
- :param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile.
9209
+ :param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile. The ``DefaultAsDomain`` value is only supported for user profiles. Do not use the ``DefaultAsDomain`` value when setting this parameter for a domain. SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
9200
9210
  :param code_editor_app_settings: The Code Editor application settings. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
9201
9211
  :param custom_file_system_configs: The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker AI Studio. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
9202
9212
  :param custom_posix_user_config: Details about the POSIX identity that is used for file system operations. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
@@ -9434,6 +9444,10 @@ class CfnDomain(
9434
9444
  def auto_mount_home_efs(self) -> typing.Optional[builtins.str]:
9435
9445
  '''Indicates whether auto-mounting of an EFS volume is supported for the user profile.
9436
9446
 
9447
+ The ``DefaultAsDomain`` value is only supported for user profiles. Do not use the ``DefaultAsDomain`` value when setting this parameter for a domain.
9448
+
9449
+ SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
9450
+
9437
9451
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-automounthomeefs
9438
9452
  '''
9439
9453
  result = self._values.get("auto_mount_home_efs")
@@ -46876,7 +46890,7 @@ class CfnUserProfile(
46876
46890
  For more information about Code Editor, see `Get started with Code Editor in Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html>`_ .
46877
46891
 
46878
46892
  :param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
46879
- :param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
46893
+ :param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.
46880
46894
  :param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
46881
46895
  :param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.
46882
46896
  :param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
@@ -46950,6 +46964,8 @@ class CfnUserProfile(
46950
46964
  def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
46951
46965
  '''The lifecycle configuration that runs before the default lifecycle configuration.
46952
46966
 
46967
+ It can override changes made in the default lifecycle configuration.
46968
+
46953
46969
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-builtinlifecycleconfigarn
46954
46970
  '''
46955
46971
  result = self._values.get("built_in_lifecycle_config_arn")
@@ -47605,9 +47621,12 @@ class CfnUserProfile(
47605
47621
  sage_maker_image_name: typing.Optional[builtins.str] = None,
47606
47622
  version_aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
47607
47623
  ) -> None:
47608
- '''
47624
+ '''The SageMaker images that are hidden from the Studio user interface.
47625
+
47626
+ You must specify the SageMaker image name and version aliases.
47627
+
47609
47628
  :param sage_maker_image_name: The SageMaker image name that you are hiding from the Studio user interface.
47610
- :param version_aliases:
47629
+ :param version_aliases: The version aliases you are hiding from the Studio user interface.
47611
47630
 
47612
47631
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html
47613
47632
  :exampleMetadata: fixture=_generated
@@ -47644,7 +47663,8 @@ class CfnUserProfile(
47644
47663
 
47645
47664
  @builtins.property
47646
47665
  def version_aliases(self) -> typing.Optional[typing.List[builtins.str]]:
47647
- '''
47666
+ '''The version aliases you are hiding from the Studio user interface.
47667
+
47648
47668
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html#cfn-sagemaker-userprofile-hiddensagemakerimage-versionaliases
47649
47669
  '''
47650
47670
  result = self._values.get("version_aliases")
@@ -47792,7 +47812,7 @@ class CfnUserProfile(
47792
47812
  '''The settings for the JupyterLab application.
47793
47813
 
47794
47814
  :param app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
47795
- :param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
47815
+ :param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.
47796
47816
  :param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
47797
47817
  :param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
47798
47818
  :param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
@@ -47873,6 +47893,8 @@ class CfnUserProfile(
47873
47893
  def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
47874
47894
  '''The lifecycle configuration that runs before the default lifecycle configuration.
47875
47895
 
47896
+ It can override changes made in the default lifecycle configuration.
47897
+
47876
47898
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-builtinlifecycleconfigarn
47877
47899
  '''
47878
47900
  result = self._values.get("built_in_lifecycle_config_arn")
@@ -48577,7 +48599,7 @@ class CfnUserProfile(
48577
48599
 
48578
48600
  ``SecurityGroups`` is aggregated when specified in both calls. For all other settings in ``UserSettings`` , the values specified in ``CreateUserProfile`` take precedence over those specified in ``CreateDomain`` .
48579
48601
 
48580
- :param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile.
48602
+ :param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile. The ``DefaultAsDomain`` value is only supported for user profiles. Do not use the ``DefaultAsDomain`` value when setting this parameter for a domain. SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
48581
48603
  :param code_editor_app_settings: The Code Editor application settings. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
48582
48604
  :param custom_file_system_configs: The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker AI Studio. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
48583
48605
  :param custom_posix_user_config: Details about the POSIX identity that is used for file system operations. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
@@ -48783,6 +48805,10 @@ class CfnUserProfile(
48783
48805
  def auto_mount_home_efs(self) -> typing.Optional[builtins.str]:
48784
48806
  '''Indicates whether auto-mounting of an EFS volume is supported for the user profile.
48785
48807
 
48808
+ The ``DefaultAsDomain`` value is only supported for user profiles. Do not use the ``DefaultAsDomain`` value when setting this parameter for a domain.
48809
+
48810
+ SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
48811
+
48786
48812
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-automounthomeefs
48787
48813
  '''
48788
48814
  result = self._values.get("auto_mount_home_efs")