aws-cdk-lib 2.193.0__py3-none-any.whl → 2.195.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +2 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.193.0.jsii.tgz → aws-cdk-lib@2.195.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +63 -2
- aws_cdk/aws_aps/__init__.py +34 -22
- aws_cdk/aws_autoscaling/__init__.py +8 -0
- aws_cdk/aws_batch/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +587 -8
- aws_cdk/aws_ce/__init__.py +34 -22
- aws_cdk/aws_cloudfront/__init__.py +6090 -3972
- aws_cdk/aws_codebuild/__init__.py +19 -10
- aws_cdk/aws_codepipeline/__init__.py +108 -0
- aws_cdk/aws_cognito/__init__.py +132 -6
- aws_cdk/aws_datazone/__init__.py +370 -0
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dsql/__init__.py +9 -0
- aws_cdk/aws_dynamodb/__init__.py +5 -3
- aws_cdk/aws_ec2/__init__.py +138 -11
- aws_cdk/aws_ecr/__init__.py +419 -0
- aws_cdk/aws_ecs/__init__.py +22 -25
- aws_cdk/aws_entityresolution/__init__.py +7 -2
- aws_cdk/aws_events/__init__.py +41 -8
- aws_cdk/aws_fsx/__init__.py +2 -3
- aws_cdk/aws_imagebuilder/__init__.py +160 -10
- aws_cdk/aws_kinesisanalytics/__init__.py +4 -2
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -2
- aws_cdk/aws_lambda/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +4 -6
- aws_cdk/aws_mediapackagev2/__init__.py +50 -6
- aws_cdk/aws_mediatailor/__init__.py +115 -0
- aws_cdk/aws_memorydb/__init__.py +21 -11
- aws_cdk/aws_oam/__init__.py +43 -10
- aws_cdk/aws_omics/__init__.py +5 -5
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +87 -8
- aws_cdk/aws_redshiftserverless/__init__.py +20 -0
- aws_cdk/aws_route53/__init__.py +18 -14
- aws_cdk/aws_route53_targets/__init__.py +62 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_route53resolver/__init__.py +41 -0
- aws_cdk/aws_s3/__init__.py +2 -4
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +255 -8
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/aws_vpclattice/__init__.py +6 -2
- aws_cdk/aws_wisdom/__init__.py +25 -6
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/RECORD +54 -53
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/top_level.txt +0 -0
|
@@ -104,6 +104,7 @@ class CfnApp(
|
|
|
104
104
|
user_profile_name="userProfileName",
|
|
105
105
|
|
|
106
106
|
# the properties below are optional
|
|
107
|
+
recovery_mode=False,
|
|
107
108
|
resource_spec=sagemaker.CfnApp.ResourceSpecProperty(
|
|
108
109
|
instance_type="instanceType",
|
|
109
110
|
lifecycle_config_arn="lifecycleConfigArn",
|
|
@@ -126,6 +127,7 @@ class CfnApp(
|
|
|
126
127
|
app_type: builtins.str,
|
|
127
128
|
domain_id: builtins.str,
|
|
128
129
|
user_profile_name: builtins.str,
|
|
130
|
+
recovery_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
129
131
|
resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApp.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
130
132
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
131
133
|
) -> None:
|
|
@@ -136,6 +138,7 @@ class CfnApp(
|
|
|
136
138
|
:param app_type: The type of app.
|
|
137
139
|
:param domain_id: The domain ID.
|
|
138
140
|
:param user_profile_name: The user profile name.
|
|
141
|
+
:param recovery_mode: Indicates whether the application is launched in recovery mode.
|
|
139
142
|
:param resource_spec: Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
140
143
|
:param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
141
144
|
'''
|
|
@@ -148,6 +151,7 @@ class CfnApp(
|
|
|
148
151
|
app_type=app_type,
|
|
149
152
|
domain_id=domain_id,
|
|
150
153
|
user_profile_name=user_profile_name,
|
|
154
|
+
recovery_mode=recovery_mode,
|
|
151
155
|
resource_spec=resource_spec,
|
|
152
156
|
tags=tags,
|
|
153
157
|
)
|
|
@@ -193,6 +197,15 @@ class CfnApp(
|
|
|
193
197
|
'''
|
|
194
198
|
return typing.cast(builtins.str, jsii.get(self, "attrAppArn"))
|
|
195
199
|
|
|
200
|
+
@builtins.property
|
|
201
|
+
@jsii.member(jsii_name="attrBuiltInLifecycleConfigArn")
|
|
202
|
+
def attr_built_in_lifecycle_config_arn(self) -> builtins.str:
|
|
203
|
+
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
204
|
+
|
|
205
|
+
:cloudformationAttribute: BuiltInLifecycleConfigArn
|
|
206
|
+
'''
|
|
207
|
+
return typing.cast(builtins.str, jsii.get(self, "attrBuiltInLifecycleConfigArn"))
|
|
208
|
+
|
|
196
209
|
@builtins.property
|
|
197
210
|
@jsii.member(jsii_name="cfnProperties")
|
|
198
211
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -256,6 +269,24 @@ class CfnApp(
|
|
|
256
269
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
257
270
|
jsii.set(self, "userProfileName", value) # pyright: ignore[reportArgumentType]
|
|
258
271
|
|
|
272
|
+
@builtins.property
|
|
273
|
+
@jsii.member(jsii_name="recoveryMode")
|
|
274
|
+
def recovery_mode(
|
|
275
|
+
self,
|
|
276
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
277
|
+
'''Indicates whether the application is launched in recovery mode.'''
|
|
278
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "recoveryMode"))
|
|
279
|
+
|
|
280
|
+
@recovery_mode.setter
|
|
281
|
+
def recovery_mode(
|
|
282
|
+
self,
|
|
283
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
284
|
+
) -> None:
|
|
285
|
+
if __debug__:
|
|
286
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f9db056b4c694b5579e4171517bac256cb919f19041d12d1a8a1c8b09120e81a)
|
|
287
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
288
|
+
jsii.set(self, "recoveryMode", value) # pyright: ignore[reportArgumentType]
|
|
289
|
+
|
|
259
290
|
@builtins.property
|
|
260
291
|
@jsii.member(jsii_name="resourceSpec")
|
|
261
292
|
def resource_spec(
|
|
@@ -1365,6 +1396,7 @@ class CfnAppImageConfigProps:
|
|
|
1365
1396
|
"app_type": "appType",
|
|
1366
1397
|
"domain_id": "domainId",
|
|
1367
1398
|
"user_profile_name": "userProfileName",
|
|
1399
|
+
"recovery_mode": "recoveryMode",
|
|
1368
1400
|
"resource_spec": "resourceSpec",
|
|
1369
1401
|
"tags": "tags",
|
|
1370
1402
|
},
|
|
@@ -1377,6 +1409,7 @@ class CfnAppProps:
|
|
|
1377
1409
|
app_type: builtins.str,
|
|
1378
1410
|
domain_id: builtins.str,
|
|
1379
1411
|
user_profile_name: builtins.str,
|
|
1412
|
+
recovery_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1380
1413
|
resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1381
1414
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1382
1415
|
) -> None:
|
|
@@ -1386,6 +1419,7 @@ class CfnAppProps:
|
|
|
1386
1419
|
:param app_type: The type of app.
|
|
1387
1420
|
:param domain_id: The domain ID.
|
|
1388
1421
|
:param user_profile_name: The user profile name.
|
|
1422
|
+
:param recovery_mode: Indicates whether the application is launched in recovery mode.
|
|
1389
1423
|
:param resource_spec: Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
1390
1424
|
:param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
1391
1425
|
|
|
@@ -1405,6 +1439,7 @@ class CfnAppProps:
|
|
|
1405
1439
|
user_profile_name="userProfileName",
|
|
1406
1440
|
|
|
1407
1441
|
# the properties below are optional
|
|
1442
|
+
recovery_mode=False,
|
|
1408
1443
|
resource_spec=sagemaker.CfnApp.ResourceSpecProperty(
|
|
1409
1444
|
instance_type="instanceType",
|
|
1410
1445
|
lifecycle_config_arn="lifecycleConfigArn",
|
|
@@ -1423,6 +1458,7 @@ class CfnAppProps:
|
|
|
1423
1458
|
check_type(argname="argument app_type", value=app_type, expected_type=type_hints["app_type"])
|
|
1424
1459
|
check_type(argname="argument domain_id", value=domain_id, expected_type=type_hints["domain_id"])
|
|
1425
1460
|
check_type(argname="argument user_profile_name", value=user_profile_name, expected_type=type_hints["user_profile_name"])
|
|
1461
|
+
check_type(argname="argument recovery_mode", value=recovery_mode, expected_type=type_hints["recovery_mode"])
|
|
1426
1462
|
check_type(argname="argument resource_spec", value=resource_spec, expected_type=type_hints["resource_spec"])
|
|
1427
1463
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1428
1464
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -1431,6 +1467,8 @@ class CfnAppProps:
|
|
|
1431
1467
|
"domain_id": domain_id,
|
|
1432
1468
|
"user_profile_name": user_profile_name,
|
|
1433
1469
|
}
|
|
1470
|
+
if recovery_mode is not None:
|
|
1471
|
+
self._values["recovery_mode"] = recovery_mode
|
|
1434
1472
|
if resource_spec is not None:
|
|
1435
1473
|
self._values["resource_spec"] = resource_spec
|
|
1436
1474
|
if tags is not None:
|
|
@@ -1476,6 +1514,17 @@ class CfnAppProps:
|
|
|
1476
1514
|
assert result is not None, "Required property 'user_profile_name' is missing"
|
|
1477
1515
|
return typing.cast(builtins.str, result)
|
|
1478
1516
|
|
|
1517
|
+
@builtins.property
|
|
1518
|
+
def recovery_mode(
|
|
1519
|
+
self,
|
|
1520
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1521
|
+
'''Indicates whether the application is launched in recovery mode.
|
|
1522
|
+
|
|
1523
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html#cfn-sagemaker-app-recoverymode
|
|
1524
|
+
'''
|
|
1525
|
+
result = self._values.get("recovery_mode")
|
|
1526
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1527
|
+
|
|
1479
1528
|
@builtins.property
|
|
1480
1529
|
def resource_spec(
|
|
1481
1530
|
self,
|
|
@@ -1882,7 +1931,7 @@ class CfnCluster(
|
|
|
1882
1931
|
:param current_count: The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
|
|
1883
1932
|
:param instance_storage_configs: The configurations of additional storage specified to the instance group where the instance (node) is launched.
|
|
1884
1933
|
: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.
|
|
1885
|
-
:param override_vpc_config:
|
|
1934
|
+
:param override_vpc_config: The customized Amazon VPC configuration at the instance group level that overrides the default Amazon VPC configuration of the SageMaker HyperPod cluster.
|
|
1886
1935
|
:param threads_per_core: The number of threads per CPU core you specified under ``CreateCluster`` .
|
|
1887
1936
|
|
|
1888
1937
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html
|
|
@@ -2038,9 +2087,7 @@ class CfnCluster(
|
|
|
2038
2087
|
def override_vpc_config(
|
|
2039
2088
|
self,
|
|
2040
2089
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConfigProperty"]]:
|
|
2041
|
-
'''
|
|
2042
|
-
|
|
2043
|
-
You can control access to and from your resources by configuring a VPC.
|
|
2090
|
+
'''The customized Amazon VPC configuration at the instance group level that overrides the default Amazon VPC configuration of the SageMaker HyperPod cluster.
|
|
2044
2091
|
|
|
2045
2092
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-overridevpcconfig
|
|
2046
2093
|
'''
|
|
@@ -46257,6 +46304,7 @@ class CfnUserProfile(
|
|
|
46257
46304
|
value="value"
|
|
46258
46305
|
)],
|
|
46259
46306
|
user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
46307
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
46260
46308
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
46261
46309
|
app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
|
|
46262
46310
|
idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
|
|
@@ -46266,6 +46314,7 @@ class CfnUserProfile(
|
|
|
46266
46314
|
min_idle_timeout_in_minutes=123
|
|
46267
46315
|
)
|
|
46268
46316
|
),
|
|
46317
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
46269
46318
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
46270
46319
|
app_image_config_name="appImageConfigName",
|
|
46271
46320
|
image_name="imageName",
|
|
@@ -46310,6 +46359,7 @@ class CfnUserProfile(
|
|
|
46310
46359
|
min_idle_timeout_in_minutes=123
|
|
46311
46360
|
)
|
|
46312
46361
|
),
|
|
46362
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
46313
46363
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
46314
46364
|
repository_url="repositoryUrl"
|
|
46315
46365
|
)],
|
|
@@ -46372,7 +46422,12 @@ class CfnUserProfile(
|
|
|
46372
46422
|
studio_web_portal="studioWebPortal",
|
|
46373
46423
|
studio_web_portal_settings=sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
46374
46424
|
hidden_app_types=["hiddenAppTypes"],
|
|
46375
|
-
|
|
46425
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
46426
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
46427
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
|
|
46428
|
+
sage_maker_image_name="sageMakerImageName",
|
|
46429
|
+
version_aliases=["versionAliases"]
|
|
46430
|
+
)]
|
|
46376
46431
|
)
|
|
46377
46432
|
)
|
|
46378
46433
|
)
|
|
@@ -46618,6 +46673,7 @@ class CfnUserProfile(
|
|
|
46618
46673
|
jsii_struct_bases=[],
|
|
46619
46674
|
name_mapping={
|
|
46620
46675
|
"app_lifecycle_management": "appLifecycleManagement",
|
|
46676
|
+
"built_in_lifecycle_config_arn": "builtInLifecycleConfigArn",
|
|
46621
46677
|
"custom_images": "customImages",
|
|
46622
46678
|
"default_resource_spec": "defaultResourceSpec",
|
|
46623
46679
|
"lifecycle_config_arns": "lifecycleConfigArns",
|
|
@@ -46628,6 +46684,7 @@ class CfnUserProfile(
|
|
|
46628
46684
|
self,
|
|
46629
46685
|
*,
|
|
46630
46686
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.AppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
46687
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
46631
46688
|
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,
|
|
46632
46689
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
46633
46690
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -46637,6 +46694,7 @@ class CfnUserProfile(
|
|
|
46637
46694
|
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>`_ .
|
|
46638
46695
|
|
|
46639
46696
|
:param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
|
|
46697
|
+
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
|
|
46640
46698
|
:param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
46641
46699
|
: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.
|
|
46642
46700
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
@@ -46659,6 +46717,7 @@ class CfnUserProfile(
|
|
|
46659
46717
|
min_idle_timeout_in_minutes=123
|
|
46660
46718
|
)
|
|
46661
46719
|
),
|
|
46720
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
46662
46721
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
46663
46722
|
app_image_config_name="appImageConfigName",
|
|
46664
46723
|
image_name="imageName",
|
|
@@ -46678,12 +46737,15 @@ class CfnUserProfile(
|
|
|
46678
46737
|
if __debug__:
|
|
46679
46738
|
type_hints = typing.get_type_hints(_typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5)
|
|
46680
46739
|
check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
|
|
46740
|
+
check_type(argname="argument built_in_lifecycle_config_arn", value=built_in_lifecycle_config_arn, expected_type=type_hints["built_in_lifecycle_config_arn"])
|
|
46681
46741
|
check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
|
|
46682
46742
|
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
46683
46743
|
check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
|
|
46684
46744
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
46685
46745
|
if app_lifecycle_management is not None:
|
|
46686
46746
|
self._values["app_lifecycle_management"] = app_lifecycle_management
|
|
46747
|
+
if built_in_lifecycle_config_arn is not None:
|
|
46748
|
+
self._values["built_in_lifecycle_config_arn"] = built_in_lifecycle_config_arn
|
|
46687
46749
|
if custom_images is not None:
|
|
46688
46750
|
self._values["custom_images"] = custom_images
|
|
46689
46751
|
if default_resource_spec is not None:
|
|
@@ -46702,6 +46764,15 @@ class CfnUserProfile(
|
|
|
46702
46764
|
result = self._values.get("app_lifecycle_management")
|
|
46703
46765
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.AppLifecycleManagementProperty"]], result)
|
|
46704
46766
|
|
|
46767
|
+
@builtins.property
|
|
46768
|
+
def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
|
|
46769
|
+
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
46770
|
+
|
|
46771
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-builtinlifecycleconfigarn
|
|
46772
|
+
'''
|
|
46773
|
+
result = self._values.get("built_in_lifecycle_config_arn")
|
|
46774
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
46775
|
+
|
|
46705
46776
|
@builtins.property
|
|
46706
46777
|
def custom_images(
|
|
46707
46778
|
self,
|
|
@@ -47337,6 +47408,77 @@ class CfnUserProfile(
|
|
|
47337
47408
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
47338
47409
|
)
|
|
47339
47410
|
|
|
47411
|
+
@jsii.data_type(
|
|
47412
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.HiddenSageMakerImageProperty",
|
|
47413
|
+
jsii_struct_bases=[],
|
|
47414
|
+
name_mapping={
|
|
47415
|
+
"sage_maker_image_name": "sageMakerImageName",
|
|
47416
|
+
"version_aliases": "versionAliases",
|
|
47417
|
+
},
|
|
47418
|
+
)
|
|
47419
|
+
class HiddenSageMakerImageProperty:
|
|
47420
|
+
def __init__(
|
|
47421
|
+
self,
|
|
47422
|
+
*,
|
|
47423
|
+
sage_maker_image_name: typing.Optional[builtins.str] = None,
|
|
47424
|
+
version_aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
47425
|
+
) -> None:
|
|
47426
|
+
'''
|
|
47427
|
+
:param sage_maker_image_name: The SageMaker image name that you are hiding from the Studio user interface.
|
|
47428
|
+
:param version_aliases:
|
|
47429
|
+
|
|
47430
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html
|
|
47431
|
+
:exampleMetadata: fixture=_generated
|
|
47432
|
+
|
|
47433
|
+
Example::
|
|
47434
|
+
|
|
47435
|
+
# The code below shows an example of how to instantiate this type.
|
|
47436
|
+
# The values are placeholders you should change.
|
|
47437
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
47438
|
+
|
|
47439
|
+
hidden_sage_maker_image_property = sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
|
|
47440
|
+
sage_maker_image_name="sageMakerImageName",
|
|
47441
|
+
version_aliases=["versionAliases"]
|
|
47442
|
+
)
|
|
47443
|
+
'''
|
|
47444
|
+
if __debug__:
|
|
47445
|
+
type_hints = typing.get_type_hints(_typecheckingstub__edd8c8d75b169e32821742e84039e1440e15c9a960f261e379e7d4c741f05505)
|
|
47446
|
+
check_type(argname="argument sage_maker_image_name", value=sage_maker_image_name, expected_type=type_hints["sage_maker_image_name"])
|
|
47447
|
+
check_type(argname="argument version_aliases", value=version_aliases, expected_type=type_hints["version_aliases"])
|
|
47448
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
47449
|
+
if sage_maker_image_name is not None:
|
|
47450
|
+
self._values["sage_maker_image_name"] = sage_maker_image_name
|
|
47451
|
+
if version_aliases is not None:
|
|
47452
|
+
self._values["version_aliases"] = version_aliases
|
|
47453
|
+
|
|
47454
|
+
@builtins.property
|
|
47455
|
+
def sage_maker_image_name(self) -> typing.Optional[builtins.str]:
|
|
47456
|
+
'''The SageMaker image name that you are hiding from the Studio user interface.
|
|
47457
|
+
|
|
47458
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html#cfn-sagemaker-userprofile-hiddensagemakerimage-sagemakerimagename
|
|
47459
|
+
'''
|
|
47460
|
+
result = self._values.get("sage_maker_image_name")
|
|
47461
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
47462
|
+
|
|
47463
|
+
@builtins.property
|
|
47464
|
+
def version_aliases(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
47465
|
+
'''
|
|
47466
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html#cfn-sagemaker-userprofile-hiddensagemakerimage-versionaliases
|
|
47467
|
+
'''
|
|
47468
|
+
result = self._values.get("version_aliases")
|
|
47469
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
47470
|
+
|
|
47471
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
47472
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
47473
|
+
|
|
47474
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
47475
|
+
return not (rhs == self)
|
|
47476
|
+
|
|
47477
|
+
def __repr__(self) -> str:
|
|
47478
|
+
return "HiddenSageMakerImageProperty(%s)" % ", ".join(
|
|
47479
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
47480
|
+
)
|
|
47481
|
+
|
|
47340
47482
|
@jsii.data_type(
|
|
47341
47483
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.IdleSettingsProperty",
|
|
47342
47484
|
jsii_struct_bases=[],
|
|
@@ -47447,6 +47589,7 @@ class CfnUserProfile(
|
|
|
47447
47589
|
jsii_struct_bases=[],
|
|
47448
47590
|
name_mapping={
|
|
47449
47591
|
"app_lifecycle_management": "appLifecycleManagement",
|
|
47592
|
+
"built_in_lifecycle_config_arn": "builtInLifecycleConfigArn",
|
|
47450
47593
|
"code_repositories": "codeRepositories",
|
|
47451
47594
|
"custom_images": "customImages",
|
|
47452
47595
|
"default_resource_spec": "defaultResourceSpec",
|
|
@@ -47458,6 +47601,7 @@ class CfnUserProfile(
|
|
|
47458
47601
|
self,
|
|
47459
47602
|
*,
|
|
47460
47603
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.AppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47604
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
47461
47605
|
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,
|
|
47462
47606
|
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,
|
|
47463
47607
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -47466,6 +47610,7 @@ class CfnUserProfile(
|
|
|
47466
47610
|
'''The settings for the JupyterLab application.
|
|
47467
47611
|
|
|
47468
47612
|
:param app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
|
|
47613
|
+
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
|
|
47469
47614
|
:param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
47470
47615
|
:param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
|
|
47471
47616
|
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
|
|
@@ -47489,6 +47634,7 @@ class CfnUserProfile(
|
|
|
47489
47634
|
min_idle_timeout_in_minutes=123
|
|
47490
47635
|
)
|
|
47491
47636
|
),
|
|
47637
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
47492
47638
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
47493
47639
|
repository_url="repositoryUrl"
|
|
47494
47640
|
)],
|
|
@@ -47511,6 +47657,7 @@ class CfnUserProfile(
|
|
|
47511
47657
|
if __debug__:
|
|
47512
47658
|
type_hints = typing.get_type_hints(_typecheckingstub__8fbb8b52ced6fc617c616b643ca1ddc3673e837117aaeaf2063654aaa5ad3b72)
|
|
47513
47659
|
check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
|
|
47660
|
+
check_type(argname="argument built_in_lifecycle_config_arn", value=built_in_lifecycle_config_arn, expected_type=type_hints["built_in_lifecycle_config_arn"])
|
|
47514
47661
|
check_type(argname="argument code_repositories", value=code_repositories, expected_type=type_hints["code_repositories"])
|
|
47515
47662
|
check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
|
|
47516
47663
|
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
@@ -47518,6 +47665,8 @@ class CfnUserProfile(
|
|
|
47518
47665
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
47519
47666
|
if app_lifecycle_management is not None:
|
|
47520
47667
|
self._values["app_lifecycle_management"] = app_lifecycle_management
|
|
47668
|
+
if built_in_lifecycle_config_arn is not None:
|
|
47669
|
+
self._values["built_in_lifecycle_config_arn"] = built_in_lifecycle_config_arn
|
|
47521
47670
|
if code_repositories is not None:
|
|
47522
47671
|
self._values["code_repositories"] = code_repositories
|
|
47523
47672
|
if custom_images is not None:
|
|
@@ -47538,6 +47687,15 @@ class CfnUserProfile(
|
|
|
47538
47687
|
result = self._values.get("app_lifecycle_management")
|
|
47539
47688
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.AppLifecycleManagementProperty"]], result)
|
|
47540
47689
|
|
|
47690
|
+
@builtins.property
|
|
47691
|
+
def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
|
|
47692
|
+
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
47693
|
+
|
|
47694
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-builtinlifecycleconfigarn
|
|
47695
|
+
'''
|
|
47696
|
+
result = self._values.get("built_in_lifecycle_config_arn")
|
|
47697
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
47698
|
+
|
|
47541
47699
|
@builtins.property
|
|
47542
47700
|
def code_repositories(
|
|
47543
47701
|
self,
|
|
@@ -48083,7 +48241,9 @@ class CfnUserProfile(
|
|
|
48083
48241
|
jsii_struct_bases=[],
|
|
48084
48242
|
name_mapping={
|
|
48085
48243
|
"hidden_app_types": "hiddenAppTypes",
|
|
48244
|
+
"hidden_instance_types": "hiddenInstanceTypes",
|
|
48086
48245
|
"hidden_ml_tools": "hiddenMlTools",
|
|
48246
|
+
"hidden_sage_maker_image_version_aliases": "hiddenSageMakerImageVersionAliases",
|
|
48087
48247
|
},
|
|
48088
48248
|
)
|
|
48089
48249
|
class StudioWebPortalSettingsProperty:
|
|
@@ -48091,14 +48251,18 @@ class CfnUserProfile(
|
|
|
48091
48251
|
self,
|
|
48092
48252
|
*,
|
|
48093
48253
|
hidden_app_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48254
|
+
hidden_instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48094
48255
|
hidden_ml_tools: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48256
|
+
hidden_sage_maker_image_version_aliases: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.HiddenSageMakerImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
48095
48257
|
) -> None:
|
|
48096
48258
|
'''Studio settings.
|
|
48097
48259
|
|
|
48098
48260
|
If these settings are applied on a user level, they take priority over the settings applied on a domain level.
|
|
48099
48261
|
|
|
48100
48262
|
:param hidden_app_types: The `Applications supported in Studio <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-updated-apps.html>`_ that are hidden from the Studio left navigation pane.
|
|
48263
|
+
:param hidden_instance_types: The instance types you are hiding from the Studio user interface.
|
|
48101
48264
|
:param hidden_ml_tools: The machine learning tools that are hidden from the Studio left navigation pane.
|
|
48265
|
+
:param hidden_sage_maker_image_version_aliases: The version aliases you are hiding from the Studio user interface.
|
|
48102
48266
|
|
|
48103
48267
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html
|
|
48104
48268
|
:exampleMetadata: fixture=_generated
|
|
@@ -48111,18 +48275,29 @@ class CfnUserProfile(
|
|
|
48111
48275
|
|
|
48112
48276
|
studio_web_portal_settings_property = sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
48113
48277
|
hidden_app_types=["hiddenAppTypes"],
|
|
48114
|
-
|
|
48278
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
48279
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
48280
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
|
|
48281
|
+
sage_maker_image_name="sageMakerImageName",
|
|
48282
|
+
version_aliases=["versionAliases"]
|
|
48283
|
+
)]
|
|
48115
48284
|
)
|
|
48116
48285
|
'''
|
|
48117
48286
|
if __debug__:
|
|
48118
48287
|
type_hints = typing.get_type_hints(_typecheckingstub__c6593aeb456cd28b3f5fa579713dc8752eed149344ea410599205e8e1c228c0d)
|
|
48119
48288
|
check_type(argname="argument hidden_app_types", value=hidden_app_types, expected_type=type_hints["hidden_app_types"])
|
|
48289
|
+
check_type(argname="argument hidden_instance_types", value=hidden_instance_types, expected_type=type_hints["hidden_instance_types"])
|
|
48120
48290
|
check_type(argname="argument hidden_ml_tools", value=hidden_ml_tools, expected_type=type_hints["hidden_ml_tools"])
|
|
48291
|
+
check_type(argname="argument hidden_sage_maker_image_version_aliases", value=hidden_sage_maker_image_version_aliases, expected_type=type_hints["hidden_sage_maker_image_version_aliases"])
|
|
48121
48292
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
48122
48293
|
if hidden_app_types is not None:
|
|
48123
48294
|
self._values["hidden_app_types"] = hidden_app_types
|
|
48295
|
+
if hidden_instance_types is not None:
|
|
48296
|
+
self._values["hidden_instance_types"] = hidden_instance_types
|
|
48124
48297
|
if hidden_ml_tools is not None:
|
|
48125
48298
|
self._values["hidden_ml_tools"] = hidden_ml_tools
|
|
48299
|
+
if hidden_sage_maker_image_version_aliases is not None:
|
|
48300
|
+
self._values["hidden_sage_maker_image_version_aliases"] = hidden_sage_maker_image_version_aliases
|
|
48126
48301
|
|
|
48127
48302
|
@builtins.property
|
|
48128
48303
|
def hidden_app_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -48133,6 +48308,15 @@ class CfnUserProfile(
|
|
|
48133
48308
|
result = self._values.get("hidden_app_types")
|
|
48134
48309
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
48135
48310
|
|
|
48311
|
+
@builtins.property
|
|
48312
|
+
def hidden_instance_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
48313
|
+
'''The instance types you are hiding from the Studio user interface.
|
|
48314
|
+
|
|
48315
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html#cfn-sagemaker-userprofile-studiowebportalsettings-hiddeninstancetypes
|
|
48316
|
+
'''
|
|
48317
|
+
result = self._values.get("hidden_instance_types")
|
|
48318
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
48319
|
+
|
|
48136
48320
|
@builtins.property
|
|
48137
48321
|
def hidden_ml_tools(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
48138
48322
|
'''The machine learning tools that are hidden from the Studio left navigation pane.
|
|
@@ -48142,6 +48326,17 @@ class CfnUserProfile(
|
|
|
48142
48326
|
result = self._values.get("hidden_ml_tools")
|
|
48143
48327
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
48144
48328
|
|
|
48329
|
+
@builtins.property
|
|
48330
|
+
def hidden_sage_maker_image_version_aliases(
|
|
48331
|
+
self,
|
|
48332
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.HiddenSageMakerImageProperty"]]]]:
|
|
48333
|
+
'''The version aliases you are hiding from the Studio user interface.
|
|
48334
|
+
|
|
48335
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html#cfn-sagemaker-userprofile-studiowebportalsettings-hiddensagemakerimageversionaliases
|
|
48336
|
+
'''
|
|
48337
|
+
result = self._values.get("hidden_sage_maker_image_version_aliases")
|
|
48338
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.HiddenSageMakerImageProperty"]]]], result)
|
|
48339
|
+
|
|
48145
48340
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
48146
48341
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
48147
48342
|
|
|
@@ -48157,6 +48352,7 @@ class CfnUserProfile(
|
|
|
48157
48352
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.UserSettingsProperty",
|
|
48158
48353
|
jsii_struct_bases=[],
|
|
48159
48354
|
name_mapping={
|
|
48355
|
+
"auto_mount_home_efs": "autoMountHomeEfs",
|
|
48160
48356
|
"code_editor_app_settings": "codeEditorAppSettings",
|
|
48161
48357
|
"custom_file_system_configs": "customFileSystemConfigs",
|
|
48162
48358
|
"custom_posix_user_config": "customPosixUserConfig",
|
|
@@ -48177,6 +48373,7 @@ class CfnUserProfile(
|
|
|
48177
48373
|
def __init__(
|
|
48178
48374
|
self,
|
|
48179
48375
|
*,
|
|
48376
|
+
auto_mount_home_efs: typing.Optional[builtins.str] = None,
|
|
48180
48377
|
code_editor_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CodeEditorAppSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48181
48378
|
custom_file_system_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CustomFileSystemConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
48182
48379
|
custom_posix_user_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CustomPosixUserConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -48198,6 +48395,7 @@ class CfnUserProfile(
|
|
|
48198
48395
|
|
|
48199
48396
|
``SecurityGroups`` is aggregated when specified in both calls. For all other settings in ``UserSettings`` , the values specified in ``CreateUserProfile`` take precedence over those specified in ``CreateDomain`` .
|
|
48200
48397
|
|
|
48398
|
+
:param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
48201
48399
|
:param code_editor_app_settings: The Code Editor application settings. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
48202
48400
|
:param custom_file_system_configs: The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker AI Studio. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
48203
48401
|
:param custom_posix_user_config: Details about the POSIX identity that is used for file system operations. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
@@ -48223,6 +48421,7 @@ class CfnUserProfile(
|
|
|
48223
48421
|
from aws_cdk import aws_sagemaker as sagemaker
|
|
48224
48422
|
|
|
48225
48423
|
user_settings_property = sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
48424
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
48226
48425
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
48227
48426
|
app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
|
|
48228
48427
|
idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
|
|
@@ -48232,6 +48431,7 @@ class CfnUserProfile(
|
|
|
48232
48431
|
min_idle_timeout_in_minutes=123
|
|
48233
48432
|
)
|
|
48234
48433
|
),
|
|
48434
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48235
48435
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
48236
48436
|
app_image_config_name="appImageConfigName",
|
|
48237
48437
|
image_name="imageName",
|
|
@@ -48276,6 +48476,7 @@ class CfnUserProfile(
|
|
|
48276
48476
|
min_idle_timeout_in_minutes=123
|
|
48277
48477
|
)
|
|
48278
48478
|
),
|
|
48479
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48279
48480
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
48280
48481
|
repository_url="repositoryUrl"
|
|
48281
48482
|
)],
|
|
@@ -48338,12 +48539,18 @@ class CfnUserProfile(
|
|
|
48338
48539
|
studio_web_portal="studioWebPortal",
|
|
48339
48540
|
studio_web_portal_settings=sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
48340
48541
|
hidden_app_types=["hiddenAppTypes"],
|
|
48341
|
-
|
|
48542
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
48543
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
48544
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
|
|
48545
|
+
sage_maker_image_name="sageMakerImageName",
|
|
48546
|
+
version_aliases=["versionAliases"]
|
|
48547
|
+
)]
|
|
48342
48548
|
)
|
|
48343
48549
|
)
|
|
48344
48550
|
'''
|
|
48345
48551
|
if __debug__:
|
|
48346
48552
|
type_hints = typing.get_type_hints(_typecheckingstub__e97db7f3b3126b5a3d5c763d4d08621d63d98712c98017d6bda1493a96910b7f)
|
|
48553
|
+
check_type(argname="argument auto_mount_home_efs", value=auto_mount_home_efs, expected_type=type_hints["auto_mount_home_efs"])
|
|
48347
48554
|
check_type(argname="argument code_editor_app_settings", value=code_editor_app_settings, expected_type=type_hints["code_editor_app_settings"])
|
|
48348
48555
|
check_type(argname="argument custom_file_system_configs", value=custom_file_system_configs, expected_type=type_hints["custom_file_system_configs"])
|
|
48349
48556
|
check_type(argname="argument custom_posix_user_config", value=custom_posix_user_config, expected_type=type_hints["custom_posix_user_config"])
|
|
@@ -48359,6 +48566,8 @@ class CfnUserProfile(
|
|
|
48359
48566
|
check_type(argname="argument studio_web_portal", value=studio_web_portal, expected_type=type_hints["studio_web_portal"])
|
|
48360
48567
|
check_type(argname="argument studio_web_portal_settings", value=studio_web_portal_settings, expected_type=type_hints["studio_web_portal_settings"])
|
|
48361
48568
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
48569
|
+
if auto_mount_home_efs is not None:
|
|
48570
|
+
self._values["auto_mount_home_efs"] = auto_mount_home_efs
|
|
48362
48571
|
if code_editor_app_settings is not None:
|
|
48363
48572
|
self._values["code_editor_app_settings"] = code_editor_app_settings
|
|
48364
48573
|
if custom_file_system_configs is not None:
|
|
@@ -48388,6 +48597,15 @@ class CfnUserProfile(
|
|
|
48388
48597
|
if studio_web_portal_settings is not None:
|
|
48389
48598
|
self._values["studio_web_portal_settings"] = studio_web_portal_settings
|
|
48390
48599
|
|
|
48600
|
+
@builtins.property
|
|
48601
|
+
def auto_mount_home_efs(self) -> typing.Optional[builtins.str]:
|
|
48602
|
+
'''Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
48603
|
+
|
|
48604
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-automounthomeefs
|
|
48605
|
+
'''
|
|
48606
|
+
result = self._values.get("auto_mount_home_efs")
|
|
48607
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
48608
|
+
|
|
48391
48609
|
@builtins.property
|
|
48392
48610
|
def code_editor_app_settings(
|
|
48393
48611
|
self,
|
|
@@ -48628,6 +48846,7 @@ class CfnUserProfileProps:
|
|
|
48628
48846
|
value="value"
|
|
48629
48847
|
)],
|
|
48630
48848
|
user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
48849
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
48631
48850
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
48632
48851
|
app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
|
|
48633
48852
|
idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
|
|
@@ -48637,6 +48856,7 @@ class CfnUserProfileProps:
|
|
|
48637
48856
|
min_idle_timeout_in_minutes=123
|
|
48638
48857
|
)
|
|
48639
48858
|
),
|
|
48859
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48640
48860
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
48641
48861
|
app_image_config_name="appImageConfigName",
|
|
48642
48862
|
image_name="imageName",
|
|
@@ -48681,6 +48901,7 @@ class CfnUserProfileProps:
|
|
|
48681
48901
|
min_idle_timeout_in_minutes=123
|
|
48682
48902
|
)
|
|
48683
48903
|
),
|
|
48904
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48684
48905
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
48685
48906
|
repository_url="repositoryUrl"
|
|
48686
48907
|
)],
|
|
@@ -48743,7 +48964,12 @@ class CfnUserProfileProps:
|
|
|
48743
48964
|
studio_web_portal="studioWebPortal",
|
|
48744
48965
|
studio_web_portal_settings=sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
48745
48966
|
hidden_app_types=["hiddenAppTypes"],
|
|
48746
|
-
|
|
48967
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
48968
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
48969
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
|
|
48970
|
+
sage_maker_image_name="sageMakerImageName",
|
|
48971
|
+
version_aliases=["versionAliases"]
|
|
48972
|
+
)]
|
|
48747
48973
|
)
|
|
48748
48974
|
)
|
|
48749
48975
|
)
|
|
@@ -49750,6 +49976,7 @@ def _typecheckingstub__da207547ea530dc451bd8f33c6174b52ddcb5c9c348d4df84894bf6a2
|
|
|
49750
49976
|
app_type: builtins.str,
|
|
49751
49977
|
domain_id: builtins.str,
|
|
49752
49978
|
user_profile_name: builtins.str,
|
|
49979
|
+
recovery_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
49753
49980
|
resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49754
49981
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49755
49982
|
) -> None:
|
|
@@ -49792,6 +50019,12 @@ def _typecheckingstub__9231045eaa19a04e645ac4427861d86fb43ed510b73c35bda73d525ca
|
|
|
49792
50019
|
"""Type checking stubs"""
|
|
49793
50020
|
pass
|
|
49794
50021
|
|
|
50022
|
+
def _typecheckingstub__f9db056b4c694b5579e4171517bac256cb919f19041d12d1a8a1c8b09120e81a(
|
|
50023
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
50024
|
+
) -> None:
|
|
50025
|
+
"""Type checking stubs"""
|
|
50026
|
+
pass
|
|
50027
|
+
|
|
49795
50028
|
def _typecheckingstub__41e96c1fc82b070303e88c71e535d7b01017c13f06d3c4baf96523a46c257f09(
|
|
49796
50029
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.ResourceSpecProperty]],
|
|
49797
50030
|
) -> None:
|
|
@@ -49942,6 +50175,7 @@ def _typecheckingstub__2f03f5ccb1b2c4633c9ef3bee30e7429d047ef909520efe2cbcf88d12
|
|
|
49942
50175
|
app_type: builtins.str,
|
|
49943
50176
|
domain_id: builtins.str,
|
|
49944
50177
|
user_profile_name: builtins.str,
|
|
50178
|
+
recovery_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
49945
50179
|
resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49946
50180
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49947
50181
|
) -> None:
|
|
@@ -55239,6 +55473,7 @@ def _typecheckingstub__1de2f359712adb79d9133bada8d874676f1cf8ddb79c11623d797df1b
|
|
|
55239
55473
|
def _typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5(
|
|
55240
55474
|
*,
|
|
55241
55475
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.AppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55476
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
55242
55477
|
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,
|
|
55243
55478
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55244
55479
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -55309,6 +55544,14 @@ def _typecheckingstub__8d6bd8a103ed4cf4233270d8bb52158950a2338a094df3c8ff1cf1fe8
|
|
|
55309
55544
|
"""Type checking stubs"""
|
|
55310
55545
|
pass
|
|
55311
55546
|
|
|
55547
|
+
def _typecheckingstub__edd8c8d75b169e32821742e84039e1440e15c9a960f261e379e7d4c741f05505(
|
|
55548
|
+
*,
|
|
55549
|
+
sage_maker_image_name: typing.Optional[builtins.str] = None,
|
|
55550
|
+
version_aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55551
|
+
) -> None:
|
|
55552
|
+
"""Type checking stubs"""
|
|
55553
|
+
pass
|
|
55554
|
+
|
|
55312
55555
|
def _typecheckingstub__a4f947a25801ba152e8f9b88cabae6d5acefc670d4af60084ef7a8f1a7e21e9f(
|
|
55313
55556
|
*,
|
|
55314
55557
|
idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
@@ -55322,6 +55565,7 @@ def _typecheckingstub__a4f947a25801ba152e8f9b88cabae6d5acefc670d4af60084ef7a8f1a
|
|
|
55322
55565
|
def _typecheckingstub__8fbb8b52ced6fc617c616b643ca1ddc3673e837117aaeaf2063654aaa5ad3b72(
|
|
55323
55566
|
*,
|
|
55324
55567
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.AppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55568
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
55325
55569
|
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,
|
|
55326
55570
|
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,
|
|
55327
55571
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -55377,13 +55621,16 @@ def _typecheckingstub__f5b8977e0ba203166fc6635e9d4d1a51fbc68b5d6b5b022bb1a4207ff
|
|
|
55377
55621
|
def _typecheckingstub__c6593aeb456cd28b3f5fa579713dc8752eed149344ea410599205e8e1c228c0d(
|
|
55378
55622
|
*,
|
|
55379
55623
|
hidden_app_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55624
|
+
hidden_instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55380
55625
|
hidden_ml_tools: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55626
|
+
hidden_sage_maker_image_version_aliases: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.HiddenSageMakerImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
55381
55627
|
) -> None:
|
|
55382
55628
|
"""Type checking stubs"""
|
|
55383
55629
|
pass
|
|
55384
55630
|
|
|
55385
55631
|
def _typecheckingstub__e97db7f3b3126b5a3d5c763d4d08621d63d98712c98017d6bda1493a96910b7f(
|
|
55386
55632
|
*,
|
|
55633
|
+
auto_mount_home_efs: typing.Optional[builtins.str] = None,
|
|
55387
55634
|
code_editor_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CodeEditorAppSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55388
55635
|
custom_file_system_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CustomFileSystemConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
55389
55636
|
custom_posix_user_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CustomPosixUserConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|