aws-cdk-lib 2.194.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.194.0.jsii.tgz → aws-cdk-lib@2.195.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +60 -1
- aws_cdk/aws_bedrock/__init__.py +581 -4
- aws_cdk/aws_cloudfront/__init__.py +190 -120
- 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_dsql/__init__.py +9 -0
- aws_cdk/aws_dynamodb/__init__.py +5 -3
- aws_cdk/aws_ec2/__init__.py +132 -8
- aws_cdk/aws_ecr/__init__.py +16 -14
- aws_cdk/aws_ecs/__init__.py +4 -15
- 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_medialive/__init__.py +4 -6
- aws_cdk/aws_mediatailor/__init__.py +115 -0
- aws_cdk/aws_oam/__init__.py +43 -10
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_qbusiness/__init__.py +2 -2
- aws_cdk/aws_rds/__init__.py +41 -6
- 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_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +253 -4
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/RECORD +37 -36
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.194.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,
|
|
@@ -46255,6 +46304,7 @@ class CfnUserProfile(
|
|
|
46255
46304
|
value="value"
|
|
46256
46305
|
)],
|
|
46257
46306
|
user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
46307
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
46258
46308
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
46259
46309
|
app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
|
|
46260
46310
|
idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
|
|
@@ -46264,6 +46314,7 @@ class CfnUserProfile(
|
|
|
46264
46314
|
min_idle_timeout_in_minutes=123
|
|
46265
46315
|
)
|
|
46266
46316
|
),
|
|
46317
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
46267
46318
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
46268
46319
|
app_image_config_name="appImageConfigName",
|
|
46269
46320
|
image_name="imageName",
|
|
@@ -46308,6 +46359,7 @@ class CfnUserProfile(
|
|
|
46308
46359
|
min_idle_timeout_in_minutes=123
|
|
46309
46360
|
)
|
|
46310
46361
|
),
|
|
46362
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
46311
46363
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
46312
46364
|
repository_url="repositoryUrl"
|
|
46313
46365
|
)],
|
|
@@ -46370,7 +46422,12 @@ class CfnUserProfile(
|
|
|
46370
46422
|
studio_web_portal="studioWebPortal",
|
|
46371
46423
|
studio_web_portal_settings=sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
46372
46424
|
hidden_app_types=["hiddenAppTypes"],
|
|
46373
|
-
|
|
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
|
+
)]
|
|
46374
46431
|
)
|
|
46375
46432
|
)
|
|
46376
46433
|
)
|
|
@@ -46616,6 +46673,7 @@ class CfnUserProfile(
|
|
|
46616
46673
|
jsii_struct_bases=[],
|
|
46617
46674
|
name_mapping={
|
|
46618
46675
|
"app_lifecycle_management": "appLifecycleManagement",
|
|
46676
|
+
"built_in_lifecycle_config_arn": "builtInLifecycleConfigArn",
|
|
46619
46677
|
"custom_images": "customImages",
|
|
46620
46678
|
"default_resource_spec": "defaultResourceSpec",
|
|
46621
46679
|
"lifecycle_config_arns": "lifecycleConfigArns",
|
|
@@ -46626,6 +46684,7 @@ class CfnUserProfile(
|
|
|
46626
46684
|
self,
|
|
46627
46685
|
*,
|
|
46628
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,
|
|
46629
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,
|
|
46630
46689
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
46631
46690
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -46635,6 +46694,7 @@ class CfnUserProfile(
|
|
|
46635
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>`_ .
|
|
46636
46695
|
|
|
46637
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.
|
|
46638
46698
|
:param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
46639
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.
|
|
46640
46700
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
@@ -46657,6 +46717,7 @@ class CfnUserProfile(
|
|
|
46657
46717
|
min_idle_timeout_in_minutes=123
|
|
46658
46718
|
)
|
|
46659
46719
|
),
|
|
46720
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
46660
46721
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
46661
46722
|
app_image_config_name="appImageConfigName",
|
|
46662
46723
|
image_name="imageName",
|
|
@@ -46676,12 +46737,15 @@ class CfnUserProfile(
|
|
|
46676
46737
|
if __debug__:
|
|
46677
46738
|
type_hints = typing.get_type_hints(_typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5)
|
|
46678
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"])
|
|
46679
46741
|
check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
|
|
46680
46742
|
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
46681
46743
|
check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
|
|
46682
46744
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
46683
46745
|
if app_lifecycle_management is not None:
|
|
46684
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
|
|
46685
46749
|
if custom_images is not None:
|
|
46686
46750
|
self._values["custom_images"] = custom_images
|
|
46687
46751
|
if default_resource_spec is not None:
|
|
@@ -46700,6 +46764,15 @@ class CfnUserProfile(
|
|
|
46700
46764
|
result = self._values.get("app_lifecycle_management")
|
|
46701
46765
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.AppLifecycleManagementProperty"]], result)
|
|
46702
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
|
+
|
|
46703
46776
|
@builtins.property
|
|
46704
46777
|
def custom_images(
|
|
46705
46778
|
self,
|
|
@@ -47335,6 +47408,77 @@ class CfnUserProfile(
|
|
|
47335
47408
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
47336
47409
|
)
|
|
47337
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
|
+
|
|
47338
47482
|
@jsii.data_type(
|
|
47339
47483
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.IdleSettingsProperty",
|
|
47340
47484
|
jsii_struct_bases=[],
|
|
@@ -47445,6 +47589,7 @@ class CfnUserProfile(
|
|
|
47445
47589
|
jsii_struct_bases=[],
|
|
47446
47590
|
name_mapping={
|
|
47447
47591
|
"app_lifecycle_management": "appLifecycleManagement",
|
|
47592
|
+
"built_in_lifecycle_config_arn": "builtInLifecycleConfigArn",
|
|
47448
47593
|
"code_repositories": "codeRepositories",
|
|
47449
47594
|
"custom_images": "customImages",
|
|
47450
47595
|
"default_resource_spec": "defaultResourceSpec",
|
|
@@ -47456,6 +47601,7 @@ class CfnUserProfile(
|
|
|
47456
47601
|
self,
|
|
47457
47602
|
*,
|
|
47458
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,
|
|
47459
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,
|
|
47460
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,
|
|
47461
47607
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -47464,6 +47610,7 @@ class CfnUserProfile(
|
|
|
47464
47610
|
'''The settings for the JupyterLab application.
|
|
47465
47611
|
|
|
47466
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.
|
|
47467
47614
|
:param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
47468
47615
|
:param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
|
|
47469
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.
|
|
@@ -47487,6 +47634,7 @@ class CfnUserProfile(
|
|
|
47487
47634
|
min_idle_timeout_in_minutes=123
|
|
47488
47635
|
)
|
|
47489
47636
|
),
|
|
47637
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
47490
47638
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
47491
47639
|
repository_url="repositoryUrl"
|
|
47492
47640
|
)],
|
|
@@ -47509,6 +47657,7 @@ class CfnUserProfile(
|
|
|
47509
47657
|
if __debug__:
|
|
47510
47658
|
type_hints = typing.get_type_hints(_typecheckingstub__8fbb8b52ced6fc617c616b643ca1ddc3673e837117aaeaf2063654aaa5ad3b72)
|
|
47511
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"])
|
|
47512
47661
|
check_type(argname="argument code_repositories", value=code_repositories, expected_type=type_hints["code_repositories"])
|
|
47513
47662
|
check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
|
|
47514
47663
|
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
@@ -47516,6 +47665,8 @@ class CfnUserProfile(
|
|
|
47516
47665
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
47517
47666
|
if app_lifecycle_management is not None:
|
|
47518
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
|
|
47519
47670
|
if code_repositories is not None:
|
|
47520
47671
|
self._values["code_repositories"] = code_repositories
|
|
47521
47672
|
if custom_images is not None:
|
|
@@ -47536,6 +47687,15 @@ class CfnUserProfile(
|
|
|
47536
47687
|
result = self._values.get("app_lifecycle_management")
|
|
47537
47688
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.AppLifecycleManagementProperty"]], result)
|
|
47538
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
|
+
|
|
47539
47699
|
@builtins.property
|
|
47540
47700
|
def code_repositories(
|
|
47541
47701
|
self,
|
|
@@ -48081,7 +48241,9 @@ class CfnUserProfile(
|
|
|
48081
48241
|
jsii_struct_bases=[],
|
|
48082
48242
|
name_mapping={
|
|
48083
48243
|
"hidden_app_types": "hiddenAppTypes",
|
|
48244
|
+
"hidden_instance_types": "hiddenInstanceTypes",
|
|
48084
48245
|
"hidden_ml_tools": "hiddenMlTools",
|
|
48246
|
+
"hidden_sage_maker_image_version_aliases": "hiddenSageMakerImageVersionAliases",
|
|
48085
48247
|
},
|
|
48086
48248
|
)
|
|
48087
48249
|
class StudioWebPortalSettingsProperty:
|
|
@@ -48089,14 +48251,18 @@ class CfnUserProfile(
|
|
|
48089
48251
|
self,
|
|
48090
48252
|
*,
|
|
48091
48253
|
hidden_app_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48254
|
+
hidden_instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48092
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,
|
|
48093
48257
|
) -> None:
|
|
48094
48258
|
'''Studio settings.
|
|
48095
48259
|
|
|
48096
48260
|
If these settings are applied on a user level, they take priority over the settings applied on a domain level.
|
|
48097
48261
|
|
|
48098
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.
|
|
48099
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.
|
|
48100
48266
|
|
|
48101
48267
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html
|
|
48102
48268
|
:exampleMetadata: fixture=_generated
|
|
@@ -48109,18 +48275,29 @@ class CfnUserProfile(
|
|
|
48109
48275
|
|
|
48110
48276
|
studio_web_portal_settings_property = sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
48111
48277
|
hidden_app_types=["hiddenAppTypes"],
|
|
48112
|
-
|
|
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
|
+
)]
|
|
48113
48284
|
)
|
|
48114
48285
|
'''
|
|
48115
48286
|
if __debug__:
|
|
48116
48287
|
type_hints = typing.get_type_hints(_typecheckingstub__c6593aeb456cd28b3f5fa579713dc8752eed149344ea410599205e8e1c228c0d)
|
|
48117
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"])
|
|
48118
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"])
|
|
48119
48292
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
48120
48293
|
if hidden_app_types is not None:
|
|
48121
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
|
|
48122
48297
|
if hidden_ml_tools is not None:
|
|
48123
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
|
|
48124
48301
|
|
|
48125
48302
|
@builtins.property
|
|
48126
48303
|
def hidden_app_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -48131,6 +48308,15 @@ class CfnUserProfile(
|
|
|
48131
48308
|
result = self._values.get("hidden_app_types")
|
|
48132
48309
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
48133
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
|
+
|
|
48134
48320
|
@builtins.property
|
|
48135
48321
|
def hidden_ml_tools(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
48136
48322
|
'''The machine learning tools that are hidden from the Studio left navigation pane.
|
|
@@ -48140,6 +48326,17 @@ class CfnUserProfile(
|
|
|
48140
48326
|
result = self._values.get("hidden_ml_tools")
|
|
48141
48327
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
48142
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
|
+
|
|
48143
48340
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
48144
48341
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
48145
48342
|
|
|
@@ -48155,6 +48352,7 @@ class CfnUserProfile(
|
|
|
48155
48352
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.UserSettingsProperty",
|
|
48156
48353
|
jsii_struct_bases=[],
|
|
48157
48354
|
name_mapping={
|
|
48355
|
+
"auto_mount_home_efs": "autoMountHomeEfs",
|
|
48158
48356
|
"code_editor_app_settings": "codeEditorAppSettings",
|
|
48159
48357
|
"custom_file_system_configs": "customFileSystemConfigs",
|
|
48160
48358
|
"custom_posix_user_config": "customPosixUserConfig",
|
|
@@ -48175,6 +48373,7 @@ class CfnUserProfile(
|
|
|
48175
48373
|
def __init__(
|
|
48176
48374
|
self,
|
|
48177
48375
|
*,
|
|
48376
|
+
auto_mount_home_efs: typing.Optional[builtins.str] = None,
|
|
48178
48377
|
code_editor_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CodeEditorAppSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48179
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,
|
|
48180
48379
|
custom_posix_user_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CustomPosixUserConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -48196,6 +48395,7 @@ class CfnUserProfile(
|
|
|
48196
48395
|
|
|
48197
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`` .
|
|
48198
48397
|
|
|
48398
|
+
:param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
48199
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.
|
|
48200
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.
|
|
48201
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.
|
|
@@ -48221,6 +48421,7 @@ class CfnUserProfile(
|
|
|
48221
48421
|
from aws_cdk import aws_sagemaker as sagemaker
|
|
48222
48422
|
|
|
48223
48423
|
user_settings_property = sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
48424
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
48224
48425
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
48225
48426
|
app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
|
|
48226
48427
|
idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
|
|
@@ -48230,6 +48431,7 @@ class CfnUserProfile(
|
|
|
48230
48431
|
min_idle_timeout_in_minutes=123
|
|
48231
48432
|
)
|
|
48232
48433
|
),
|
|
48434
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48233
48435
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
48234
48436
|
app_image_config_name="appImageConfigName",
|
|
48235
48437
|
image_name="imageName",
|
|
@@ -48274,6 +48476,7 @@ class CfnUserProfile(
|
|
|
48274
48476
|
min_idle_timeout_in_minutes=123
|
|
48275
48477
|
)
|
|
48276
48478
|
),
|
|
48479
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48277
48480
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
48278
48481
|
repository_url="repositoryUrl"
|
|
48279
48482
|
)],
|
|
@@ -48336,12 +48539,18 @@ class CfnUserProfile(
|
|
|
48336
48539
|
studio_web_portal="studioWebPortal",
|
|
48337
48540
|
studio_web_portal_settings=sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
48338
48541
|
hidden_app_types=["hiddenAppTypes"],
|
|
48339
|
-
|
|
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
|
+
)]
|
|
48340
48548
|
)
|
|
48341
48549
|
)
|
|
48342
48550
|
'''
|
|
48343
48551
|
if __debug__:
|
|
48344
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"])
|
|
48345
48554
|
check_type(argname="argument code_editor_app_settings", value=code_editor_app_settings, expected_type=type_hints["code_editor_app_settings"])
|
|
48346
48555
|
check_type(argname="argument custom_file_system_configs", value=custom_file_system_configs, expected_type=type_hints["custom_file_system_configs"])
|
|
48347
48556
|
check_type(argname="argument custom_posix_user_config", value=custom_posix_user_config, expected_type=type_hints["custom_posix_user_config"])
|
|
@@ -48357,6 +48566,8 @@ class CfnUserProfile(
|
|
|
48357
48566
|
check_type(argname="argument studio_web_portal", value=studio_web_portal, expected_type=type_hints["studio_web_portal"])
|
|
48358
48567
|
check_type(argname="argument studio_web_portal_settings", value=studio_web_portal_settings, expected_type=type_hints["studio_web_portal_settings"])
|
|
48359
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
|
|
48360
48571
|
if code_editor_app_settings is not None:
|
|
48361
48572
|
self._values["code_editor_app_settings"] = code_editor_app_settings
|
|
48362
48573
|
if custom_file_system_configs is not None:
|
|
@@ -48386,6 +48597,15 @@ class CfnUserProfile(
|
|
|
48386
48597
|
if studio_web_portal_settings is not None:
|
|
48387
48598
|
self._values["studio_web_portal_settings"] = studio_web_portal_settings
|
|
48388
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
|
+
|
|
48389
48609
|
@builtins.property
|
|
48390
48610
|
def code_editor_app_settings(
|
|
48391
48611
|
self,
|
|
@@ -48626,6 +48846,7 @@ class CfnUserProfileProps:
|
|
|
48626
48846
|
value="value"
|
|
48627
48847
|
)],
|
|
48628
48848
|
user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
48849
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
48629
48850
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
48630
48851
|
app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
|
|
48631
48852
|
idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
|
|
@@ -48635,6 +48856,7 @@ class CfnUserProfileProps:
|
|
|
48635
48856
|
min_idle_timeout_in_minutes=123
|
|
48636
48857
|
)
|
|
48637
48858
|
),
|
|
48859
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48638
48860
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
48639
48861
|
app_image_config_name="appImageConfigName",
|
|
48640
48862
|
image_name="imageName",
|
|
@@ -48679,6 +48901,7 @@ class CfnUserProfileProps:
|
|
|
48679
48901
|
min_idle_timeout_in_minutes=123
|
|
48680
48902
|
)
|
|
48681
48903
|
),
|
|
48904
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48682
48905
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
48683
48906
|
repository_url="repositoryUrl"
|
|
48684
48907
|
)],
|
|
@@ -48741,7 +48964,12 @@ class CfnUserProfileProps:
|
|
|
48741
48964
|
studio_web_portal="studioWebPortal",
|
|
48742
48965
|
studio_web_portal_settings=sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
48743
48966
|
hidden_app_types=["hiddenAppTypes"],
|
|
48744
|
-
|
|
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
|
+
)]
|
|
48745
48973
|
)
|
|
48746
48974
|
)
|
|
48747
48975
|
)
|
|
@@ -49748,6 +49976,7 @@ def _typecheckingstub__da207547ea530dc451bd8f33c6174b52ddcb5c9c348d4df84894bf6a2
|
|
|
49748
49976
|
app_type: builtins.str,
|
|
49749
49977
|
domain_id: builtins.str,
|
|
49750
49978
|
user_profile_name: builtins.str,
|
|
49979
|
+
recovery_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
49751
49980
|
resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49752
49981
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49753
49982
|
) -> None:
|
|
@@ -49790,6 +50019,12 @@ def _typecheckingstub__9231045eaa19a04e645ac4427861d86fb43ed510b73c35bda73d525ca
|
|
|
49790
50019
|
"""Type checking stubs"""
|
|
49791
50020
|
pass
|
|
49792
50021
|
|
|
50022
|
+
def _typecheckingstub__f9db056b4c694b5579e4171517bac256cb919f19041d12d1a8a1c8b09120e81a(
|
|
50023
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
50024
|
+
) -> None:
|
|
50025
|
+
"""Type checking stubs"""
|
|
50026
|
+
pass
|
|
50027
|
+
|
|
49793
50028
|
def _typecheckingstub__41e96c1fc82b070303e88c71e535d7b01017c13f06d3c4baf96523a46c257f09(
|
|
49794
50029
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.ResourceSpecProperty]],
|
|
49795
50030
|
) -> None:
|
|
@@ -49940,6 +50175,7 @@ def _typecheckingstub__2f03f5ccb1b2c4633c9ef3bee30e7429d047ef909520efe2cbcf88d12
|
|
|
49940
50175
|
app_type: builtins.str,
|
|
49941
50176
|
domain_id: builtins.str,
|
|
49942
50177
|
user_profile_name: builtins.str,
|
|
50178
|
+
recovery_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
49943
50179
|
resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49944
50180
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49945
50181
|
) -> None:
|
|
@@ -55237,6 +55473,7 @@ def _typecheckingstub__1de2f359712adb79d9133bada8d874676f1cf8ddb79c11623d797df1b
|
|
|
55237
55473
|
def _typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5(
|
|
55238
55474
|
*,
|
|
55239
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,
|
|
55240
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,
|
|
55241
55478
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55242
55479
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -55307,6 +55544,14 @@ def _typecheckingstub__8d6bd8a103ed4cf4233270d8bb52158950a2338a094df3c8ff1cf1fe8
|
|
|
55307
55544
|
"""Type checking stubs"""
|
|
55308
55545
|
pass
|
|
55309
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
|
+
|
|
55310
55555
|
def _typecheckingstub__a4f947a25801ba152e8f9b88cabae6d5acefc670d4af60084ef7a8f1a7e21e9f(
|
|
55311
55556
|
*,
|
|
55312
55557
|
idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
@@ -55320,6 +55565,7 @@ def _typecheckingstub__a4f947a25801ba152e8f9b88cabae6d5acefc670d4af60084ef7a8f1a
|
|
|
55320
55565
|
def _typecheckingstub__8fbb8b52ced6fc617c616b643ca1ddc3673e837117aaeaf2063654aaa5ad3b72(
|
|
55321
55566
|
*,
|
|
55322
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,
|
|
55323
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,
|
|
55324
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,
|
|
55325
55571
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -55375,13 +55621,16 @@ def _typecheckingstub__f5b8977e0ba203166fc6635e9d4d1a51fbc68b5d6b5b022bb1a4207ff
|
|
|
55375
55621
|
def _typecheckingstub__c6593aeb456cd28b3f5fa579713dc8752eed149344ea410599205e8e1c228c0d(
|
|
55376
55622
|
*,
|
|
55377
55623
|
hidden_app_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55624
|
+
hidden_instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55378
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,
|
|
55379
55627
|
) -> None:
|
|
55380
55628
|
"""Type checking stubs"""
|
|
55381
55629
|
pass
|
|
55382
55630
|
|
|
55383
55631
|
def _typecheckingstub__e97db7f3b3126b5a3d5c763d4d08621d63d98712c98017d6bda1493a96910b7f(
|
|
55384
55632
|
*,
|
|
55633
|
+
auto_mount_home_efs: typing.Optional[builtins.str] = None,
|
|
55385
55634
|
code_editor_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CodeEditorAppSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55386
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,
|
|
55387
55636
|
custom_posix_user_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CustomPosixUserConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|