aws-cdk-lib 2.158.0__py3-none-any.whl → 2.159.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 (62) hide show
  1. aws_cdk/__init__.py +36 -19
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.158.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +22 -8
  5. aws_cdk/aws_apigatewayv2/__init__.py +30 -0
  6. aws_cdk/aws_appconfig/__init__.py +3 -3
  7. aws_cdk/aws_applicationinsights/__init__.py +544 -4
  8. aws_cdk/aws_applicationsignals/__init__.py +170 -142
  9. aws_cdk/aws_athena/__init__.py +15 -15
  10. aws_cdk/aws_auditmanager/__init__.py +5 -5
  11. aws_cdk/aws_bedrock/__init__.py +7 -7
  12. aws_cdk/aws_codebuild/__init__.py +39 -18
  13. aws_cdk/aws_codeconnections/__init__.py +1 -1
  14. aws_cdk/aws_cognito/__init__.py +390 -203
  15. aws_cdk/aws_connect/__init__.py +1679 -152
  16. aws_cdk/aws_datazone/__init__.py +665 -40
  17. aws_cdk/aws_docdb/__init__.py +6 -1
  18. aws_cdk/aws_dynamodb/__init__.py +5 -5
  19. aws_cdk/aws_ec2/__init__.py +121 -36
  20. aws_cdk/aws_ecr/__init__.py +14 -6
  21. aws_cdk/aws_ecs/__init__.py +20 -20
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +167 -20
  23. aws_cdk/aws_emr/__init__.py +8 -8
  24. aws_cdk/aws_events/__init__.py +19 -17
  25. aws_cdk/aws_events_targets/__init__.py +165 -85
  26. aws_cdk/aws_fms/__init__.py +59 -0
  27. aws_cdk/aws_fsx/__init__.py +3 -3
  28. aws_cdk/aws_gamelift/__init__.py +40 -52
  29. aws_cdk/aws_globalaccelerator/__init__.py +22 -29
  30. aws_cdk/aws_iam/__init__.py +22 -20
  31. aws_cdk/aws_iotfleetwise/__init__.py +419 -0
  32. aws_cdk/aws_iotsitewise/__init__.py +90 -1
  33. aws_cdk/aws_iotwireless/__init__.py +205 -0
  34. aws_cdk/aws_lambda/__init__.py +129 -16
  35. aws_cdk/aws_lex/__init__.py +15 -1
  36. aws_cdk/aws_logs/__init__.py +1 -1
  37. aws_cdk/aws_mediaconnect/__init__.py +111 -0
  38. aws_cdk/aws_medialive/__init__.py +7988 -3262
  39. aws_cdk/aws_msk/__init__.py +287 -479
  40. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  41. aws_cdk/aws_pcaconnectorscep/__init__.py +69 -30
  42. aws_cdk/aws_pipes/__init__.py +49 -0
  43. aws_cdk/aws_qbusiness/__init__.py +11 -14
  44. aws_cdk/aws_quicksight/__init__.py +638 -99
  45. aws_cdk/aws_rds/__init__.py +38 -27
  46. aws_cdk/aws_s3/__init__.py +215 -33
  47. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  48. aws_cdk/aws_sagemaker/__init__.py +872 -58
  49. aws_cdk/aws_secretsmanager/__init__.py +22 -8
  50. aws_cdk/aws_securityhub/__init__.py +261 -19
  51. aws_cdk/aws_securitylake/__init__.py +327 -7
  52. aws_cdk/aws_servicediscovery/__init__.py +5 -5
  53. aws_cdk/aws_sns/__init__.py +0 -8
  54. aws_cdk/aws_ssm/__init__.py +20 -12
  55. aws_cdk/aws_stepfunctions_tasks/__init__.py +36 -0
  56. aws_cdk/cx_api/__init__.py +19 -0
  57. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +1 -1
  58. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/RECORD +62 -62
  59. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
@@ -1510,7 +1510,9 @@ class CfnCluster(
1510
1510
  metaclass=jsii.JSIIMeta,
1511
1511
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnCluster",
1512
1512
  ):
1513
- '''Resource Type definition for AWS::SageMaker::Cluster.
1513
+ '''Creates a SageMaker HyperPod cluster.
1514
+
1515
+ SageMaker HyperPod is a capability of SageMaker for creating and managing persistent clusters for developing large machine learning models, such as large language models (LLMs) and diffusion models. To learn more, see `Amazon SageMaker HyperPod <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod.html>`_ in the *Amazon SageMaker Developer Guide* .
1514
1516
 
1515
1517
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html
1516
1518
  :cloudformationResource: AWS::SageMaker::Cluster
@@ -1579,11 +1581,11 @@ class CfnCluster(
1579
1581
  :param scope: Scope in which this resource is defined.
1580
1582
  :param id: Construct identifier for this resource (unique in its scope).
1581
1583
  :param instance_groups: The instance groups of the SageMaker HyperPod cluster.
1582
- :param cluster_name: The name of the HyperPod Cluster.
1583
- :param node_recovery: If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected. If set to false, nodes will be labelled when a fault is detected.
1584
- :param orchestrator: Specifies parameter(s) specific to the orchestrator, e.g. specify the EKS cluster.
1585
- :param tags: Custom tags for managing the SageMaker HyperPod cluster as an AWS resource. You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
1586
- :param vpc_config: Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC.
1584
+ :param cluster_name: The name of the SageMaker HyperPod cluster.
1585
+ :param node_recovery: Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod. Available values are ``Automatic`` for enabling and ``None`` for disabling.
1586
+ :param orchestrator: The orchestrator type for the SageMaker HyperPod cluster. Currently, ``'eks'`` is the only available option.
1587
+ :param tags: A tag object that consists of a key and an optional value, used to manage metadata for SageMaker AWS resources. You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see `AddTags <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html>`_ . For more information on adding metadata to your AWS resources with tagging, see `Tagging AWS resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`_ . For advice on best practices for managing AWS resources with tagging, see `Tagging Best Practices: Implement an Effective AWS Resource Tagging Strategy <https://docs.aws.amazon.com/https://d1.awsstatic.com/whitepapers/aws-tagging-best-practices.pdf>`_ .
1588
+ :param vpc_config: Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see `Give SageMaker Access to Resources in your Amazon VPC <https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html>`_ .
1587
1589
  '''
1588
1590
  if __debug__:
1589
1591
  type_hints = typing.get_type_hints(_typecheckingstub__b1441bbec1bb60460bda62b43765e140885fbb36e13b090ded31c919b4f27ca6)
@@ -1633,7 +1635,7 @@ class CfnCluster(
1633
1635
  @builtins.property
1634
1636
  @jsii.member(jsii_name="attrClusterArn")
1635
1637
  def attr_cluster_arn(self) -> builtins.str:
1636
- '''The Amazon Resource Name (ARN) of the HyperPod Cluster.
1638
+ '''The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.
1637
1639
 
1638
1640
  :cloudformationAttribute: ClusterArn
1639
1641
  '''
@@ -1642,7 +1644,7 @@ class CfnCluster(
1642
1644
  @builtins.property
1643
1645
  @jsii.member(jsii_name="attrClusterStatus")
1644
1646
  def attr_cluster_status(self) -> builtins.str:
1645
- '''The status of the HyperPod Cluster.
1647
+ '''The status of the SageMaker HyperPod cluster.
1646
1648
 
1647
1649
  :cloudformationAttribute: ClusterStatus
1648
1650
  '''
@@ -1651,7 +1653,7 @@ class CfnCluster(
1651
1653
  @builtins.property
1652
1654
  @jsii.member(jsii_name="attrCreationTime")
1653
1655
  def attr_creation_time(self) -> builtins.str:
1654
- '''The time at which the HyperPod cluster was created.
1656
+ '''The time when the SageMaker HyperPod cluster is created.
1655
1657
 
1656
1658
  :cloudformationAttribute: CreationTime
1657
1659
  '''
@@ -1660,7 +1662,7 @@ class CfnCluster(
1660
1662
  @builtins.property
1661
1663
  @jsii.member(jsii_name="attrFailureMessage")
1662
1664
  def attr_failure_message(self) -> builtins.str:
1663
- '''The failure message of the HyperPod Cluster.
1665
+ '''The failure message of the SageMaker HyperPod cluster.
1664
1666
 
1665
1667
  :cloudformationAttribute: FailureMessage
1666
1668
  '''
@@ -1698,7 +1700,7 @@ class CfnCluster(
1698
1700
  @builtins.property
1699
1701
  @jsii.member(jsii_name="clusterName")
1700
1702
  def cluster_name(self) -> typing.Optional[builtins.str]:
1701
- '''The name of the HyperPod Cluster.'''
1703
+ '''The name of the SageMaker HyperPod cluster.'''
1702
1704
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "clusterName"))
1703
1705
 
1704
1706
  @cluster_name.setter
@@ -1711,7 +1713,7 @@ class CfnCluster(
1711
1713
  @builtins.property
1712
1714
  @jsii.member(jsii_name="nodeRecovery")
1713
1715
  def node_recovery(self) -> typing.Optional[builtins.str]:
1714
- '''If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected.'''
1716
+ '''Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod.'''
1715
1717
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nodeRecovery"))
1716
1718
 
1717
1719
  @node_recovery.setter
@@ -1726,7 +1728,7 @@ class CfnCluster(
1726
1728
  def orchestrator(
1727
1729
  self,
1728
1730
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.OrchestratorProperty"]]:
1729
- '''Specifies parameter(s) specific to the orchestrator, e.g. specify the EKS cluster.'''
1731
+ '''The orchestrator type for the SageMaker HyperPod cluster.'''
1730
1732
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.OrchestratorProperty"]], jsii.get(self, "orchestrator"))
1731
1733
 
1732
1734
  @orchestrator.setter
@@ -1742,7 +1744,7 @@ class CfnCluster(
1742
1744
  @builtins.property
1743
1745
  @jsii.member(jsii_name="tags")
1744
1746
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1745
- '''Custom tags for managing the SageMaker HyperPod cluster as an AWS resource.'''
1747
+ '''A tag object that consists of a key and an optional value, used to manage metadata for SageMaker AWS resources.'''
1746
1748
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
1747
1749
 
1748
1750
  @tags.setter
@@ -1781,11 +1783,11 @@ class CfnCluster(
1781
1783
  *,
1782
1784
  volume_size_in_gb: typing.Optional[jsii.Number] = None,
1783
1785
  ) -> None:
1784
- '''Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group.
1786
+ '''Defines the configuration for attaching an additional Amazon Elastic Block Store (EBS) volume to each instance of the SageMaker HyperPod cluster instance group.
1785
1787
 
1786
- The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.
1788
+ To learn more, see `SageMaker HyperPod release notes: June 20, 2024 <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620>`_ .
1787
1789
 
1788
- :param volume_size_in_gb: The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.
1790
+ :param volume_size_in_gb: The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to ``/opt/sagemaker`` .
1789
1791
 
1790
1792
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterebsvolumeconfig.html
1791
1793
  :exampleMetadata: fixture=_generated
@@ -1811,7 +1813,7 @@ class CfnCluster(
1811
1813
  def volume_size_in_gb(self) -> typing.Optional[jsii.Number]:
1812
1814
  '''The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group.
1813
1815
 
1814
- The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.
1816
+ The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to ``/opt/sagemaker`` .
1815
1817
 
1816
1818
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterebsvolumeconfig.html#cfn-sagemaker-cluster-clusterebsvolumeconfig-volumesizeingb
1817
1819
  '''
@@ -1858,17 +1860,17 @@ class CfnCluster(
1858
1860
  on_start_deep_health_checks: typing.Optional[typing.Sequence[builtins.str]] = None,
1859
1861
  threads_per_core: typing.Optional[jsii.Number] = None,
1860
1862
  ) -> None:
1861
- '''Details of an instance group in a SageMaker HyperPod cluster.
1863
+ '''The configuration information of the instance group within the HyperPod cluster.
1862
1864
 
1863
1865
  :param execution_role: The execution role for the instance group to assume.
1864
- :param instance_count: The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
1866
+ :param instance_count: The number of instances in an instance group of the SageMaker HyperPod cluster.
1865
1867
  :param instance_group_name: The name of the instance group of a SageMaker HyperPod cluster.
1866
1868
  :param instance_type: The instance type of the instance group of a SageMaker HyperPod cluster.
1867
1869
  :param life_cycle_config: The lifecycle configuration for a SageMaker HyperPod cluster.
1868
1870
  :param current_count: The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
1869
- :param instance_storage_configs: The instance storage configuration for the instance group.
1870
- :param on_start_deep_health_checks: Nodes will undergo advanced stress test to detect and replace faulty instances, based on the type of deep health check(s) passed in.
1871
- :param threads_per_core: The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
1871
+ :param instance_storage_configs: The configurations of additional storage specified to the instance group where the instance (node) is launched.
1872
+ :param on_start_deep_health_checks: A flag indicating whether deep health checks should be performed when the HyperPod cluster instance group is created or updated. Deep health checks are comprehensive, invasive tests that validate the health of the underlying hardware and infrastructure components.
1873
+ :param threads_per_core: The number of threads per CPU core you specified under ``CreateCluster`` .
1872
1874
 
1873
1875
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html
1874
1876
  :exampleMetadata: fixture=_generated
@@ -1939,7 +1941,7 @@ class CfnCluster(
1939
1941
 
1940
1942
  @builtins.property
1941
1943
  def instance_count(self) -> jsii.Number:
1942
- '''The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
1944
+ '''The number of instances in an instance group of the SageMaker HyperPod cluster.
1943
1945
 
1944
1946
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-instancecount
1945
1947
  '''
@@ -1992,7 +1994,7 @@ class CfnCluster(
1992
1994
  def instance_storage_configs(
1993
1995
  self,
1994
1996
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCluster.ClusterInstanceStorageConfigProperty"]]]]:
1995
- '''The instance storage configuration for the instance group.
1997
+ '''The configurations of additional storage specified to the instance group where the instance (node) is launched.
1996
1998
 
1997
1999
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-instancestorageconfigs
1998
2000
  '''
@@ -2003,7 +2005,9 @@ class CfnCluster(
2003
2005
  def on_start_deep_health_checks(
2004
2006
  self,
2005
2007
  ) -> typing.Optional[typing.List[builtins.str]]:
2006
- '''Nodes will undergo advanced stress test to detect and replace faulty instances, based on the type of deep health check(s) passed in.
2008
+ '''A flag indicating whether deep health checks should be performed when the HyperPod cluster instance group is created or updated.
2009
+
2010
+ Deep health checks are comprehensive, invasive tests that validate the health of the underlying hardware and infrastructure components.
2007
2011
 
2008
2012
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-onstartdeephealthchecks
2009
2013
  '''
@@ -2012,9 +2016,7 @@ class CfnCluster(
2012
2016
 
2013
2017
  @builtins.property
2014
2018
  def threads_per_core(self) -> typing.Optional[jsii.Number]:
2015
- '''The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading.
2016
-
2017
- For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading.
2019
+ '''The number of threads per CPU core you specified under ``CreateCluster`` .
2018
2020
 
2019
2021
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-threadspercore
2020
2022
  '''
@@ -2045,7 +2047,9 @@ class CfnCluster(
2045
2047
  ) -> None:
2046
2048
  '''Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group.
2047
2049
 
2048
- :param ebs_volume_config: Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.
2050
+ To learn more, see `SageMaker HyperPod release notes: June 20, 2024 <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620>`_ .
2051
+
2052
+ :param ebs_volume_config: Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to ``/opt/sagemaker`` .
2049
2053
 
2050
2054
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancestorageconfig.html
2051
2055
  :exampleMetadata: fixture=_generated
@@ -2075,7 +2079,7 @@ class CfnCluster(
2075
2079
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ClusterEbsVolumeConfigProperty"]]:
2076
2080
  '''Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group.
2077
2081
 
2078
- The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.
2082
+ The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to ``/opt/sagemaker`` .
2079
2083
 
2080
2084
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancestorageconfig.html#cfn-sagemaker-cluster-clusterinstancestorageconfig-ebsvolumeconfig
2081
2085
  '''
@@ -2107,8 +2111,8 @@ class CfnCluster(
2107
2111
  ) -> None:
2108
2112
  '''The lifecycle configuration for a SageMaker HyperPod cluster.
2109
2113
 
2110
- :param on_create: The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.
2111
- :param source_s3_uri: An Amazon S3 bucket path where your lifecycle scripts are stored.
2114
+ :param on_create: The file name of the entrypoint script of lifecycle scripts under ``SourceS3Uri`` . This entrypoint script runs during cluster creation.
2115
+ :param source_s3_uri: An Amazon S3 bucket path where your lifecycle scripts are stored. .. epigraph:: Make sure that the S3 bucket path starts with ``s3://sagemaker-`` . The `IAM role for SageMaker HyperPod <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-iam-role-for-hyperpod>`_ has the managed ```AmazonSageMakerClusterInstanceRolePolicy`` <https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-cluster.html>`_ attached, which allows access to S3 buckets with the specific prefix ``sagemaker-`` .
2112
2116
 
2113
2117
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterlifecycleconfig.html
2114
2118
  :exampleMetadata: fixture=_generated
@@ -2135,7 +2139,7 @@ class CfnCluster(
2135
2139
 
2136
2140
  @builtins.property
2137
2141
  def on_create(self) -> builtins.str:
2138
- '''The file name of the entrypoint script of lifecycle scripts under SourceS3Uri.
2142
+ '''The file name of the entrypoint script of lifecycle scripts under ``SourceS3Uri`` .
2139
2143
 
2140
2144
  This entrypoint script runs during cluster creation.
2141
2145
 
@@ -2149,6 +2153,10 @@ class CfnCluster(
2149
2153
  def source_s3_uri(self) -> builtins.str:
2150
2154
  '''An Amazon S3 bucket path where your lifecycle scripts are stored.
2151
2155
 
2156
+ .. epigraph::
2157
+
2158
+ Make sure that the S3 bucket path starts with ``s3://sagemaker-`` . The `IAM role for SageMaker HyperPod <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-iam-role-for-hyperpod>`_ has the managed ```AmazonSageMakerClusterInstanceRolePolicy`` <https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-cluster.html>`_ attached, which allows access to S3 buckets with the specific prefix ``sagemaker-`` .
2159
+
2152
2160
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterlifecycleconfig.html#cfn-sagemaker-cluster-clusterlifecycleconfig-sources3uri
2153
2161
  '''
2154
2162
  result = self._values.get("source_s3_uri")
@@ -2173,9 +2181,11 @@ class CfnCluster(
2173
2181
  )
2174
2182
  class ClusterOrchestratorEksConfigProperty:
2175
2183
  def __init__(self, *, cluster_arn: builtins.str) -> None:
2176
- '''Specifies parameter(s) related to EKS as orchestrator, e.g. the EKS cluster nodes will attach to,.
2184
+ '''The configuration for the Amazon EKS cluster that is used as the orchestrator for the SageMaker HyperPod cluster.
2185
+
2186
+ This includes the Amazon Resource Name (ARN) of the EKS cluster
2177
2187
 
2178
- :param cluster_arn: The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster.
2188
+ :param cluster_arn: The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.
2179
2189
 
2180
2190
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterorchestratoreksconfig.html
2181
2191
  :exampleMetadata: fixture=_generated
@@ -2199,7 +2209,7 @@ class CfnCluster(
2199
2209
 
2200
2210
  @builtins.property
2201
2211
  def cluster_arn(self) -> builtins.str:
2202
- '''The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster.
2212
+ '''The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.
2203
2213
 
2204
2214
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterorchestratoreksconfig.html#cfn-sagemaker-cluster-clusterorchestratoreksconfig-clusterarn
2205
2215
  '''
@@ -2229,9 +2239,9 @@ class CfnCluster(
2229
2239
  *,
2230
2240
  eks: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ClusterOrchestratorEksConfigProperty", typing.Dict[builtins.str, typing.Any]]],
2231
2241
  ) -> None:
2232
- '''Specifies parameter(s) specific to the orchestrator, e.g. specify the EKS cluster.
2242
+ '''The orchestrator for a SageMaker HyperPod cluster.
2233
2243
 
2234
- :param eks: Specifies parameter(s) related to EKS as orchestrator, e.g. the EKS cluster nodes will attach to,.
2244
+ :param eks: The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
2235
2245
 
2236
2246
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-orchestrator.html
2237
2247
  :exampleMetadata: fixture=_generated
@@ -2259,7 +2269,7 @@ class CfnCluster(
2259
2269
  def eks(
2260
2270
  self,
2261
2271
  ) -> typing.Union[_IResolvable_da3f097b, "CfnCluster.ClusterOrchestratorEksConfigProperty"]:
2262
- '''Specifies parameter(s) related to EKS as orchestrator, e.g. the EKS cluster nodes will attach to,.
2272
+ '''The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster.
2263
2273
 
2264
2274
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-orchestrator.html#cfn-sagemaker-cluster-orchestrator-eks
2265
2275
  '''
@@ -2292,10 +2302,10 @@ class CfnCluster(
2292
2302
  ) -> None:
2293
2303
  '''Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
2294
2304
 
2295
- You can control access to and from your resources by configuring a VPC.
2305
+ You can control access to and from your resources by configuring a VPC. For more information, see `Give SageMaker Access to Resources in your Amazon VPC <https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html>`_ .
2296
2306
 
2297
- :param security_group_ids: The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.
2298
- :param subnets: The ID of the subnets in the VPC to which you want to connect your training job or model.
2307
+ :param security_group_ids: The VPC security group IDs, in the form ``sg-xxxxxxxx`` . Specify the security groups for the VPC that is specified in the ``Subnets`` field.
2308
+ :param subnets: The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see `Supported Instance Types and Availability Zones <https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html>`_ .
2299
2309
 
2300
2310
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-vpcconfig.html
2301
2311
  :exampleMetadata: fixture=_generated
@@ -2322,9 +2332,9 @@ class CfnCluster(
2322
2332
 
2323
2333
  @builtins.property
2324
2334
  def security_group_ids(self) -> typing.List[builtins.str]:
2325
- '''The VPC security group IDs, in the form sg-xxxxxxxx.
2335
+ '''The VPC security group IDs, in the form ``sg-xxxxxxxx`` .
2326
2336
 
2327
- Specify the security groups for the VPC that is specified in the Subnets field.
2337
+ Specify the security groups for the VPC that is specified in the ``Subnets`` field.
2328
2338
 
2329
2339
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-vpcconfig.html#cfn-sagemaker-cluster-vpcconfig-securitygroupids
2330
2340
  '''
@@ -2336,6 +2346,8 @@ class CfnCluster(
2336
2346
  def subnets(self) -> typing.List[builtins.str]:
2337
2347
  '''The ID of the subnets in the VPC to which you want to connect your training job or model.
2338
2348
 
2349
+ For information about the availability of specific instance types, see `Supported Instance Types and Availability Zones <https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html>`_ .
2350
+
2339
2351
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-vpcconfig.html#cfn-sagemaker-cluster-vpcconfig-subnets
2340
2352
  '''
2341
2353
  result = self._values.get("subnets")
@@ -2380,11 +2392,11 @@ class CfnClusterProps:
2380
2392
  '''Properties for defining a ``CfnCluster``.
2381
2393
 
2382
2394
  :param instance_groups: The instance groups of the SageMaker HyperPod cluster.
2383
- :param cluster_name: The name of the HyperPod Cluster.
2384
- :param node_recovery: If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected. If set to false, nodes will be labelled when a fault is detected.
2385
- :param orchestrator: Specifies parameter(s) specific to the orchestrator, e.g. specify the EKS cluster.
2386
- :param tags: Custom tags for managing the SageMaker HyperPod cluster as an AWS resource. You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
2387
- :param vpc_config: Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC.
2395
+ :param cluster_name: The name of the SageMaker HyperPod cluster.
2396
+ :param node_recovery: Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod. Available values are ``Automatic`` for enabling and ``None`` for disabling.
2397
+ :param orchestrator: The orchestrator type for the SageMaker HyperPod cluster. Currently, ``'eks'`` is the only available option.
2398
+ :param tags: A tag object that consists of a key and an optional value, used to manage metadata for SageMaker AWS resources. You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see `AddTags <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html>`_ . For more information on adding metadata to your AWS resources with tagging, see `Tagging AWS resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`_ . For advice on best practices for managing AWS resources with tagging, see `Tagging Best Practices: Implement an Effective AWS Resource Tagging Strategy <https://docs.aws.amazon.com/https://d1.awsstatic.com/whitepapers/aws-tagging-best-practices.pdf>`_ .
2399
+ :param vpc_config: Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see `Give SageMaker Access to Resources in your Amazon VPC <https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html>`_ .
2388
2400
 
2389
2401
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html
2390
2402
  :exampleMetadata: fixture=_generated
@@ -2471,7 +2483,7 @@ class CfnClusterProps:
2471
2483
 
2472
2484
  @builtins.property
2473
2485
  def cluster_name(self) -> typing.Optional[builtins.str]:
2474
- '''The name of the HyperPod Cluster.
2486
+ '''The name of the SageMaker HyperPod cluster.
2475
2487
 
2476
2488
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html#cfn-sagemaker-cluster-clustername
2477
2489
  '''
@@ -2480,9 +2492,9 @@ class CfnClusterProps:
2480
2492
 
2481
2493
  @builtins.property
2482
2494
  def node_recovery(self) -> typing.Optional[builtins.str]:
2483
- '''If node auto-recovery is set to true, faulty nodes will be replaced or rebooted when a failure is detected.
2495
+ '''Specifies whether to enable or disable the automatic node recovery feature of SageMaker HyperPod.
2484
2496
 
2485
- If set to false, nodes will be labelled when a fault is detected.
2497
+ Available values are ``Automatic`` for enabling and ``None`` for disabling.
2486
2498
 
2487
2499
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html#cfn-sagemaker-cluster-noderecovery
2488
2500
  '''
@@ -2493,7 +2505,9 @@ class CfnClusterProps:
2493
2505
  def orchestrator(
2494
2506
  self,
2495
2507
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.OrchestratorProperty]]:
2496
- '''Specifies parameter(s) specific to the orchestrator, e.g. specify the EKS cluster.
2508
+ '''The orchestrator type for the SageMaker HyperPod cluster.
2509
+
2510
+ Currently, ``'eks'`` is the only available option.
2497
2511
 
2498
2512
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html#cfn-sagemaker-cluster-orchestrator
2499
2513
  '''
@@ -2502,9 +2516,11 @@ class CfnClusterProps:
2502
2516
 
2503
2517
  @builtins.property
2504
2518
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
2505
- '''Custom tags for managing the SageMaker HyperPod cluster as an AWS resource.
2519
+ '''A tag object that consists of a key and an optional value, used to manage metadata for SageMaker AWS resources.
2520
+
2521
+ You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see `AddTags <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html>`_ .
2506
2522
 
2507
- You can add tags to your cluster in the same way you add them in other AWS services that support tagging.
2523
+ For more information on adding metadata to your AWS resources with tagging, see `Tagging AWS resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`_ . For advice on best practices for managing AWS resources with tagging, see `Tagging Best Practices: Implement an Effective AWS Resource Tagging Strategy <https://docs.aws.amazon.com/https://d1.awsstatic.com/whitepapers/aws-tagging-best-practices.pdf>`_ .
2508
2524
 
2509
2525
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html#cfn-sagemaker-cluster-tags
2510
2526
  '''
@@ -2517,7 +2533,7 @@ class CfnClusterProps:
2517
2533
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.VpcConfigProperty]]:
2518
2534
  '''Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
2519
2535
 
2520
- You can control access to and from your resources by configuring a VPC.
2536
+ You can control access to and from your resources by configuring a VPC. For more information, see `Give SageMaker Access to Resources in your Amazon VPC <https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html>`_ .
2521
2537
 
2522
2538
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html#cfn-sagemaker-cluster-vpcconfig
2523
2539
  '''
@@ -6043,6 +6059,14 @@ class CfnDomain(
6043
6059
 
6044
6060
  # the properties below are optional
6045
6061
  code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
6062
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
6063
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
6064
+ idle_timeout_in_minutes=123,
6065
+ lifecycle_management="lifecycleManagement",
6066
+ max_idle_timeout_in_minutes=123,
6067
+ min_idle_timeout_in_minutes=123
6068
+ )
6069
+ ),
6046
6070
  custom_images=[sagemaker.CfnDomain.CustomImageProperty(
6047
6071
  app_image_config_name="appImageConfigName",
6048
6072
  image_name="imageName",
@@ -6072,6 +6096,14 @@ class CfnDomain(
6072
6096
  ),
6073
6097
  default_landing_uri="defaultLandingUri",
6074
6098
  jupyter_lab_app_settings=sagemaker.CfnDomain.JupyterLabAppSettingsProperty(
6099
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
6100
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
6101
+ idle_timeout_in_minutes=123,
6102
+ lifecycle_management="lifecycleManagement",
6103
+ max_idle_timeout_in_minutes=123,
6104
+ min_idle_timeout_in_minutes=123
6105
+ )
6106
+ ),
6075
6107
  code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
6076
6108
  repository_url="repositoryUrl"
6077
6109
  )],
@@ -6176,6 +6208,14 @@ class CfnDomain(
6176
6208
  uid=123
6177
6209
  ),
6178
6210
  jupyter_lab_app_settings=sagemaker.CfnDomain.JupyterLabAppSettingsProperty(
6211
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
6212
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
6213
+ idle_timeout_in_minutes=123,
6214
+ lifecycle_management="lifecycleManagement",
6215
+ max_idle_timeout_in_minutes=123,
6216
+ min_idle_timeout_in_minutes=123
6217
+ )
6218
+ ),
6179
6219
  code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
6180
6220
  repository_url="repositoryUrl"
6181
6221
  )],
@@ -6577,10 +6617,73 @@ class CfnDomain(
6577
6617
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6578
6618
  jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
6579
6619
 
6620
+ @jsii.data_type(
6621
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.AppLifecycleManagementProperty",
6622
+ jsii_struct_bases=[],
6623
+ name_mapping={"idle_settings": "idleSettings"},
6624
+ )
6625
+ class AppLifecycleManagementProperty:
6626
+ def __init__(
6627
+ self,
6628
+ *,
6629
+ idle_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.IdleSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6630
+ ) -> None:
6631
+ '''Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications.
6632
+
6633
+ :param idle_settings: Settings related to idle shutdown of Studio applications.
6634
+
6635
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-applifecyclemanagement.html
6636
+ :exampleMetadata: fixture=_generated
6637
+
6638
+ Example::
6639
+
6640
+ # The code below shows an example of how to instantiate this type.
6641
+ # The values are placeholders you should change.
6642
+ from aws_cdk import aws_sagemaker as sagemaker
6643
+
6644
+ app_lifecycle_management_property = sagemaker.CfnDomain.AppLifecycleManagementProperty(
6645
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
6646
+ idle_timeout_in_minutes=123,
6647
+ lifecycle_management="lifecycleManagement",
6648
+ max_idle_timeout_in_minutes=123,
6649
+ min_idle_timeout_in_minutes=123
6650
+ )
6651
+ )
6652
+ '''
6653
+ if __debug__:
6654
+ type_hints = typing.get_type_hints(_typecheckingstub__7effd4411e9cef3285cdb58cb66208ce801332047fd17028be8db70aea812d86)
6655
+ check_type(argname="argument idle_settings", value=idle_settings, expected_type=type_hints["idle_settings"])
6656
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
6657
+ if idle_settings is not None:
6658
+ self._values["idle_settings"] = idle_settings
6659
+
6660
+ @builtins.property
6661
+ def idle_settings(
6662
+ self,
6663
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.IdleSettingsProperty"]]:
6664
+ '''Settings related to idle shutdown of Studio applications.
6665
+
6666
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-applifecyclemanagement.html#cfn-sagemaker-domain-applifecyclemanagement-idlesettings
6667
+ '''
6668
+ result = self._values.get("idle_settings")
6669
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.IdleSettingsProperty"]], result)
6670
+
6671
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
6672
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
6673
+
6674
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
6675
+ return not (rhs == self)
6676
+
6677
+ def __repr__(self) -> str:
6678
+ return "AppLifecycleManagementProperty(%s)" % ", ".join(
6679
+ k + "=" + repr(v) for k, v in self._values.items()
6680
+ )
6681
+
6580
6682
  @jsii.data_type(
6581
6683
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.CodeEditorAppSettingsProperty",
6582
6684
  jsii_struct_bases=[],
6583
6685
  name_mapping={
6686
+ "app_lifecycle_management": "appLifecycleManagement",
6584
6687
  "custom_images": "customImages",
6585
6688
  "default_resource_spec": "defaultResourceSpec",
6586
6689
  "lifecycle_config_arns": "lifecycleConfigArns",
@@ -6590,6 +6693,7 @@ class CfnDomain(
6590
6693
  def __init__(
6591
6694
  self,
6592
6695
  *,
6696
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.AppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6593
6697
  custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CustomImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
6594
6698
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6595
6699
  lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -6598,6 +6702,7 @@ class CfnDomain(
6598
6702
 
6599
6703
  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>`_ .
6600
6704
 
6705
+ :param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
6601
6706
  :param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
6602
6707
  :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.
6603
6708
  :param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
@@ -6612,6 +6717,14 @@ class CfnDomain(
6612
6717
  from aws_cdk import aws_sagemaker as sagemaker
6613
6718
 
6614
6719
  code_editor_app_settings_property = sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
6720
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
6721
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
6722
+ idle_timeout_in_minutes=123,
6723
+ lifecycle_management="lifecycleManagement",
6724
+ max_idle_timeout_in_minutes=123,
6725
+ min_idle_timeout_in_minutes=123
6726
+ )
6727
+ ),
6615
6728
  custom_images=[sagemaker.CfnDomain.CustomImageProperty(
6616
6729
  app_image_config_name="appImageConfigName",
6617
6730
  image_name="imageName",
@@ -6630,10 +6743,13 @@ class CfnDomain(
6630
6743
  '''
6631
6744
  if __debug__:
6632
6745
  type_hints = typing.get_type_hints(_typecheckingstub__fc744bb58e49877db429fbdcea73e31d9e5326375463940bb48321473f97dfaa)
6746
+ check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
6633
6747
  check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
6634
6748
  check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
6635
6749
  check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
6636
6750
  self._values: typing.Dict[builtins.str, typing.Any] = {}
6751
+ if app_lifecycle_management is not None:
6752
+ self._values["app_lifecycle_management"] = app_lifecycle_management
6637
6753
  if custom_images is not None:
6638
6754
  self._values["custom_images"] = custom_images
6639
6755
  if default_resource_spec is not None:
@@ -6641,6 +6757,17 @@ class CfnDomain(
6641
6757
  if lifecycle_config_arns is not None:
6642
6758
  self._values["lifecycle_config_arns"] = lifecycle_config_arns
6643
6759
 
6760
+ @builtins.property
6761
+ def app_lifecycle_management(
6762
+ self,
6763
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.AppLifecycleManagementProperty"]]:
6764
+ '''Settings that are used to configure and manage the lifecycle of CodeEditor applications.
6765
+
6766
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-codeeditorappsettings.html#cfn-sagemaker-domain-codeeditorappsettings-applifecyclemanagement
6767
+ '''
6768
+ result = self._values.get("app_lifecycle_management")
6769
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.AppLifecycleManagementProperty"]], result)
6770
+
6644
6771
  @builtins.property
6645
6772
  def custom_images(
6646
6773
  self,
@@ -7099,6 +7226,14 @@ class CfnDomain(
7099
7226
  uid=123
7100
7227
  ),
7101
7228
  jupyter_lab_app_settings=sagemaker.CfnDomain.JupyterLabAppSettingsProperty(
7229
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
7230
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
7231
+ idle_timeout_in_minutes=123,
7232
+ lifecycle_management="lifecycleManagement",
7233
+ max_idle_timeout_in_minutes=123,
7234
+ min_idle_timeout_in_minutes=123
7235
+ )
7236
+ ),
7102
7237
  code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
7103
7238
  repository_url="repositoryUrl"
7104
7239
  )],
@@ -7599,10 +7734,116 @@ class CfnDomain(
7599
7734
  k + "=" + repr(v) for k, v in self._values.items()
7600
7735
  )
7601
7736
 
7737
+ @jsii.data_type(
7738
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.IdleSettingsProperty",
7739
+ jsii_struct_bases=[],
7740
+ name_mapping={
7741
+ "idle_timeout_in_minutes": "idleTimeoutInMinutes",
7742
+ "lifecycle_management": "lifecycleManagement",
7743
+ "max_idle_timeout_in_minutes": "maxIdleTimeoutInMinutes",
7744
+ "min_idle_timeout_in_minutes": "minIdleTimeoutInMinutes",
7745
+ },
7746
+ )
7747
+ class IdleSettingsProperty:
7748
+ def __init__(
7749
+ self,
7750
+ *,
7751
+ idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
7752
+ lifecycle_management: typing.Optional[builtins.str] = None,
7753
+ max_idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
7754
+ min_idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
7755
+ ) -> None:
7756
+ '''Settings related to idle shutdown of Studio applications.
7757
+
7758
+ :param idle_timeout_in_minutes: The time that SageMaker waits after the application becomes idle before shutting it down.
7759
+ :param lifecycle_management: Indicates whether idle shutdown is activated for the application type.
7760
+ :param max_idle_timeout_in_minutes: The maximum value in minutes that custom idle shutdown can be set to by the user.
7761
+ :param min_idle_timeout_in_minutes: The minimum value in minutes that custom idle shutdown can be set to by the user.
7762
+
7763
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-idlesettings.html
7764
+ :exampleMetadata: fixture=_generated
7765
+
7766
+ Example::
7767
+
7768
+ # The code below shows an example of how to instantiate this type.
7769
+ # The values are placeholders you should change.
7770
+ from aws_cdk import aws_sagemaker as sagemaker
7771
+
7772
+ idle_settings_property = sagemaker.CfnDomain.IdleSettingsProperty(
7773
+ idle_timeout_in_minutes=123,
7774
+ lifecycle_management="lifecycleManagement",
7775
+ max_idle_timeout_in_minutes=123,
7776
+ min_idle_timeout_in_minutes=123
7777
+ )
7778
+ '''
7779
+ if __debug__:
7780
+ type_hints = typing.get_type_hints(_typecheckingstub__9e3d0f1226c122e790812fdc875a758ed55021588a3e9f6f3227062284b60c8b)
7781
+ check_type(argname="argument idle_timeout_in_minutes", value=idle_timeout_in_minutes, expected_type=type_hints["idle_timeout_in_minutes"])
7782
+ check_type(argname="argument lifecycle_management", value=lifecycle_management, expected_type=type_hints["lifecycle_management"])
7783
+ check_type(argname="argument max_idle_timeout_in_minutes", value=max_idle_timeout_in_minutes, expected_type=type_hints["max_idle_timeout_in_minutes"])
7784
+ check_type(argname="argument min_idle_timeout_in_minutes", value=min_idle_timeout_in_minutes, expected_type=type_hints["min_idle_timeout_in_minutes"])
7785
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
7786
+ if idle_timeout_in_minutes is not None:
7787
+ self._values["idle_timeout_in_minutes"] = idle_timeout_in_minutes
7788
+ if lifecycle_management is not None:
7789
+ self._values["lifecycle_management"] = lifecycle_management
7790
+ if max_idle_timeout_in_minutes is not None:
7791
+ self._values["max_idle_timeout_in_minutes"] = max_idle_timeout_in_minutes
7792
+ if min_idle_timeout_in_minutes is not None:
7793
+ self._values["min_idle_timeout_in_minutes"] = min_idle_timeout_in_minutes
7794
+
7795
+ @builtins.property
7796
+ def idle_timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
7797
+ '''The time that SageMaker waits after the application becomes idle before shutting it down.
7798
+
7799
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-idlesettings.html#cfn-sagemaker-domain-idlesettings-idletimeoutinminutes
7800
+ '''
7801
+ result = self._values.get("idle_timeout_in_minutes")
7802
+ return typing.cast(typing.Optional[jsii.Number], result)
7803
+
7804
+ @builtins.property
7805
+ def lifecycle_management(self) -> typing.Optional[builtins.str]:
7806
+ '''Indicates whether idle shutdown is activated for the application type.
7807
+
7808
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-idlesettings.html#cfn-sagemaker-domain-idlesettings-lifecyclemanagement
7809
+ '''
7810
+ result = self._values.get("lifecycle_management")
7811
+ return typing.cast(typing.Optional[builtins.str], result)
7812
+
7813
+ @builtins.property
7814
+ def max_idle_timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
7815
+ '''The maximum value in minutes that custom idle shutdown can be set to by the user.
7816
+
7817
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-idlesettings.html#cfn-sagemaker-domain-idlesettings-maxidletimeoutinminutes
7818
+ '''
7819
+ result = self._values.get("max_idle_timeout_in_minutes")
7820
+ return typing.cast(typing.Optional[jsii.Number], result)
7821
+
7822
+ @builtins.property
7823
+ def min_idle_timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
7824
+ '''The minimum value in minutes that custom idle shutdown can be set to by the user.
7825
+
7826
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-idlesettings.html#cfn-sagemaker-domain-idlesettings-minidletimeoutinminutes
7827
+ '''
7828
+ result = self._values.get("min_idle_timeout_in_minutes")
7829
+ return typing.cast(typing.Optional[jsii.Number], result)
7830
+
7831
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
7832
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
7833
+
7834
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
7835
+ return not (rhs == self)
7836
+
7837
+ def __repr__(self) -> str:
7838
+ return "IdleSettingsProperty(%s)" % ", ".join(
7839
+ k + "=" + repr(v) for k, v in self._values.items()
7840
+ )
7841
+
7602
7842
  @jsii.data_type(
7603
7843
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.JupyterLabAppSettingsProperty",
7604
7844
  jsii_struct_bases=[],
7605
7845
  name_mapping={
7846
+ "app_lifecycle_management": "appLifecycleManagement",
7606
7847
  "code_repositories": "codeRepositories",
7607
7848
  "custom_images": "customImages",
7608
7849
  "default_resource_spec": "defaultResourceSpec",
@@ -7613,6 +7854,7 @@ class CfnDomain(
7613
7854
  def __init__(
7614
7855
  self,
7615
7856
  *,
7857
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.AppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
7616
7858
  code_repositories: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CodeRepositoryProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
7617
7859
  custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CustomImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
7618
7860
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -7620,6 +7862,7 @@ class CfnDomain(
7620
7862
  ) -> None:
7621
7863
  '''The settings for the JupyterLab application.
7622
7864
 
7865
+ :param app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
7623
7866
  :param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
7624
7867
  :param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
7625
7868
  :param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
@@ -7635,6 +7878,14 @@ class CfnDomain(
7635
7878
  from aws_cdk import aws_sagemaker as sagemaker
7636
7879
 
7637
7880
  jupyter_lab_app_settings_property = sagemaker.CfnDomain.JupyterLabAppSettingsProperty(
7881
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
7882
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
7883
+ idle_timeout_in_minutes=123,
7884
+ lifecycle_management="lifecycleManagement",
7885
+ max_idle_timeout_in_minutes=123,
7886
+ min_idle_timeout_in_minutes=123
7887
+ )
7888
+ ),
7638
7889
  code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
7639
7890
  repository_url="repositoryUrl"
7640
7891
  )],
@@ -7656,11 +7907,14 @@ class CfnDomain(
7656
7907
  '''
7657
7908
  if __debug__:
7658
7909
  type_hints = typing.get_type_hints(_typecheckingstub__3cd086b89fbe936eaaa5fb775d9cbd0e29ad00fb21eb2a45265c217414f406d1)
7910
+ check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
7659
7911
  check_type(argname="argument code_repositories", value=code_repositories, expected_type=type_hints["code_repositories"])
7660
7912
  check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
7661
7913
  check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
7662
7914
  check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
7663
7915
  self._values: typing.Dict[builtins.str, typing.Any] = {}
7916
+ if app_lifecycle_management is not None:
7917
+ self._values["app_lifecycle_management"] = app_lifecycle_management
7664
7918
  if code_repositories is not None:
7665
7919
  self._values["code_repositories"] = code_repositories
7666
7920
  if custom_images is not None:
@@ -7670,6 +7924,17 @@ class CfnDomain(
7670
7924
  if lifecycle_config_arns is not None:
7671
7925
  self._values["lifecycle_config_arns"] = lifecycle_config_arns
7672
7926
 
7927
+ @builtins.property
7928
+ def app_lifecycle_management(
7929
+ self,
7930
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.AppLifecycleManagementProperty"]]:
7931
+ '''Indicates whether idle shutdown is activated for JupyterLab applications.
7932
+
7933
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-jupyterlabappsettings.html#cfn-sagemaker-domain-jupyterlabappsettings-applifecyclemanagement
7934
+ '''
7935
+ result = self._values.get("app_lifecycle_management")
7936
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.AppLifecycleManagementProperty"]], result)
7937
+
7673
7938
  @builtins.property
7674
7939
  def code_repositories(
7675
7940
  self,
@@ -8553,6 +8818,14 @@ class CfnDomain(
8553
8818
 
8554
8819
  # the properties below are optional
8555
8820
  code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
8821
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
8822
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
8823
+ idle_timeout_in_minutes=123,
8824
+ lifecycle_management="lifecycleManagement",
8825
+ max_idle_timeout_in_minutes=123,
8826
+ min_idle_timeout_in_minutes=123
8827
+ )
8828
+ ),
8556
8829
  custom_images=[sagemaker.CfnDomain.CustomImageProperty(
8557
8830
  app_image_config_name="appImageConfigName",
8558
8831
  image_name="imageName",
@@ -8582,6 +8855,14 @@ class CfnDomain(
8582
8855
  ),
8583
8856
  default_landing_uri="defaultLandingUri",
8584
8857
  jupyter_lab_app_settings=sagemaker.CfnDomain.JupyterLabAppSettingsProperty(
8858
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
8859
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
8860
+ idle_timeout_in_minutes=123,
8861
+ lifecycle_management="lifecycleManagement",
8862
+ max_idle_timeout_in_minutes=123,
8863
+ min_idle_timeout_in_minutes=123
8864
+ )
8865
+ ),
8585
8866
  code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
8586
8867
  repository_url="repositoryUrl"
8587
8868
  )],
@@ -8960,6 +9241,14 @@ class CfnDomainProps:
8960
9241
 
8961
9242
  # the properties below are optional
8962
9243
  code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
9244
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
9245
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
9246
+ idle_timeout_in_minutes=123,
9247
+ lifecycle_management="lifecycleManagement",
9248
+ max_idle_timeout_in_minutes=123,
9249
+ min_idle_timeout_in_minutes=123
9250
+ )
9251
+ ),
8963
9252
  custom_images=[sagemaker.CfnDomain.CustomImageProperty(
8964
9253
  app_image_config_name="appImageConfigName",
8965
9254
  image_name="imageName",
@@ -8989,6 +9278,14 @@ class CfnDomainProps:
8989
9278
  ),
8990
9279
  default_landing_uri="defaultLandingUri",
8991
9280
  jupyter_lab_app_settings=sagemaker.CfnDomain.JupyterLabAppSettingsProperty(
9281
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
9282
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
9283
+ idle_timeout_in_minutes=123,
9284
+ lifecycle_management="lifecycleManagement",
9285
+ max_idle_timeout_in_minutes=123,
9286
+ min_idle_timeout_in_minutes=123
9287
+ )
9288
+ ),
8992
9289
  code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
8993
9290
  repository_url="repositoryUrl"
8994
9291
  )],
@@ -9093,6 +9390,14 @@ class CfnDomainProps:
9093
9390
  uid=123
9094
9391
  ),
9095
9392
  jupyter_lab_app_settings=sagemaker.CfnDomain.JupyterLabAppSettingsProperty(
9393
+ app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
9394
+ idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
9395
+ idle_timeout_in_minutes=123,
9396
+ lifecycle_management="lifecycleManagement",
9397
+ max_idle_timeout_in_minutes=123,
9398
+ min_idle_timeout_in_minutes=123
9399
+ )
9400
+ ),
9096
9401
  code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
9097
9402
  repository_url="repositoryUrl"
9098
9403
  )],
@@ -42198,6 +42503,11 @@ class CfnSpace(
42198
42503
  space_settings=sagemaker.CfnSpace.SpaceSettingsProperty(
42199
42504
  app_type="appType",
42200
42505
  code_editor_app_settings=sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty(
42506
+ app_lifecycle_management=sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty(
42507
+ idle_settings=sagemaker.CfnSpace.SpaceIdleSettingsProperty(
42508
+ idle_timeout_in_minutes=123
42509
+ )
42510
+ ),
42201
42511
  default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
42202
42512
  instance_type="instanceType",
42203
42513
  lifecycle_config_arn="lifecycleConfigArn",
@@ -42211,6 +42521,11 @@ class CfnSpace(
42211
42521
  )
42212
42522
  )],
42213
42523
  jupyter_lab_app_settings=sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
42524
+ app_lifecycle_management=sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty(
42525
+ idle_settings=sagemaker.CfnSpace.SpaceIdleSettingsProperty(
42526
+ idle_timeout_in_minutes=123
42527
+ )
42528
+ ),
42214
42529
  code_repositories=[sagemaker.CfnSpace.CodeRepositoryProperty(
42215
42530
  repository_url="repositoryUrl"
42216
42531
  )],
@@ -43152,19 +43467,83 @@ class CfnSpace(
43152
43467
  k + "=" + repr(v) for k, v in self._values.items()
43153
43468
  )
43154
43469
 
43470
+ @jsii.data_type(
43471
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty",
43472
+ jsii_struct_bases=[],
43473
+ name_mapping={"idle_settings": "idleSettings"},
43474
+ )
43475
+ class SpaceAppLifecycleManagementProperty:
43476
+ def __init__(
43477
+ self,
43478
+ *,
43479
+ idle_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.SpaceIdleSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
43480
+ ) -> None:
43481
+ '''Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications in a space.
43482
+
43483
+ :param idle_settings: Settings related to idle shutdown of Studio applications.
43484
+
43485
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spaceapplifecyclemanagement.html
43486
+ :exampleMetadata: fixture=_generated
43487
+
43488
+ Example::
43489
+
43490
+ # The code below shows an example of how to instantiate this type.
43491
+ # The values are placeholders you should change.
43492
+ from aws_cdk import aws_sagemaker as sagemaker
43493
+
43494
+ space_app_lifecycle_management_property = sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty(
43495
+ idle_settings=sagemaker.CfnSpace.SpaceIdleSettingsProperty(
43496
+ idle_timeout_in_minutes=123
43497
+ )
43498
+ )
43499
+ '''
43500
+ if __debug__:
43501
+ type_hints = typing.get_type_hints(_typecheckingstub__a3fb258f8d778b7e45356a74e30d0b582d97ae5caa19a37e7c19fc07737b346d)
43502
+ check_type(argname="argument idle_settings", value=idle_settings, expected_type=type_hints["idle_settings"])
43503
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
43504
+ if idle_settings is not None:
43505
+ self._values["idle_settings"] = idle_settings
43506
+
43507
+ @builtins.property
43508
+ def idle_settings(
43509
+ self,
43510
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceIdleSettingsProperty"]]:
43511
+ '''Settings related to idle shutdown of Studio applications.
43512
+
43513
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spaceapplifecyclemanagement.html#cfn-sagemaker-space-spaceapplifecyclemanagement-idlesettings
43514
+ '''
43515
+ result = self._values.get("idle_settings")
43516
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceIdleSettingsProperty"]], result)
43517
+
43518
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
43519
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
43520
+
43521
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
43522
+ return not (rhs == self)
43523
+
43524
+ def __repr__(self) -> str:
43525
+ return "SpaceAppLifecycleManagementProperty(%s)" % ", ".join(
43526
+ k + "=" + repr(v) for k, v in self._values.items()
43527
+ )
43528
+
43155
43529
  @jsii.data_type(
43156
43530
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty",
43157
43531
  jsii_struct_bases=[],
43158
- name_mapping={"default_resource_spec": "defaultResourceSpec"},
43532
+ name_mapping={
43533
+ "app_lifecycle_management": "appLifecycleManagement",
43534
+ "default_resource_spec": "defaultResourceSpec",
43535
+ },
43159
43536
  )
43160
43537
  class SpaceCodeEditorAppSettingsProperty:
43161
43538
  def __init__(
43162
43539
  self,
43163
43540
  *,
43541
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.SpaceAppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
43164
43542
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
43165
43543
  ) -> None:
43166
43544
  '''The application settings for a Code Editor space.
43167
43545
 
43546
+ :param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications in a space.
43168
43547
  :param default_resource_spec: Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
43169
43548
 
43170
43549
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacecodeeditorappsettings.html
@@ -43177,6 +43556,11 @@ class CfnSpace(
43177
43556
  from aws_cdk import aws_sagemaker as sagemaker
43178
43557
 
43179
43558
  space_code_editor_app_settings_property = sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty(
43559
+ app_lifecycle_management=sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty(
43560
+ idle_settings=sagemaker.CfnSpace.SpaceIdleSettingsProperty(
43561
+ idle_timeout_in_minutes=123
43562
+ )
43563
+ ),
43180
43564
  default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
43181
43565
  instance_type="instanceType",
43182
43566
  lifecycle_config_arn="lifecycleConfigArn",
@@ -43187,11 +43571,25 @@ class CfnSpace(
43187
43571
  '''
43188
43572
  if __debug__:
43189
43573
  type_hints = typing.get_type_hints(_typecheckingstub__1ccdbe16ad464b21c1c01c798a58ed7a704f69ec08bdbedc54b19a13b70b847a)
43574
+ check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
43190
43575
  check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
43191
43576
  self._values: typing.Dict[builtins.str, typing.Any] = {}
43577
+ if app_lifecycle_management is not None:
43578
+ self._values["app_lifecycle_management"] = app_lifecycle_management
43192
43579
  if default_resource_spec is not None:
43193
43580
  self._values["default_resource_spec"] = default_resource_spec
43194
43581
 
43582
+ @builtins.property
43583
+ def app_lifecycle_management(
43584
+ self,
43585
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceAppLifecycleManagementProperty"]]:
43586
+ '''Settings that are used to configure and manage the lifecycle of CodeEditor applications in a space.
43587
+
43588
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacecodeeditorappsettings.html#cfn-sagemaker-space-spacecodeeditorappsettings-applifecyclemanagement
43589
+ '''
43590
+ result = self._values.get("app_lifecycle_management")
43591
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceAppLifecycleManagementProperty"]], result)
43592
+
43195
43593
  @builtins.property
43196
43594
  def default_resource_spec(
43197
43595
  self,
@@ -43214,10 +43612,66 @@ class CfnSpace(
43214
43612
  k + "=" + repr(v) for k, v in self._values.items()
43215
43613
  )
43216
43614
 
43615
+ @jsii.data_type(
43616
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.SpaceIdleSettingsProperty",
43617
+ jsii_struct_bases=[],
43618
+ name_mapping={"idle_timeout_in_minutes": "idleTimeoutInMinutes"},
43619
+ )
43620
+ class SpaceIdleSettingsProperty:
43621
+ def __init__(
43622
+ self,
43623
+ *,
43624
+ idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
43625
+ ) -> None:
43626
+ '''Settings related to idle shutdown of Studio applications in a space.
43627
+
43628
+ :param idle_timeout_in_minutes: The time that SageMaker waits after the application becomes idle before shutting it down.
43629
+
43630
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spaceidlesettings.html
43631
+ :exampleMetadata: fixture=_generated
43632
+
43633
+ Example::
43634
+
43635
+ # The code below shows an example of how to instantiate this type.
43636
+ # The values are placeholders you should change.
43637
+ from aws_cdk import aws_sagemaker as sagemaker
43638
+
43639
+ space_idle_settings_property = sagemaker.CfnSpace.SpaceIdleSettingsProperty(
43640
+ idle_timeout_in_minutes=123
43641
+ )
43642
+ '''
43643
+ if __debug__:
43644
+ type_hints = typing.get_type_hints(_typecheckingstub__ba45760d28cbd41dde96f4e7bf5fb24c44ae1d86607db1388cb082115e380aee)
43645
+ check_type(argname="argument idle_timeout_in_minutes", value=idle_timeout_in_minutes, expected_type=type_hints["idle_timeout_in_minutes"])
43646
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
43647
+ if idle_timeout_in_minutes is not None:
43648
+ self._values["idle_timeout_in_minutes"] = idle_timeout_in_minutes
43649
+
43650
+ @builtins.property
43651
+ def idle_timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
43652
+ '''The time that SageMaker waits after the application becomes idle before shutting it down.
43653
+
43654
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spaceidlesettings.html#cfn-sagemaker-space-spaceidlesettings-idletimeoutinminutes
43655
+ '''
43656
+ result = self._values.get("idle_timeout_in_minutes")
43657
+ return typing.cast(typing.Optional[jsii.Number], result)
43658
+
43659
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
43660
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
43661
+
43662
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
43663
+ return not (rhs == self)
43664
+
43665
+ def __repr__(self) -> str:
43666
+ return "SpaceIdleSettingsProperty(%s)" % ", ".join(
43667
+ k + "=" + repr(v) for k, v in self._values.items()
43668
+ )
43669
+
43217
43670
  @jsii.data_type(
43218
43671
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty",
43219
43672
  jsii_struct_bases=[],
43220
43673
  name_mapping={
43674
+ "app_lifecycle_management": "appLifecycleManagement",
43221
43675
  "code_repositories": "codeRepositories",
43222
43676
  "default_resource_spec": "defaultResourceSpec",
43223
43677
  },
@@ -43226,11 +43680,13 @@ class CfnSpace(
43226
43680
  def __init__(
43227
43681
  self,
43228
43682
  *,
43683
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.SpaceAppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
43229
43684
  code_repositories: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.CodeRepositoryProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
43230
43685
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
43231
43686
  ) -> None:
43232
43687
  '''The settings for the JupyterLab application within a space.
43233
43688
 
43689
+ :param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space.
43234
43690
  :param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
43235
43691
  :param default_resource_spec: Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
43236
43692
 
@@ -43244,6 +43700,11 @@ class CfnSpace(
43244
43700
  from aws_cdk import aws_sagemaker as sagemaker
43245
43701
 
43246
43702
  space_jupyter_lab_app_settings_property = sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
43703
+ app_lifecycle_management=sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty(
43704
+ idle_settings=sagemaker.CfnSpace.SpaceIdleSettingsProperty(
43705
+ idle_timeout_in_minutes=123
43706
+ )
43707
+ ),
43247
43708
  code_repositories=[sagemaker.CfnSpace.CodeRepositoryProperty(
43248
43709
  repository_url="repositoryUrl"
43249
43710
  )],
@@ -43257,14 +43718,28 @@ class CfnSpace(
43257
43718
  '''
43258
43719
  if __debug__:
43259
43720
  type_hints = typing.get_type_hints(_typecheckingstub__a41dc337f9d1d8489c3a20e3b4e83371071cb50a7748a0d97f725a95f5f41aca)
43721
+ check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
43260
43722
  check_type(argname="argument code_repositories", value=code_repositories, expected_type=type_hints["code_repositories"])
43261
43723
  check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
43262
43724
  self._values: typing.Dict[builtins.str, typing.Any] = {}
43725
+ if app_lifecycle_management is not None:
43726
+ self._values["app_lifecycle_management"] = app_lifecycle_management
43263
43727
  if code_repositories is not None:
43264
43728
  self._values["code_repositories"] = code_repositories
43265
43729
  if default_resource_spec is not None:
43266
43730
  self._values["default_resource_spec"] = default_resource_spec
43267
43731
 
43732
+ @builtins.property
43733
+ def app_lifecycle_management(
43734
+ self,
43735
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceAppLifecycleManagementProperty"]]:
43736
+ '''Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space.
43737
+
43738
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacejupyterlabappsettings.html#cfn-sagemaker-space-spacejupyterlabappsettings-applifecyclemanagement
43739
+ '''
43740
+ result = self._values.get("app_lifecycle_management")
43741
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceAppLifecycleManagementProperty"]], result)
43742
+
43268
43743
  @builtins.property
43269
43744
  def code_repositories(
43270
43745
  self,
@@ -43345,6 +43820,11 @@ class CfnSpace(
43345
43820
  space_settings_property = sagemaker.CfnSpace.SpaceSettingsProperty(
43346
43821
  app_type="appType",
43347
43822
  code_editor_app_settings=sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty(
43823
+ app_lifecycle_management=sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty(
43824
+ idle_settings=sagemaker.CfnSpace.SpaceIdleSettingsProperty(
43825
+ idle_timeout_in_minutes=123
43826
+ )
43827
+ ),
43348
43828
  default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
43349
43829
  instance_type="instanceType",
43350
43830
  lifecycle_config_arn="lifecycleConfigArn",
@@ -43358,6 +43838,11 @@ class CfnSpace(
43358
43838
  )
43359
43839
  )],
43360
43840
  jupyter_lab_app_settings=sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
43841
+ app_lifecycle_management=sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty(
43842
+ idle_settings=sagemaker.CfnSpace.SpaceIdleSettingsProperty(
43843
+ idle_timeout_in_minutes=123
43844
+ )
43845
+ ),
43361
43846
  code_repositories=[sagemaker.CfnSpace.CodeRepositoryProperty(
43362
43847
  repository_url="repositoryUrl"
43363
43848
  )],
@@ -43681,6 +44166,11 @@ class CfnSpaceProps:
43681
44166
  space_settings=sagemaker.CfnSpace.SpaceSettingsProperty(
43682
44167
  app_type="appType",
43683
44168
  code_editor_app_settings=sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty(
44169
+ app_lifecycle_management=sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty(
44170
+ idle_settings=sagemaker.CfnSpace.SpaceIdleSettingsProperty(
44171
+ idle_timeout_in_minutes=123
44172
+ )
44173
+ ),
43684
44174
  default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
43685
44175
  instance_type="instanceType",
43686
44176
  lifecycle_config_arn="lifecycleConfigArn",
@@ -43694,6 +44184,11 @@ class CfnSpaceProps:
43694
44184
  )
43695
44185
  )],
43696
44186
  jupyter_lab_app_settings=sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
44187
+ app_lifecycle_management=sagemaker.CfnSpace.SpaceAppLifecycleManagementProperty(
44188
+ idle_settings=sagemaker.CfnSpace.SpaceIdleSettingsProperty(
44189
+ idle_timeout_in_minutes=123
44190
+ )
44191
+ ),
43697
44192
  code_repositories=[sagemaker.CfnSpace.CodeRepositoryProperty(
43698
44193
  repository_url="repositoryUrl"
43699
44194
  )],
@@ -44166,6 +44661,14 @@ class CfnUserProfile(
44166
44661
  )],
44167
44662
  user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
44168
44663
  code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
44664
+ app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
44665
+ idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
44666
+ idle_timeout_in_minutes=123,
44667
+ lifecycle_management="lifecycleManagement",
44668
+ max_idle_timeout_in_minutes=123,
44669
+ min_idle_timeout_in_minutes=123
44670
+ )
44671
+ ),
44169
44672
  custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
44170
44673
  app_image_config_name="appImageConfigName",
44171
44674
  image_name="imageName",
@@ -44196,6 +44699,14 @@ class CfnUserProfile(
44196
44699
  default_landing_uri="defaultLandingUri",
44197
44700
  execution_role="executionRole",
44198
44701
  jupyter_lab_app_settings=sagemaker.CfnUserProfile.JupyterLabAppSettingsProperty(
44702
+ app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
44703
+ idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
44704
+ idle_timeout_in_minutes=123,
44705
+ lifecycle_management="lifecycleManagement",
44706
+ max_idle_timeout_in_minutes=123,
44707
+ min_idle_timeout_in_minutes=123
44708
+ )
44709
+ ),
44199
44710
  code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
44200
44711
  repository_url="repositoryUrl"
44201
44712
  )],
@@ -44437,10 +44948,73 @@ class CfnUserProfile(
44437
44948
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
44438
44949
  jsii.set(self, "userSettings", value) # pyright: ignore[reportArgumentType]
44439
44950
 
44951
+ @jsii.data_type(
44952
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.AppLifecycleManagementProperty",
44953
+ jsii_struct_bases=[],
44954
+ name_mapping={"idle_settings": "idleSettings"},
44955
+ )
44956
+ class AppLifecycleManagementProperty:
44957
+ def __init__(
44958
+ self,
44959
+ *,
44960
+ idle_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.IdleSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
44961
+ ) -> None:
44962
+ '''Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications.
44963
+
44964
+ :param idle_settings: Settings related to idle shutdown of Studio applications.
44965
+
44966
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-applifecyclemanagement.html
44967
+ :exampleMetadata: fixture=_generated
44968
+
44969
+ Example::
44970
+
44971
+ # The code below shows an example of how to instantiate this type.
44972
+ # The values are placeholders you should change.
44973
+ from aws_cdk import aws_sagemaker as sagemaker
44974
+
44975
+ app_lifecycle_management_property = sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
44976
+ idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
44977
+ idle_timeout_in_minutes=123,
44978
+ lifecycle_management="lifecycleManagement",
44979
+ max_idle_timeout_in_minutes=123,
44980
+ min_idle_timeout_in_minutes=123
44981
+ )
44982
+ )
44983
+ '''
44984
+ if __debug__:
44985
+ type_hints = typing.get_type_hints(_typecheckingstub__1de2f359712adb79d9133bada8d874676f1cf8ddb79c11623d797df1bc8c721b)
44986
+ check_type(argname="argument idle_settings", value=idle_settings, expected_type=type_hints["idle_settings"])
44987
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
44988
+ if idle_settings is not None:
44989
+ self._values["idle_settings"] = idle_settings
44990
+
44991
+ @builtins.property
44992
+ def idle_settings(
44993
+ self,
44994
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.IdleSettingsProperty"]]:
44995
+ '''Settings related to idle shutdown of Studio applications.
44996
+
44997
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-applifecyclemanagement.html#cfn-sagemaker-userprofile-applifecyclemanagement-idlesettings
44998
+ '''
44999
+ result = self._values.get("idle_settings")
45000
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.IdleSettingsProperty"]], result)
45001
+
45002
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
45003
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
45004
+
45005
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
45006
+ return not (rhs == self)
45007
+
45008
+ def __repr__(self) -> str:
45009
+ return "AppLifecycleManagementProperty(%s)" % ", ".join(
45010
+ k + "=" + repr(v) for k, v in self._values.items()
45011
+ )
45012
+
44440
45013
  @jsii.data_type(
44441
45014
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty",
44442
45015
  jsii_struct_bases=[],
44443
45016
  name_mapping={
45017
+ "app_lifecycle_management": "appLifecycleManagement",
44444
45018
  "custom_images": "customImages",
44445
45019
  "default_resource_spec": "defaultResourceSpec",
44446
45020
  "lifecycle_config_arns": "lifecycleConfigArns",
@@ -44450,6 +45024,7 @@ class CfnUserProfile(
44450
45024
  def __init__(
44451
45025
  self,
44452
45026
  *,
45027
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.AppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
44453
45028
  custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CustomImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
44454
45029
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
44455
45030
  lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -44458,6 +45033,7 @@ class CfnUserProfile(
44458
45033
 
44459
45034
  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>`_ .
44460
45035
 
45036
+ :param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
44461
45037
  :param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
44462
45038
  :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.
44463
45039
  :param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
@@ -44472,6 +45048,14 @@ class CfnUserProfile(
44472
45048
  from aws_cdk import aws_sagemaker as sagemaker
44473
45049
 
44474
45050
  code_editor_app_settings_property = sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
45051
+ app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
45052
+ idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
45053
+ idle_timeout_in_minutes=123,
45054
+ lifecycle_management="lifecycleManagement",
45055
+ max_idle_timeout_in_minutes=123,
45056
+ min_idle_timeout_in_minutes=123
45057
+ )
45058
+ ),
44475
45059
  custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
44476
45060
  app_image_config_name="appImageConfigName",
44477
45061
  image_name="imageName",
@@ -44490,10 +45074,13 @@ class CfnUserProfile(
44490
45074
  '''
44491
45075
  if __debug__:
44492
45076
  type_hints = typing.get_type_hints(_typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5)
45077
+ check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
44493
45078
  check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
44494
45079
  check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
44495
45080
  check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
44496
45081
  self._values: typing.Dict[builtins.str, typing.Any] = {}
45082
+ if app_lifecycle_management is not None:
45083
+ self._values["app_lifecycle_management"] = app_lifecycle_management
44497
45084
  if custom_images is not None:
44498
45085
  self._values["custom_images"] = custom_images
44499
45086
  if default_resource_spec is not None:
@@ -44501,6 +45088,17 @@ class CfnUserProfile(
44501
45088
  if lifecycle_config_arns is not None:
44502
45089
  self._values["lifecycle_config_arns"] = lifecycle_config_arns
44503
45090
 
45091
+ @builtins.property
45092
+ def app_lifecycle_management(
45093
+ self,
45094
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.AppLifecycleManagementProperty"]]:
45095
+ '''Settings that are used to configure and manage the lifecycle of CodeEditor applications.
45096
+
45097
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-applifecyclemanagement
45098
+ '''
45099
+ result = self._values.get("app_lifecycle_management")
45100
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.AppLifecycleManagementProperty"]], result)
45101
+
44504
45102
  @builtins.property
44505
45103
  def custom_images(
44506
45104
  self,
@@ -45033,10 +45631,116 @@ class CfnUserProfile(
45033
45631
  k + "=" + repr(v) for k, v in self._values.items()
45034
45632
  )
45035
45633
 
45634
+ @jsii.data_type(
45635
+ jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.IdleSettingsProperty",
45636
+ jsii_struct_bases=[],
45637
+ name_mapping={
45638
+ "idle_timeout_in_minutes": "idleTimeoutInMinutes",
45639
+ "lifecycle_management": "lifecycleManagement",
45640
+ "max_idle_timeout_in_minutes": "maxIdleTimeoutInMinutes",
45641
+ "min_idle_timeout_in_minutes": "minIdleTimeoutInMinutes",
45642
+ },
45643
+ )
45644
+ class IdleSettingsProperty:
45645
+ def __init__(
45646
+ self,
45647
+ *,
45648
+ idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
45649
+ lifecycle_management: typing.Optional[builtins.str] = None,
45650
+ max_idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
45651
+ min_idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
45652
+ ) -> None:
45653
+ '''Settings related to idle shutdown of Studio applications.
45654
+
45655
+ :param idle_timeout_in_minutes: The time that SageMaker waits after the application becomes idle before shutting it down.
45656
+ :param lifecycle_management: Indicates whether idle shutdown is activated for the application type.
45657
+ :param max_idle_timeout_in_minutes: The maximum value in minutes that custom idle shutdown can be set to by the user.
45658
+ :param min_idle_timeout_in_minutes: The minimum value in minutes that custom idle shutdown can be set to by the user.
45659
+
45660
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html
45661
+ :exampleMetadata: fixture=_generated
45662
+
45663
+ Example::
45664
+
45665
+ # The code below shows an example of how to instantiate this type.
45666
+ # The values are placeholders you should change.
45667
+ from aws_cdk import aws_sagemaker as sagemaker
45668
+
45669
+ idle_settings_property = sagemaker.CfnUserProfile.IdleSettingsProperty(
45670
+ idle_timeout_in_minutes=123,
45671
+ lifecycle_management="lifecycleManagement",
45672
+ max_idle_timeout_in_minutes=123,
45673
+ min_idle_timeout_in_minutes=123
45674
+ )
45675
+ '''
45676
+ if __debug__:
45677
+ type_hints = typing.get_type_hints(_typecheckingstub__a4f947a25801ba152e8f9b88cabae6d5acefc670d4af60084ef7a8f1a7e21e9f)
45678
+ check_type(argname="argument idle_timeout_in_minutes", value=idle_timeout_in_minutes, expected_type=type_hints["idle_timeout_in_minutes"])
45679
+ check_type(argname="argument lifecycle_management", value=lifecycle_management, expected_type=type_hints["lifecycle_management"])
45680
+ check_type(argname="argument max_idle_timeout_in_minutes", value=max_idle_timeout_in_minutes, expected_type=type_hints["max_idle_timeout_in_minutes"])
45681
+ check_type(argname="argument min_idle_timeout_in_minutes", value=min_idle_timeout_in_minutes, expected_type=type_hints["min_idle_timeout_in_minutes"])
45682
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
45683
+ if idle_timeout_in_minutes is not None:
45684
+ self._values["idle_timeout_in_minutes"] = idle_timeout_in_minutes
45685
+ if lifecycle_management is not None:
45686
+ self._values["lifecycle_management"] = lifecycle_management
45687
+ if max_idle_timeout_in_minutes is not None:
45688
+ self._values["max_idle_timeout_in_minutes"] = max_idle_timeout_in_minutes
45689
+ if min_idle_timeout_in_minutes is not None:
45690
+ self._values["min_idle_timeout_in_minutes"] = min_idle_timeout_in_minutes
45691
+
45692
+ @builtins.property
45693
+ def idle_timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
45694
+ '''The time that SageMaker waits after the application becomes idle before shutting it down.
45695
+
45696
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html#cfn-sagemaker-userprofile-idlesettings-idletimeoutinminutes
45697
+ '''
45698
+ result = self._values.get("idle_timeout_in_minutes")
45699
+ return typing.cast(typing.Optional[jsii.Number], result)
45700
+
45701
+ @builtins.property
45702
+ def lifecycle_management(self) -> typing.Optional[builtins.str]:
45703
+ '''Indicates whether idle shutdown is activated for the application type.
45704
+
45705
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html#cfn-sagemaker-userprofile-idlesettings-lifecyclemanagement
45706
+ '''
45707
+ result = self._values.get("lifecycle_management")
45708
+ return typing.cast(typing.Optional[builtins.str], result)
45709
+
45710
+ @builtins.property
45711
+ def max_idle_timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
45712
+ '''The maximum value in minutes that custom idle shutdown can be set to by the user.
45713
+
45714
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html#cfn-sagemaker-userprofile-idlesettings-maxidletimeoutinminutes
45715
+ '''
45716
+ result = self._values.get("max_idle_timeout_in_minutes")
45717
+ return typing.cast(typing.Optional[jsii.Number], result)
45718
+
45719
+ @builtins.property
45720
+ def min_idle_timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
45721
+ '''The minimum value in minutes that custom idle shutdown can be set to by the user.
45722
+
45723
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html#cfn-sagemaker-userprofile-idlesettings-minidletimeoutinminutes
45724
+ '''
45725
+ result = self._values.get("min_idle_timeout_in_minutes")
45726
+ return typing.cast(typing.Optional[jsii.Number], result)
45727
+
45728
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
45729
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
45730
+
45731
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
45732
+ return not (rhs == self)
45733
+
45734
+ def __repr__(self) -> str:
45735
+ return "IdleSettingsProperty(%s)" % ", ".join(
45736
+ k + "=" + repr(v) for k, v in self._values.items()
45737
+ )
45738
+
45036
45739
  @jsii.data_type(
45037
45740
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.JupyterLabAppSettingsProperty",
45038
45741
  jsii_struct_bases=[],
45039
45742
  name_mapping={
45743
+ "app_lifecycle_management": "appLifecycleManagement",
45040
45744
  "code_repositories": "codeRepositories",
45041
45745
  "custom_images": "customImages",
45042
45746
  "default_resource_spec": "defaultResourceSpec",
@@ -45047,6 +45751,7 @@ class CfnUserProfile(
45047
45751
  def __init__(
45048
45752
  self,
45049
45753
  *,
45754
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.AppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
45050
45755
  code_repositories: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CodeRepositoryProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
45051
45756
  custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CustomImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
45052
45757
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -45054,6 +45759,7 @@ class CfnUserProfile(
45054
45759
  ) -> None:
45055
45760
  '''The settings for the JupyterLab application.
45056
45761
 
45762
+ :param app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
45057
45763
  :param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
45058
45764
  :param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
45059
45765
  :param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
@@ -45069,6 +45775,14 @@ class CfnUserProfile(
45069
45775
  from aws_cdk import aws_sagemaker as sagemaker
45070
45776
 
45071
45777
  jupyter_lab_app_settings_property = sagemaker.CfnUserProfile.JupyterLabAppSettingsProperty(
45778
+ app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
45779
+ idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
45780
+ idle_timeout_in_minutes=123,
45781
+ lifecycle_management="lifecycleManagement",
45782
+ max_idle_timeout_in_minutes=123,
45783
+ min_idle_timeout_in_minutes=123
45784
+ )
45785
+ ),
45072
45786
  code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
45073
45787
  repository_url="repositoryUrl"
45074
45788
  )],
@@ -45090,11 +45804,14 @@ class CfnUserProfile(
45090
45804
  '''
45091
45805
  if __debug__:
45092
45806
  type_hints = typing.get_type_hints(_typecheckingstub__8fbb8b52ced6fc617c616b643ca1ddc3673e837117aaeaf2063654aaa5ad3b72)
45807
+ check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
45093
45808
  check_type(argname="argument code_repositories", value=code_repositories, expected_type=type_hints["code_repositories"])
45094
45809
  check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
45095
45810
  check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
45096
45811
  check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
45097
45812
  self._values: typing.Dict[builtins.str, typing.Any] = {}
45813
+ if app_lifecycle_management is not None:
45814
+ self._values["app_lifecycle_management"] = app_lifecycle_management
45098
45815
  if code_repositories is not None:
45099
45816
  self._values["code_repositories"] = code_repositories
45100
45817
  if custom_images is not None:
@@ -45104,6 +45821,17 @@ class CfnUserProfile(
45104
45821
  if lifecycle_config_arns is not None:
45105
45822
  self._values["lifecycle_config_arns"] = lifecycle_config_arns
45106
45823
 
45824
+ @builtins.property
45825
+ def app_lifecycle_management(
45826
+ self,
45827
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.AppLifecycleManagementProperty"]]:
45828
+ '''Indicates whether idle shutdown is activated for JupyterLab applications.
45829
+
45830
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-applifecyclemanagement
45831
+ '''
45832
+ result = self._values.get("app_lifecycle_management")
45833
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.AppLifecycleManagementProperty"]], result)
45834
+
45107
45835
  @builtins.property
45108
45836
  def code_repositories(
45109
45837
  self,
@@ -45778,6 +46506,14 @@ class CfnUserProfile(
45778
46506
 
45779
46507
  user_settings_property = sagemaker.CfnUserProfile.UserSettingsProperty(
45780
46508
  code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
46509
+ app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
46510
+ idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
46511
+ idle_timeout_in_minutes=123,
46512
+ lifecycle_management="lifecycleManagement",
46513
+ max_idle_timeout_in_minutes=123,
46514
+ min_idle_timeout_in_minutes=123
46515
+ )
46516
+ ),
45781
46517
  custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
45782
46518
  app_image_config_name="appImageConfigName",
45783
46519
  image_name="imageName",
@@ -45808,6 +46544,14 @@ class CfnUserProfile(
45808
46544
  default_landing_uri="defaultLandingUri",
45809
46545
  execution_role="executionRole",
45810
46546
  jupyter_lab_app_settings=sagemaker.CfnUserProfile.JupyterLabAppSettingsProperty(
46547
+ app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
46548
+ idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
46549
+ idle_timeout_in_minutes=123,
46550
+ lifecycle_management="lifecycleManagement",
46551
+ max_idle_timeout_in_minutes=123,
46552
+ min_idle_timeout_in_minutes=123
46553
+ )
46554
+ ),
45811
46555
  code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
45812
46556
  repository_url="repositoryUrl"
45813
46557
  )],
@@ -46147,6 +46891,14 @@ class CfnUserProfileProps:
46147
46891
  )],
46148
46892
  user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
46149
46893
  code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
46894
+ app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
46895
+ idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
46896
+ idle_timeout_in_minutes=123,
46897
+ lifecycle_management="lifecycleManagement",
46898
+ max_idle_timeout_in_minutes=123,
46899
+ min_idle_timeout_in_minutes=123
46900
+ )
46901
+ ),
46150
46902
  custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
46151
46903
  app_image_config_name="appImageConfigName",
46152
46904
  image_name="imageName",
@@ -46177,6 +46929,14 @@ class CfnUserProfileProps:
46177
46929
  default_landing_uri="defaultLandingUri",
46178
46930
  execution_role="executionRole",
46179
46931
  jupyter_lab_app_settings=sagemaker.CfnUserProfile.JupyterLabAppSettingsProperty(
46932
+ app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
46933
+ idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
46934
+ idle_timeout_in_minutes=123,
46935
+ lifecycle_management="lifecycleManagement",
46936
+ max_idle_timeout_in_minutes=123,
46937
+ min_idle_timeout_in_minutes=123
46938
+ )
46939
+ ),
46180
46940
  code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
46181
46941
  repository_url="repositoryUrl"
46182
46942
  )],
@@ -48132,8 +48892,16 @@ def _typecheckingstub__6d1a70c209913231f1eb30dba814eb3a3bc58f6f4341ea1392c5061d8
48132
48892
  """Type checking stubs"""
48133
48893
  pass
48134
48894
 
48895
+ def _typecheckingstub__7effd4411e9cef3285cdb58cb66208ce801332047fd17028be8db70aea812d86(
48896
+ *,
48897
+ idle_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.IdleSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
48898
+ ) -> None:
48899
+ """Type checking stubs"""
48900
+ pass
48901
+
48135
48902
  def _typecheckingstub__fc744bb58e49877db429fbdcea73e31d9e5326375463940bb48321473f97dfaa(
48136
48903
  *,
48904
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.AppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
48137
48905
  custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CustomImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
48138
48906
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
48139
48907
  lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -48226,8 +48994,19 @@ def _typecheckingstub__f58dbfc3d8dc294c7e7f3e4dbd80fef3d00950f110fa9f391ce587b6d
48226
48994
  """Type checking stubs"""
48227
48995
  pass
48228
48996
 
48997
+ def _typecheckingstub__9e3d0f1226c122e790812fdc875a758ed55021588a3e9f6f3227062284b60c8b(
48998
+ *,
48999
+ idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
49000
+ lifecycle_management: typing.Optional[builtins.str] = None,
49001
+ max_idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
49002
+ min_idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
49003
+ ) -> None:
49004
+ """Type checking stubs"""
49005
+ pass
49006
+
48229
49007
  def _typecheckingstub__3cd086b89fbe936eaaa5fb775d9cbd0e29ad00fb21eb2a45265c217414f406d1(
48230
49008
  *,
49009
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.AppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
48231
49010
  code_repositories: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CodeRepositoryProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
48232
49011
  custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CustomImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
48233
49012
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -52307,15 +53086,31 @@ def _typecheckingstub__79b889d20ec4ee307fedce4172f7c39782dc99bf76625acfdf5b00983
52307
53086
  """Type checking stubs"""
52308
53087
  pass
52309
53088
 
53089
+ def _typecheckingstub__a3fb258f8d778b7e45356a74e30d0b582d97ae5caa19a37e7c19fc07737b346d(
53090
+ *,
53091
+ idle_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceIdleSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
53092
+ ) -> None:
53093
+ """Type checking stubs"""
53094
+ pass
53095
+
52310
53096
  def _typecheckingstub__1ccdbe16ad464b21c1c01c798a58ed7a704f69ec08bdbedc54b19a13b70b847a(
52311
53097
  *,
53098
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceAppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
52312
53099
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
52313
53100
  ) -> None:
52314
53101
  """Type checking stubs"""
52315
53102
  pass
52316
53103
 
53104
+ def _typecheckingstub__ba45760d28cbd41dde96f4e7bf5fb24c44ae1d86607db1388cb082115e380aee(
53105
+ *,
53106
+ idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
53107
+ ) -> None:
53108
+ """Type checking stubs"""
53109
+ pass
53110
+
52317
53111
  def _typecheckingstub__a41dc337f9d1d8489c3a20e3b4e83371071cb50a7748a0d97f725a95f5f41aca(
52318
53112
  *,
53113
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceAppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
52319
53114
  code_repositories: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.CodeRepositoryProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
52320
53115
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
52321
53116
  ) -> None:
@@ -52482,8 +53277,16 @@ def _typecheckingstub__406091aa6a2a94d5bbf06575babcd4456ed92c8bbf6d0265ac1061bf9
52482
53277
  """Type checking stubs"""
52483
53278
  pass
52484
53279
 
53280
+ def _typecheckingstub__1de2f359712adb79d9133bada8d874676f1cf8ddb79c11623d797df1bc8c721b(
53281
+ *,
53282
+ idle_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.IdleSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
53283
+ ) -> None:
53284
+ """Type checking stubs"""
53285
+ pass
53286
+
52485
53287
  def _typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5(
52486
53288
  *,
53289
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.AppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
52487
53290
  custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CustomImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
52488
53291
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
52489
53292
  lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -52545,8 +53348,19 @@ def _typecheckingstub__a31e83e9dc4907dba90a688b8095eb32a7c29ae9f1d2f32e4d18c55b8
52545
53348
  """Type checking stubs"""
52546
53349
  pass
52547
53350
 
53351
+ def _typecheckingstub__a4f947a25801ba152e8f9b88cabae6d5acefc670d4af60084ef7a8f1a7e21e9f(
53352
+ *,
53353
+ idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
53354
+ lifecycle_management: typing.Optional[builtins.str] = None,
53355
+ max_idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
53356
+ min_idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
53357
+ ) -> None:
53358
+ """Type checking stubs"""
53359
+ pass
53360
+
52548
53361
  def _typecheckingstub__8fbb8b52ced6fc617c616b643ca1ddc3673e837117aaeaf2063654aaa5ad3b72(
52549
53362
  *,
53363
+ app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.AppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
52550
53364
  code_repositories: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CodeRepositoryProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
52551
53365
  custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CustomImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
52552
53366
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,