aws-cdk-lib 2.194.0__py3-none-any.whl → 2.196.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 +435 -20
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.194.0.jsii.tgz → aws-cdk-lib@2.196.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +2 -2
- aws_cdk/aws_apigateway/__init__.py +208 -70
- aws_cdk/aws_apigatewayv2/__init__.py +155 -24
- aws_cdk/aws_appconfig/__init__.py +24 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -0
- aws_cdk/aws_appmesh/__init__.py +42 -0
- aws_cdk/aws_appsync/__init__.py +92 -20
- aws_cdk/aws_autoscaling/__init__.py +24 -0
- aws_cdk/aws_backup/__init__.py +53 -14
- aws_cdk/aws_batch/__init__.py +72 -0
- aws_cdk/aws_bedrock/__init__.py +1201 -18
- aws_cdk/aws_budgets/__init__.py +569 -0
- aws_cdk/aws_certificatemanager/__init__.py +21 -0
- aws_cdk/aws_chatbot/__init__.py +6 -0
- aws_cdk/aws_cloudfront/__init__.py +277 -120
- aws_cdk/aws_cloudfront/experimental/__init__.py +6 -0
- aws_cdk/aws_cloudtrail/__init__.py +6 -0
- aws_cdk/aws_cloudwatch/__init__.py +18 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codebuild/__init__.py +48 -0
- aws_cdk/aws_codecommit/__init__.py +6 -0
- aws_cdk/aws_codedeploy/__init__.py +63 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +6 -0
- aws_cdk/aws_codepipeline/__init__.py +114 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
- aws_cdk/aws_codestarnotifications/__init__.py +6 -0
- aws_cdk/aws_cognito/__init__.py +215 -10
- aws_cdk/aws_cognito_identitypool/__init__.py +6 -0
- aws_cdk/aws_config/__init__.py +36 -0
- aws_cdk/aws_datazone/__init__.py +1013 -100
- aws_cdk/aws_docdb/__init__.py +27 -3
- aws_cdk/aws_dsql/__init__.py +29 -12
- aws_cdk/aws_dynamodb/__init__.py +25 -11
- aws_cdk/aws_ec2/__init__.py +408 -23
- aws_cdk/aws_ecr/__init__.py +22 -14
- aws_cdk/aws_ecr_assets/__init__.py +6 -0
- aws_cdk/aws_ecs/__init__.py +116 -34
- aws_cdk/aws_ecs_patterns/__init__.py +58 -0
- aws_cdk/aws_efs/__init__.py +12 -0
- aws_cdk/aws_eks/__init__.py +42 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -9
- aws_cdk/aws_elasticsearch/__init__.py +9 -0
- aws_cdk/aws_events/__init__.py +36 -0
- aws_cdk/aws_events_targets/__init__.py +10 -10
- aws_cdk/aws_fsx/__init__.py +8 -3
- aws_cdk/aws_globalaccelerator/__init__.py +18 -0
- aws_cdk/aws_iam/__init__.py +66 -0
- aws_cdk/aws_imagebuilder/__init__.py +181 -26
- aws_cdk/aws_inspector/__init__.py +6 -0
- aws_cdk/aws_kinesis/__init__.py +19 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +7 -7
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +7 -7
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
- aws_cdk/aws_kms/__init__.py +16 -4
- aws_cdk/aws_lambda/__init__.py +76 -6
- aws_cdk/aws_lambda_nodejs/__init__.py +6 -0
- aws_cdk/aws_logs/__init__.py +155 -12
- 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 +12 -0
- aws_cdk/aws_qbusiness/__init__.py +2 -2
- aws_cdk/aws_quicksight/__init__.py +22 -22
- aws_cdk/aws_rds/__init__.py +347 -36
- aws_cdk/aws_redshiftserverless/__init__.py +7 -7
- aws_cdk/aws_route53/__init__.py +735 -33
- aws_cdk/aws_route53_targets/__init__.py +62 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_s3/__init__.py +37 -10
- aws_cdk/aws_s3_deployment/__init__.py +6 -0
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +452 -8
- aws_cdk/aws_scheduler/__init__.py +12 -0
- aws_cdk/aws_secretsmanager/__init__.py +24 -0
- aws_cdk/aws_servicecatalog/__init__.py +24 -0
- aws_cdk/aws_servicediscovery/__init__.py +48 -0
- aws_cdk/aws_ses/__init__.py +133 -33
- aws_cdk/aws_signer/__init__.py +6 -0
- aws_cdk/aws_sns/__init__.py +18 -0
- aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
- aws_cdk/aws_sqs/__init__.py +12 -0
- aws_cdk/aws_ssm/__init__.py +12 -0
- aws_cdk/aws_ssmcontacts/__init__.py +53 -2
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/aws_stepfunctions/__init__.py +153 -7
- aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
- aws_cdk/aws_synthetics/__init__.py +32 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
- aws_cdk/aws_vpclattice/__init__.py +3 -1
- aws_cdk/aws_wisdom/__init__.py +6 -4
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- aws_cdk/custom_resources/__init__.py +18 -0
- aws_cdk/cx_api/__init__.py +33 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +10 -10
- aws_cdk/triggers/__init__.py +6 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/METADATA +84 -6
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/RECORD +108 -107
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.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,
|
|
@@ -6095,6 +6144,7 @@ class CfnDomain(
|
|
|
6095
6144
|
execution_role="executionRole",
|
|
6096
6145
|
|
|
6097
6146
|
# the properties below are optional
|
|
6147
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
6098
6148
|
code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
|
|
6099
6149
|
app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
|
|
6100
6150
|
idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
|
|
@@ -6104,6 +6154,7 @@ class CfnDomain(
|
|
|
6104
6154
|
min_idle_timeout_in_minutes=123
|
|
6105
6155
|
)
|
|
6106
6156
|
),
|
|
6157
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
6107
6158
|
custom_images=[sagemaker.CfnDomain.CustomImageProperty(
|
|
6108
6159
|
app_image_config_name="appImageConfigName",
|
|
6109
6160
|
image_name="imageName",
|
|
@@ -6147,6 +6198,7 @@ class CfnDomain(
|
|
|
6147
6198
|
min_idle_timeout_in_minutes=123
|
|
6148
6199
|
)
|
|
6149
6200
|
),
|
|
6201
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
6150
6202
|
code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
|
|
6151
6203
|
repository_url="repositoryUrl"
|
|
6152
6204
|
)],
|
|
@@ -6224,7 +6276,12 @@ class CfnDomain(
|
|
|
6224
6276
|
studio_web_portal="studioWebPortal",
|
|
6225
6277
|
studio_web_portal_settings=sagemaker.CfnDomain.StudioWebPortalSettingsProperty(
|
|
6226
6278
|
hidden_app_types=["hiddenAppTypes"],
|
|
6227
|
-
|
|
6279
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
6280
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
6281
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnDomain.HiddenSageMakerImageProperty(
|
|
6282
|
+
sage_maker_image_name="sageMakerImageName",
|
|
6283
|
+
version_aliases=["versionAliases"]
|
|
6284
|
+
)]
|
|
6228
6285
|
)
|
|
6229
6286
|
),
|
|
6230
6287
|
domain_name="domainName",
|
|
@@ -6265,6 +6322,7 @@ class CfnDomain(
|
|
|
6265
6322
|
min_idle_timeout_in_minutes=123
|
|
6266
6323
|
)
|
|
6267
6324
|
),
|
|
6325
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
6268
6326
|
code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
|
|
6269
6327
|
repository_url="repositoryUrl"
|
|
6270
6328
|
)],
|
|
@@ -6751,6 +6809,7 @@ class CfnDomain(
|
|
|
6751
6809
|
jsii_struct_bases=[],
|
|
6752
6810
|
name_mapping={
|
|
6753
6811
|
"app_lifecycle_management": "appLifecycleManagement",
|
|
6812
|
+
"built_in_lifecycle_config_arn": "builtInLifecycleConfigArn",
|
|
6754
6813
|
"custom_images": "customImages",
|
|
6755
6814
|
"default_resource_spec": "defaultResourceSpec",
|
|
6756
6815
|
"lifecycle_config_arns": "lifecycleConfigArns",
|
|
@@ -6761,6 +6820,7 @@ class CfnDomain(
|
|
|
6761
6820
|
self,
|
|
6762
6821
|
*,
|
|
6763
6822
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.AppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6823
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
6764
6824
|
custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CustomImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6765
6825
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6766
6826
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -6770,6 +6830,7 @@ class CfnDomain(
|
|
|
6770
6830
|
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>`_ .
|
|
6771
6831
|
|
|
6772
6832
|
:param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
|
|
6833
|
+
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
|
|
6773
6834
|
:param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
6774
6835
|
: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.
|
|
6775
6836
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
@@ -6792,6 +6853,7 @@ class CfnDomain(
|
|
|
6792
6853
|
min_idle_timeout_in_minutes=123
|
|
6793
6854
|
)
|
|
6794
6855
|
),
|
|
6856
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
6795
6857
|
custom_images=[sagemaker.CfnDomain.CustomImageProperty(
|
|
6796
6858
|
app_image_config_name="appImageConfigName",
|
|
6797
6859
|
image_name="imageName",
|
|
@@ -6811,12 +6873,15 @@ class CfnDomain(
|
|
|
6811
6873
|
if __debug__:
|
|
6812
6874
|
type_hints = typing.get_type_hints(_typecheckingstub__fc744bb58e49877db429fbdcea73e31d9e5326375463940bb48321473f97dfaa)
|
|
6813
6875
|
check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
|
|
6876
|
+
check_type(argname="argument built_in_lifecycle_config_arn", value=built_in_lifecycle_config_arn, expected_type=type_hints["built_in_lifecycle_config_arn"])
|
|
6814
6877
|
check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
|
|
6815
6878
|
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
6816
6879
|
check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
|
|
6817
6880
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6818
6881
|
if app_lifecycle_management is not None:
|
|
6819
6882
|
self._values["app_lifecycle_management"] = app_lifecycle_management
|
|
6883
|
+
if built_in_lifecycle_config_arn is not None:
|
|
6884
|
+
self._values["built_in_lifecycle_config_arn"] = built_in_lifecycle_config_arn
|
|
6820
6885
|
if custom_images is not None:
|
|
6821
6886
|
self._values["custom_images"] = custom_images
|
|
6822
6887
|
if default_resource_spec is not None:
|
|
@@ -6835,6 +6900,15 @@ class CfnDomain(
|
|
|
6835
6900
|
result = self._values.get("app_lifecycle_management")
|
|
6836
6901
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.AppLifecycleManagementProperty"]], result)
|
|
6837
6902
|
|
|
6903
|
+
@builtins.property
|
|
6904
|
+
def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
|
|
6905
|
+
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
6906
|
+
|
|
6907
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-codeeditorappsettings.html#cfn-sagemaker-domain-codeeditorappsettings-builtinlifecycleconfigarn
|
|
6908
|
+
'''
|
|
6909
|
+
result = self._values.get("built_in_lifecycle_config_arn")
|
|
6910
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6911
|
+
|
|
6838
6912
|
@builtins.property
|
|
6839
6913
|
def custom_images(
|
|
6840
6914
|
self,
|
|
@@ -7334,6 +7408,7 @@ class CfnDomain(
|
|
|
7334
7408
|
min_idle_timeout_in_minutes=123
|
|
7335
7409
|
)
|
|
7336
7410
|
),
|
|
7411
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
7337
7412
|
code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
|
|
7338
7413
|
repository_url="repositoryUrl"
|
|
7339
7414
|
)],
|
|
@@ -7928,6 +8003,77 @@ class CfnDomain(
|
|
|
7928
8003
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
7929
8004
|
)
|
|
7930
8005
|
|
|
8006
|
+
@jsii.data_type(
|
|
8007
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.HiddenSageMakerImageProperty",
|
|
8008
|
+
jsii_struct_bases=[],
|
|
8009
|
+
name_mapping={
|
|
8010
|
+
"sage_maker_image_name": "sageMakerImageName",
|
|
8011
|
+
"version_aliases": "versionAliases",
|
|
8012
|
+
},
|
|
8013
|
+
)
|
|
8014
|
+
class HiddenSageMakerImageProperty:
|
|
8015
|
+
def __init__(
|
|
8016
|
+
self,
|
|
8017
|
+
*,
|
|
8018
|
+
sage_maker_image_name: typing.Optional[builtins.str] = None,
|
|
8019
|
+
version_aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8020
|
+
) -> None:
|
|
8021
|
+
'''
|
|
8022
|
+
:param sage_maker_image_name: The SageMaker image name that you are hiding from the Studio user interface.
|
|
8023
|
+
:param version_aliases:
|
|
8024
|
+
|
|
8025
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-hiddensagemakerimage.html
|
|
8026
|
+
:exampleMetadata: fixture=_generated
|
|
8027
|
+
|
|
8028
|
+
Example::
|
|
8029
|
+
|
|
8030
|
+
# The code below shows an example of how to instantiate this type.
|
|
8031
|
+
# The values are placeholders you should change.
|
|
8032
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
8033
|
+
|
|
8034
|
+
hidden_sage_maker_image_property = sagemaker.CfnDomain.HiddenSageMakerImageProperty(
|
|
8035
|
+
sage_maker_image_name="sageMakerImageName",
|
|
8036
|
+
version_aliases=["versionAliases"]
|
|
8037
|
+
)
|
|
8038
|
+
'''
|
|
8039
|
+
if __debug__:
|
|
8040
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ef4c24a298ba004167ed74541300e1835cc3b27da6fc437da88601dc2a28b100)
|
|
8041
|
+
check_type(argname="argument sage_maker_image_name", value=sage_maker_image_name, expected_type=type_hints["sage_maker_image_name"])
|
|
8042
|
+
check_type(argname="argument version_aliases", value=version_aliases, expected_type=type_hints["version_aliases"])
|
|
8043
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8044
|
+
if sage_maker_image_name is not None:
|
|
8045
|
+
self._values["sage_maker_image_name"] = sage_maker_image_name
|
|
8046
|
+
if version_aliases is not None:
|
|
8047
|
+
self._values["version_aliases"] = version_aliases
|
|
8048
|
+
|
|
8049
|
+
@builtins.property
|
|
8050
|
+
def sage_maker_image_name(self) -> typing.Optional[builtins.str]:
|
|
8051
|
+
'''The SageMaker image name that you are hiding from the Studio user interface.
|
|
8052
|
+
|
|
8053
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-hiddensagemakerimage.html#cfn-sagemaker-domain-hiddensagemakerimage-sagemakerimagename
|
|
8054
|
+
'''
|
|
8055
|
+
result = self._values.get("sage_maker_image_name")
|
|
8056
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8057
|
+
|
|
8058
|
+
@builtins.property
|
|
8059
|
+
def version_aliases(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
8060
|
+
'''
|
|
8061
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-hiddensagemakerimage.html#cfn-sagemaker-domain-hiddensagemakerimage-versionaliases
|
|
8062
|
+
'''
|
|
8063
|
+
result = self._values.get("version_aliases")
|
|
8064
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
8065
|
+
|
|
8066
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8067
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8068
|
+
|
|
8069
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8070
|
+
return not (rhs == self)
|
|
8071
|
+
|
|
8072
|
+
def __repr__(self) -> str:
|
|
8073
|
+
return "HiddenSageMakerImageProperty(%s)" % ", ".join(
|
|
8074
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8075
|
+
)
|
|
8076
|
+
|
|
7931
8077
|
@jsii.data_type(
|
|
7932
8078
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.IdleSettingsProperty",
|
|
7933
8079
|
jsii_struct_bases=[],
|
|
@@ -8038,6 +8184,7 @@ class CfnDomain(
|
|
|
8038
8184
|
jsii_struct_bases=[],
|
|
8039
8185
|
name_mapping={
|
|
8040
8186
|
"app_lifecycle_management": "appLifecycleManagement",
|
|
8187
|
+
"built_in_lifecycle_config_arn": "builtInLifecycleConfigArn",
|
|
8041
8188
|
"code_repositories": "codeRepositories",
|
|
8042
8189
|
"custom_images": "customImages",
|
|
8043
8190
|
"default_resource_spec": "defaultResourceSpec",
|
|
@@ -8049,6 +8196,7 @@ class CfnDomain(
|
|
|
8049
8196
|
self,
|
|
8050
8197
|
*,
|
|
8051
8198
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.AppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8199
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
8052
8200
|
code_repositories: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CodeRepositoryProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8053
8201
|
custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CustomImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8054
8202
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -8057,6 +8205,7 @@ class CfnDomain(
|
|
|
8057
8205
|
'''The settings for the JupyterLab application.
|
|
8058
8206
|
|
|
8059
8207
|
:param app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
|
|
8208
|
+
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
|
|
8060
8209
|
:param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
8061
8210
|
:param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
|
|
8062
8211
|
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
|
|
@@ -8080,6 +8229,7 @@ class CfnDomain(
|
|
|
8080
8229
|
min_idle_timeout_in_minutes=123
|
|
8081
8230
|
)
|
|
8082
8231
|
),
|
|
8232
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
8083
8233
|
code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
|
|
8084
8234
|
repository_url="repositoryUrl"
|
|
8085
8235
|
)],
|
|
@@ -8102,6 +8252,7 @@ class CfnDomain(
|
|
|
8102
8252
|
if __debug__:
|
|
8103
8253
|
type_hints = typing.get_type_hints(_typecheckingstub__3cd086b89fbe936eaaa5fb775d9cbd0e29ad00fb21eb2a45265c217414f406d1)
|
|
8104
8254
|
check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
|
|
8255
|
+
check_type(argname="argument built_in_lifecycle_config_arn", value=built_in_lifecycle_config_arn, expected_type=type_hints["built_in_lifecycle_config_arn"])
|
|
8105
8256
|
check_type(argname="argument code_repositories", value=code_repositories, expected_type=type_hints["code_repositories"])
|
|
8106
8257
|
check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
|
|
8107
8258
|
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
@@ -8109,6 +8260,8 @@ class CfnDomain(
|
|
|
8109
8260
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8110
8261
|
if app_lifecycle_management is not None:
|
|
8111
8262
|
self._values["app_lifecycle_management"] = app_lifecycle_management
|
|
8263
|
+
if built_in_lifecycle_config_arn is not None:
|
|
8264
|
+
self._values["built_in_lifecycle_config_arn"] = built_in_lifecycle_config_arn
|
|
8112
8265
|
if code_repositories is not None:
|
|
8113
8266
|
self._values["code_repositories"] = code_repositories
|
|
8114
8267
|
if custom_images is not None:
|
|
@@ -8129,6 +8282,15 @@ class CfnDomain(
|
|
|
8129
8282
|
result = self._values.get("app_lifecycle_management")
|
|
8130
8283
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.AppLifecycleManagementProperty"]], result)
|
|
8131
8284
|
|
|
8285
|
+
@builtins.property
|
|
8286
|
+
def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
|
|
8287
|
+
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
8288
|
+
|
|
8289
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-jupyterlabappsettings.html#cfn-sagemaker-domain-jupyterlabappsettings-builtinlifecycleconfigarn
|
|
8290
|
+
'''
|
|
8291
|
+
result = self._values.get("built_in_lifecycle_config_arn")
|
|
8292
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8293
|
+
|
|
8132
8294
|
@builtins.property
|
|
8133
8295
|
def code_repositories(
|
|
8134
8296
|
self,
|
|
@@ -8877,7 +9039,9 @@ class CfnDomain(
|
|
|
8877
9039
|
jsii_struct_bases=[],
|
|
8878
9040
|
name_mapping={
|
|
8879
9041
|
"hidden_app_types": "hiddenAppTypes",
|
|
9042
|
+
"hidden_instance_types": "hiddenInstanceTypes",
|
|
8880
9043
|
"hidden_ml_tools": "hiddenMlTools",
|
|
9044
|
+
"hidden_sage_maker_image_version_aliases": "hiddenSageMakerImageVersionAliases",
|
|
8881
9045
|
},
|
|
8882
9046
|
)
|
|
8883
9047
|
class StudioWebPortalSettingsProperty:
|
|
@@ -8885,14 +9049,18 @@ class CfnDomain(
|
|
|
8885
9049
|
self,
|
|
8886
9050
|
*,
|
|
8887
9051
|
hidden_app_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
9052
|
+
hidden_instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8888
9053
|
hidden_ml_tools: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
9054
|
+
hidden_sage_maker_image_version_aliases: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.HiddenSageMakerImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8889
9055
|
) -> None:
|
|
8890
9056
|
'''Studio settings.
|
|
8891
9057
|
|
|
8892
9058
|
If these settings are applied on a user level, they take priority over the settings applied on a domain level.
|
|
8893
9059
|
|
|
8894
9060
|
: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.
|
|
9061
|
+
:param hidden_instance_types: The instance types you are hiding from the Studio user interface.
|
|
8895
9062
|
:param hidden_ml_tools: The machine learning tools that are hidden from the Studio left navigation pane.
|
|
9063
|
+
:param hidden_sage_maker_image_version_aliases: The version aliases you are hiding from the Studio user interface.
|
|
8896
9064
|
|
|
8897
9065
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-studiowebportalsettings.html
|
|
8898
9066
|
:exampleMetadata: fixture=_generated
|
|
@@ -8905,18 +9073,29 @@ class CfnDomain(
|
|
|
8905
9073
|
|
|
8906
9074
|
studio_web_portal_settings_property = sagemaker.CfnDomain.StudioWebPortalSettingsProperty(
|
|
8907
9075
|
hidden_app_types=["hiddenAppTypes"],
|
|
8908
|
-
|
|
9076
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
9077
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
9078
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnDomain.HiddenSageMakerImageProperty(
|
|
9079
|
+
sage_maker_image_name="sageMakerImageName",
|
|
9080
|
+
version_aliases=["versionAliases"]
|
|
9081
|
+
)]
|
|
8909
9082
|
)
|
|
8910
9083
|
'''
|
|
8911
9084
|
if __debug__:
|
|
8912
9085
|
type_hints = typing.get_type_hints(_typecheckingstub__8a8ec723792b0ed26599d28b5d7a21fbc89e286f4d03c0e5a17ecf55972981f1)
|
|
8913
9086
|
check_type(argname="argument hidden_app_types", value=hidden_app_types, expected_type=type_hints["hidden_app_types"])
|
|
9087
|
+
check_type(argname="argument hidden_instance_types", value=hidden_instance_types, expected_type=type_hints["hidden_instance_types"])
|
|
8914
9088
|
check_type(argname="argument hidden_ml_tools", value=hidden_ml_tools, expected_type=type_hints["hidden_ml_tools"])
|
|
9089
|
+
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"])
|
|
8915
9090
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8916
9091
|
if hidden_app_types is not None:
|
|
8917
9092
|
self._values["hidden_app_types"] = hidden_app_types
|
|
9093
|
+
if hidden_instance_types is not None:
|
|
9094
|
+
self._values["hidden_instance_types"] = hidden_instance_types
|
|
8918
9095
|
if hidden_ml_tools is not None:
|
|
8919
9096
|
self._values["hidden_ml_tools"] = hidden_ml_tools
|
|
9097
|
+
if hidden_sage_maker_image_version_aliases is not None:
|
|
9098
|
+
self._values["hidden_sage_maker_image_version_aliases"] = hidden_sage_maker_image_version_aliases
|
|
8920
9099
|
|
|
8921
9100
|
@builtins.property
|
|
8922
9101
|
def hidden_app_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -8927,6 +9106,15 @@ class CfnDomain(
|
|
|
8927
9106
|
result = self._values.get("hidden_app_types")
|
|
8928
9107
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
8929
9108
|
|
|
9109
|
+
@builtins.property
|
|
9110
|
+
def hidden_instance_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
9111
|
+
'''The instance types you are hiding from the Studio user interface.
|
|
9112
|
+
|
|
9113
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-studiowebportalsettings.html#cfn-sagemaker-domain-studiowebportalsettings-hiddeninstancetypes
|
|
9114
|
+
'''
|
|
9115
|
+
result = self._values.get("hidden_instance_types")
|
|
9116
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
9117
|
+
|
|
8930
9118
|
@builtins.property
|
|
8931
9119
|
def hidden_ml_tools(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
8932
9120
|
'''The machine learning tools that are hidden from the Studio left navigation pane.
|
|
@@ -8936,6 +9124,17 @@ class CfnDomain(
|
|
|
8936
9124
|
result = self._values.get("hidden_ml_tools")
|
|
8937
9125
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
8938
9126
|
|
|
9127
|
+
@builtins.property
|
|
9128
|
+
def hidden_sage_maker_image_version_aliases(
|
|
9129
|
+
self,
|
|
9130
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.HiddenSageMakerImageProperty"]]]]:
|
|
9131
|
+
'''The version aliases you are hiding from the Studio user interface.
|
|
9132
|
+
|
|
9133
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-studiowebportalsettings.html#cfn-sagemaker-domain-studiowebportalsettings-hiddensagemakerimageversionaliases
|
|
9134
|
+
'''
|
|
9135
|
+
result = self._values.get("hidden_sage_maker_image_version_aliases")
|
|
9136
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.HiddenSageMakerImageProperty"]]]], result)
|
|
9137
|
+
|
|
8939
9138
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8940
9139
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8941
9140
|
|
|
@@ -8952,6 +9151,7 @@ class CfnDomain(
|
|
|
8952
9151
|
jsii_struct_bases=[],
|
|
8953
9152
|
name_mapping={
|
|
8954
9153
|
"execution_role": "executionRole",
|
|
9154
|
+
"auto_mount_home_efs": "autoMountHomeEfs",
|
|
8955
9155
|
"code_editor_app_settings": "codeEditorAppSettings",
|
|
8956
9156
|
"custom_file_system_configs": "customFileSystemConfigs",
|
|
8957
9157
|
"custom_posix_user_config": "customPosixUserConfig",
|
|
@@ -8973,6 +9173,7 @@ class CfnDomain(
|
|
|
8973
9173
|
self,
|
|
8974
9174
|
*,
|
|
8975
9175
|
execution_role: builtins.str,
|
|
9176
|
+
auto_mount_home_efs: typing.Optional[builtins.str] = None,
|
|
8976
9177
|
code_editor_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CodeEditorAppSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8977
9178
|
custom_file_system_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CustomFileSystemConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8978
9179
|
custom_posix_user_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CustomPosixUserConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -8995,6 +9196,7 @@ class CfnDomain(
|
|
|
8995
9196
|
``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`` .
|
|
8996
9197
|
|
|
8997
9198
|
:param execution_role: The execution role for the user. SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn't apply this setting to shared spaces.
|
|
9199
|
+
:param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
8998
9200
|
: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.
|
|
8999
9201
|
: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.
|
|
9000
9202
|
: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.
|
|
@@ -9023,6 +9225,7 @@ class CfnDomain(
|
|
|
9023
9225
|
execution_role="executionRole",
|
|
9024
9226
|
|
|
9025
9227
|
# the properties below are optional
|
|
9228
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
9026
9229
|
code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
|
|
9027
9230
|
app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
|
|
9028
9231
|
idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
|
|
@@ -9032,6 +9235,7 @@ class CfnDomain(
|
|
|
9032
9235
|
min_idle_timeout_in_minutes=123
|
|
9033
9236
|
)
|
|
9034
9237
|
),
|
|
9238
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
9035
9239
|
custom_images=[sagemaker.CfnDomain.CustomImageProperty(
|
|
9036
9240
|
app_image_config_name="appImageConfigName",
|
|
9037
9241
|
image_name="imageName",
|
|
@@ -9075,6 +9279,7 @@ class CfnDomain(
|
|
|
9075
9279
|
min_idle_timeout_in_minutes=123
|
|
9076
9280
|
)
|
|
9077
9281
|
),
|
|
9282
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
9078
9283
|
code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
|
|
9079
9284
|
repository_url="repositoryUrl"
|
|
9080
9285
|
)],
|
|
@@ -9152,13 +9357,19 @@ class CfnDomain(
|
|
|
9152
9357
|
studio_web_portal="studioWebPortal",
|
|
9153
9358
|
studio_web_portal_settings=sagemaker.CfnDomain.StudioWebPortalSettingsProperty(
|
|
9154
9359
|
hidden_app_types=["hiddenAppTypes"],
|
|
9155
|
-
|
|
9360
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
9361
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
9362
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnDomain.HiddenSageMakerImageProperty(
|
|
9363
|
+
sage_maker_image_name="sageMakerImageName",
|
|
9364
|
+
version_aliases=["versionAliases"]
|
|
9365
|
+
)]
|
|
9156
9366
|
)
|
|
9157
9367
|
)
|
|
9158
9368
|
'''
|
|
9159
9369
|
if __debug__:
|
|
9160
9370
|
type_hints = typing.get_type_hints(_typecheckingstub__88423e90a647fb1fb625855a5ca5160b5e8125e664363a24f90939664cc2d507)
|
|
9161
9371
|
check_type(argname="argument execution_role", value=execution_role, expected_type=type_hints["execution_role"])
|
|
9372
|
+
check_type(argname="argument auto_mount_home_efs", value=auto_mount_home_efs, expected_type=type_hints["auto_mount_home_efs"])
|
|
9162
9373
|
check_type(argname="argument code_editor_app_settings", value=code_editor_app_settings, expected_type=type_hints["code_editor_app_settings"])
|
|
9163
9374
|
check_type(argname="argument custom_file_system_configs", value=custom_file_system_configs, expected_type=type_hints["custom_file_system_configs"])
|
|
9164
9375
|
check_type(argname="argument custom_posix_user_config", value=custom_posix_user_config, expected_type=type_hints["custom_posix_user_config"])
|
|
@@ -9176,6 +9387,8 @@ class CfnDomain(
|
|
|
9176
9387
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9177
9388
|
"execution_role": execution_role,
|
|
9178
9389
|
}
|
|
9390
|
+
if auto_mount_home_efs is not None:
|
|
9391
|
+
self._values["auto_mount_home_efs"] = auto_mount_home_efs
|
|
9179
9392
|
if code_editor_app_settings is not None:
|
|
9180
9393
|
self._values["code_editor_app_settings"] = code_editor_app_settings
|
|
9181
9394
|
if custom_file_system_configs is not None:
|
|
@@ -9217,6 +9430,15 @@ class CfnDomain(
|
|
|
9217
9430
|
assert result is not None, "Required property 'execution_role' is missing"
|
|
9218
9431
|
return typing.cast(builtins.str, result)
|
|
9219
9432
|
|
|
9433
|
+
@builtins.property
|
|
9434
|
+
def auto_mount_home_efs(self) -> typing.Optional[builtins.str]:
|
|
9435
|
+
'''Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
9436
|
+
|
|
9437
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-automounthomeefs
|
|
9438
|
+
'''
|
|
9439
|
+
result = self._values.get("auto_mount_home_efs")
|
|
9440
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9441
|
+
|
|
9220
9442
|
@builtins.property
|
|
9221
9443
|
def code_editor_app_settings(
|
|
9222
9444
|
self,
|
|
@@ -9469,6 +9691,7 @@ class CfnDomainProps:
|
|
|
9469
9691
|
execution_role="executionRole",
|
|
9470
9692
|
|
|
9471
9693
|
# the properties below are optional
|
|
9694
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
9472
9695
|
code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
|
|
9473
9696
|
app_lifecycle_management=sagemaker.CfnDomain.AppLifecycleManagementProperty(
|
|
9474
9697
|
idle_settings=sagemaker.CfnDomain.IdleSettingsProperty(
|
|
@@ -9478,6 +9701,7 @@ class CfnDomainProps:
|
|
|
9478
9701
|
min_idle_timeout_in_minutes=123
|
|
9479
9702
|
)
|
|
9480
9703
|
),
|
|
9704
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
9481
9705
|
custom_images=[sagemaker.CfnDomain.CustomImageProperty(
|
|
9482
9706
|
app_image_config_name="appImageConfigName",
|
|
9483
9707
|
image_name="imageName",
|
|
@@ -9521,6 +9745,7 @@ class CfnDomainProps:
|
|
|
9521
9745
|
min_idle_timeout_in_minutes=123
|
|
9522
9746
|
)
|
|
9523
9747
|
),
|
|
9748
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
9524
9749
|
code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
|
|
9525
9750
|
repository_url="repositoryUrl"
|
|
9526
9751
|
)],
|
|
@@ -9598,7 +9823,12 @@ class CfnDomainProps:
|
|
|
9598
9823
|
studio_web_portal="studioWebPortal",
|
|
9599
9824
|
studio_web_portal_settings=sagemaker.CfnDomain.StudioWebPortalSettingsProperty(
|
|
9600
9825
|
hidden_app_types=["hiddenAppTypes"],
|
|
9601
|
-
|
|
9826
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
9827
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
9828
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnDomain.HiddenSageMakerImageProperty(
|
|
9829
|
+
sage_maker_image_name="sageMakerImageName",
|
|
9830
|
+
version_aliases=["versionAliases"]
|
|
9831
|
+
)]
|
|
9602
9832
|
)
|
|
9603
9833
|
),
|
|
9604
9834
|
domain_name="domainName",
|
|
@@ -9639,6 +9869,7 @@ class CfnDomainProps:
|
|
|
9639
9869
|
min_idle_timeout_in_minutes=123
|
|
9640
9870
|
)
|
|
9641
9871
|
),
|
|
9872
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
9642
9873
|
code_repositories=[sagemaker.CfnDomain.CodeRepositoryProperty(
|
|
9643
9874
|
repository_url="repositoryUrl"
|
|
9644
9875
|
)],
|
|
@@ -46255,6 +46486,7 @@ class CfnUserProfile(
|
|
|
46255
46486
|
value="value"
|
|
46256
46487
|
)],
|
|
46257
46488
|
user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
46489
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
46258
46490
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
46259
46491
|
app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
|
|
46260
46492
|
idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
|
|
@@ -46264,6 +46496,7 @@ class CfnUserProfile(
|
|
|
46264
46496
|
min_idle_timeout_in_minutes=123
|
|
46265
46497
|
)
|
|
46266
46498
|
),
|
|
46499
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
46267
46500
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
46268
46501
|
app_image_config_name="appImageConfigName",
|
|
46269
46502
|
image_name="imageName",
|
|
@@ -46308,6 +46541,7 @@ class CfnUserProfile(
|
|
|
46308
46541
|
min_idle_timeout_in_minutes=123
|
|
46309
46542
|
)
|
|
46310
46543
|
),
|
|
46544
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
46311
46545
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
46312
46546
|
repository_url="repositoryUrl"
|
|
46313
46547
|
)],
|
|
@@ -46370,7 +46604,12 @@ class CfnUserProfile(
|
|
|
46370
46604
|
studio_web_portal="studioWebPortal",
|
|
46371
46605
|
studio_web_portal_settings=sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
46372
46606
|
hidden_app_types=["hiddenAppTypes"],
|
|
46373
|
-
|
|
46607
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
46608
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
46609
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
|
|
46610
|
+
sage_maker_image_name="sageMakerImageName",
|
|
46611
|
+
version_aliases=["versionAliases"]
|
|
46612
|
+
)]
|
|
46374
46613
|
)
|
|
46375
46614
|
)
|
|
46376
46615
|
)
|
|
@@ -46616,6 +46855,7 @@ class CfnUserProfile(
|
|
|
46616
46855
|
jsii_struct_bases=[],
|
|
46617
46856
|
name_mapping={
|
|
46618
46857
|
"app_lifecycle_management": "appLifecycleManagement",
|
|
46858
|
+
"built_in_lifecycle_config_arn": "builtInLifecycleConfigArn",
|
|
46619
46859
|
"custom_images": "customImages",
|
|
46620
46860
|
"default_resource_spec": "defaultResourceSpec",
|
|
46621
46861
|
"lifecycle_config_arns": "lifecycleConfigArns",
|
|
@@ -46626,6 +46866,7 @@ class CfnUserProfile(
|
|
|
46626
46866
|
self,
|
|
46627
46867
|
*,
|
|
46628
46868
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.AppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
46869
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
46629
46870
|
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
46871
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
46631
46872
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -46635,6 +46876,7 @@ class CfnUserProfile(
|
|
|
46635
46876
|
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
46877
|
|
|
46637
46878
|
:param app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
|
|
46879
|
+
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
|
|
46638
46880
|
:param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
46639
46881
|
: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
46882
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
@@ -46657,6 +46899,7 @@ class CfnUserProfile(
|
|
|
46657
46899
|
min_idle_timeout_in_minutes=123
|
|
46658
46900
|
)
|
|
46659
46901
|
),
|
|
46902
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
46660
46903
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
46661
46904
|
app_image_config_name="appImageConfigName",
|
|
46662
46905
|
image_name="imageName",
|
|
@@ -46676,12 +46919,15 @@ class CfnUserProfile(
|
|
|
46676
46919
|
if __debug__:
|
|
46677
46920
|
type_hints = typing.get_type_hints(_typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5)
|
|
46678
46921
|
check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
|
|
46922
|
+
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
46923
|
check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
|
|
46680
46924
|
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
46681
46925
|
check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
|
|
46682
46926
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
46683
46927
|
if app_lifecycle_management is not None:
|
|
46684
46928
|
self._values["app_lifecycle_management"] = app_lifecycle_management
|
|
46929
|
+
if built_in_lifecycle_config_arn is not None:
|
|
46930
|
+
self._values["built_in_lifecycle_config_arn"] = built_in_lifecycle_config_arn
|
|
46685
46931
|
if custom_images is not None:
|
|
46686
46932
|
self._values["custom_images"] = custom_images
|
|
46687
46933
|
if default_resource_spec is not None:
|
|
@@ -46700,6 +46946,15 @@ class CfnUserProfile(
|
|
|
46700
46946
|
result = self._values.get("app_lifecycle_management")
|
|
46701
46947
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.AppLifecycleManagementProperty"]], result)
|
|
46702
46948
|
|
|
46949
|
+
@builtins.property
|
|
46950
|
+
def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
|
|
46951
|
+
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
46952
|
+
|
|
46953
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-builtinlifecycleconfigarn
|
|
46954
|
+
'''
|
|
46955
|
+
result = self._values.get("built_in_lifecycle_config_arn")
|
|
46956
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
46957
|
+
|
|
46703
46958
|
@builtins.property
|
|
46704
46959
|
def custom_images(
|
|
46705
46960
|
self,
|
|
@@ -47335,6 +47590,77 @@ class CfnUserProfile(
|
|
|
47335
47590
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
47336
47591
|
)
|
|
47337
47592
|
|
|
47593
|
+
@jsii.data_type(
|
|
47594
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.HiddenSageMakerImageProperty",
|
|
47595
|
+
jsii_struct_bases=[],
|
|
47596
|
+
name_mapping={
|
|
47597
|
+
"sage_maker_image_name": "sageMakerImageName",
|
|
47598
|
+
"version_aliases": "versionAliases",
|
|
47599
|
+
},
|
|
47600
|
+
)
|
|
47601
|
+
class HiddenSageMakerImageProperty:
|
|
47602
|
+
def __init__(
|
|
47603
|
+
self,
|
|
47604
|
+
*,
|
|
47605
|
+
sage_maker_image_name: typing.Optional[builtins.str] = None,
|
|
47606
|
+
version_aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
47607
|
+
) -> None:
|
|
47608
|
+
'''
|
|
47609
|
+
:param sage_maker_image_name: The SageMaker image name that you are hiding from the Studio user interface.
|
|
47610
|
+
:param version_aliases:
|
|
47611
|
+
|
|
47612
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html
|
|
47613
|
+
:exampleMetadata: fixture=_generated
|
|
47614
|
+
|
|
47615
|
+
Example::
|
|
47616
|
+
|
|
47617
|
+
# The code below shows an example of how to instantiate this type.
|
|
47618
|
+
# The values are placeholders you should change.
|
|
47619
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
47620
|
+
|
|
47621
|
+
hidden_sage_maker_image_property = sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
|
|
47622
|
+
sage_maker_image_name="sageMakerImageName",
|
|
47623
|
+
version_aliases=["versionAliases"]
|
|
47624
|
+
)
|
|
47625
|
+
'''
|
|
47626
|
+
if __debug__:
|
|
47627
|
+
type_hints = typing.get_type_hints(_typecheckingstub__edd8c8d75b169e32821742e84039e1440e15c9a960f261e379e7d4c741f05505)
|
|
47628
|
+
check_type(argname="argument sage_maker_image_name", value=sage_maker_image_name, expected_type=type_hints["sage_maker_image_name"])
|
|
47629
|
+
check_type(argname="argument version_aliases", value=version_aliases, expected_type=type_hints["version_aliases"])
|
|
47630
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
47631
|
+
if sage_maker_image_name is not None:
|
|
47632
|
+
self._values["sage_maker_image_name"] = sage_maker_image_name
|
|
47633
|
+
if version_aliases is not None:
|
|
47634
|
+
self._values["version_aliases"] = version_aliases
|
|
47635
|
+
|
|
47636
|
+
@builtins.property
|
|
47637
|
+
def sage_maker_image_name(self) -> typing.Optional[builtins.str]:
|
|
47638
|
+
'''The SageMaker image name that you are hiding from the Studio user interface.
|
|
47639
|
+
|
|
47640
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html#cfn-sagemaker-userprofile-hiddensagemakerimage-sagemakerimagename
|
|
47641
|
+
'''
|
|
47642
|
+
result = self._values.get("sage_maker_image_name")
|
|
47643
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
47644
|
+
|
|
47645
|
+
@builtins.property
|
|
47646
|
+
def version_aliases(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
47647
|
+
'''
|
|
47648
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html#cfn-sagemaker-userprofile-hiddensagemakerimage-versionaliases
|
|
47649
|
+
'''
|
|
47650
|
+
result = self._values.get("version_aliases")
|
|
47651
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
47652
|
+
|
|
47653
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
47654
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
47655
|
+
|
|
47656
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
47657
|
+
return not (rhs == self)
|
|
47658
|
+
|
|
47659
|
+
def __repr__(self) -> str:
|
|
47660
|
+
return "HiddenSageMakerImageProperty(%s)" % ", ".join(
|
|
47661
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
47662
|
+
)
|
|
47663
|
+
|
|
47338
47664
|
@jsii.data_type(
|
|
47339
47665
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.IdleSettingsProperty",
|
|
47340
47666
|
jsii_struct_bases=[],
|
|
@@ -47445,6 +47771,7 @@ class CfnUserProfile(
|
|
|
47445
47771
|
jsii_struct_bases=[],
|
|
47446
47772
|
name_mapping={
|
|
47447
47773
|
"app_lifecycle_management": "appLifecycleManagement",
|
|
47774
|
+
"built_in_lifecycle_config_arn": "builtInLifecycleConfigArn",
|
|
47448
47775
|
"code_repositories": "codeRepositories",
|
|
47449
47776
|
"custom_images": "customImages",
|
|
47450
47777
|
"default_resource_spec": "defaultResourceSpec",
|
|
@@ -47456,6 +47783,7 @@ class CfnUserProfile(
|
|
|
47456
47783
|
self,
|
|
47457
47784
|
*,
|
|
47458
47785
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.AppLifecycleManagementProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47786
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
47459
47787
|
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
47788
|
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
47789
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -47464,6 +47792,7 @@ class CfnUserProfile(
|
|
|
47464
47792
|
'''The settings for the JupyterLab application.
|
|
47465
47793
|
|
|
47466
47794
|
:param app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
|
|
47795
|
+
:param built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration.
|
|
47467
47796
|
:param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
47468
47797
|
:param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
|
|
47469
47798
|
: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 +47816,7 @@ class CfnUserProfile(
|
|
|
47487
47816
|
min_idle_timeout_in_minutes=123
|
|
47488
47817
|
)
|
|
47489
47818
|
),
|
|
47819
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
47490
47820
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
47491
47821
|
repository_url="repositoryUrl"
|
|
47492
47822
|
)],
|
|
@@ -47509,6 +47839,7 @@ class CfnUserProfile(
|
|
|
47509
47839
|
if __debug__:
|
|
47510
47840
|
type_hints = typing.get_type_hints(_typecheckingstub__8fbb8b52ced6fc617c616b643ca1ddc3673e837117aaeaf2063654aaa5ad3b72)
|
|
47511
47841
|
check_type(argname="argument app_lifecycle_management", value=app_lifecycle_management, expected_type=type_hints["app_lifecycle_management"])
|
|
47842
|
+
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
47843
|
check_type(argname="argument code_repositories", value=code_repositories, expected_type=type_hints["code_repositories"])
|
|
47513
47844
|
check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
|
|
47514
47845
|
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
@@ -47516,6 +47847,8 @@ class CfnUserProfile(
|
|
|
47516
47847
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
47517
47848
|
if app_lifecycle_management is not None:
|
|
47518
47849
|
self._values["app_lifecycle_management"] = app_lifecycle_management
|
|
47850
|
+
if built_in_lifecycle_config_arn is not None:
|
|
47851
|
+
self._values["built_in_lifecycle_config_arn"] = built_in_lifecycle_config_arn
|
|
47519
47852
|
if code_repositories is not None:
|
|
47520
47853
|
self._values["code_repositories"] = code_repositories
|
|
47521
47854
|
if custom_images is not None:
|
|
@@ -47536,6 +47869,15 @@ class CfnUserProfile(
|
|
|
47536
47869
|
result = self._values.get("app_lifecycle_management")
|
|
47537
47870
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.AppLifecycleManagementProperty"]], result)
|
|
47538
47871
|
|
|
47872
|
+
@builtins.property
|
|
47873
|
+
def built_in_lifecycle_config_arn(self) -> typing.Optional[builtins.str]:
|
|
47874
|
+
'''The lifecycle configuration that runs before the default lifecycle configuration.
|
|
47875
|
+
|
|
47876
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-builtinlifecycleconfigarn
|
|
47877
|
+
'''
|
|
47878
|
+
result = self._values.get("built_in_lifecycle_config_arn")
|
|
47879
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
47880
|
+
|
|
47539
47881
|
@builtins.property
|
|
47540
47882
|
def code_repositories(
|
|
47541
47883
|
self,
|
|
@@ -48081,7 +48423,9 @@ class CfnUserProfile(
|
|
|
48081
48423
|
jsii_struct_bases=[],
|
|
48082
48424
|
name_mapping={
|
|
48083
48425
|
"hidden_app_types": "hiddenAppTypes",
|
|
48426
|
+
"hidden_instance_types": "hiddenInstanceTypes",
|
|
48084
48427
|
"hidden_ml_tools": "hiddenMlTools",
|
|
48428
|
+
"hidden_sage_maker_image_version_aliases": "hiddenSageMakerImageVersionAliases",
|
|
48085
48429
|
},
|
|
48086
48430
|
)
|
|
48087
48431
|
class StudioWebPortalSettingsProperty:
|
|
@@ -48089,14 +48433,18 @@ class CfnUserProfile(
|
|
|
48089
48433
|
self,
|
|
48090
48434
|
*,
|
|
48091
48435
|
hidden_app_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48436
|
+
hidden_instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48092
48437
|
hidden_ml_tools: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48438
|
+
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
48439
|
) -> None:
|
|
48094
48440
|
'''Studio settings.
|
|
48095
48441
|
|
|
48096
48442
|
If these settings are applied on a user level, they take priority over the settings applied on a domain level.
|
|
48097
48443
|
|
|
48098
48444
|
: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.
|
|
48445
|
+
:param hidden_instance_types: The instance types you are hiding from the Studio user interface.
|
|
48099
48446
|
:param hidden_ml_tools: The machine learning tools that are hidden from the Studio left navigation pane.
|
|
48447
|
+
:param hidden_sage_maker_image_version_aliases: The version aliases you are hiding from the Studio user interface.
|
|
48100
48448
|
|
|
48101
48449
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html
|
|
48102
48450
|
:exampleMetadata: fixture=_generated
|
|
@@ -48109,18 +48457,29 @@ class CfnUserProfile(
|
|
|
48109
48457
|
|
|
48110
48458
|
studio_web_portal_settings_property = sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
48111
48459
|
hidden_app_types=["hiddenAppTypes"],
|
|
48112
|
-
|
|
48460
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
48461
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
48462
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
|
|
48463
|
+
sage_maker_image_name="sageMakerImageName",
|
|
48464
|
+
version_aliases=["versionAliases"]
|
|
48465
|
+
)]
|
|
48113
48466
|
)
|
|
48114
48467
|
'''
|
|
48115
48468
|
if __debug__:
|
|
48116
48469
|
type_hints = typing.get_type_hints(_typecheckingstub__c6593aeb456cd28b3f5fa579713dc8752eed149344ea410599205e8e1c228c0d)
|
|
48117
48470
|
check_type(argname="argument hidden_app_types", value=hidden_app_types, expected_type=type_hints["hidden_app_types"])
|
|
48471
|
+
check_type(argname="argument hidden_instance_types", value=hidden_instance_types, expected_type=type_hints["hidden_instance_types"])
|
|
48118
48472
|
check_type(argname="argument hidden_ml_tools", value=hidden_ml_tools, expected_type=type_hints["hidden_ml_tools"])
|
|
48473
|
+
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
48474
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
48120
48475
|
if hidden_app_types is not None:
|
|
48121
48476
|
self._values["hidden_app_types"] = hidden_app_types
|
|
48477
|
+
if hidden_instance_types is not None:
|
|
48478
|
+
self._values["hidden_instance_types"] = hidden_instance_types
|
|
48122
48479
|
if hidden_ml_tools is not None:
|
|
48123
48480
|
self._values["hidden_ml_tools"] = hidden_ml_tools
|
|
48481
|
+
if hidden_sage_maker_image_version_aliases is not None:
|
|
48482
|
+
self._values["hidden_sage_maker_image_version_aliases"] = hidden_sage_maker_image_version_aliases
|
|
48124
48483
|
|
|
48125
48484
|
@builtins.property
|
|
48126
48485
|
def hidden_app_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -48131,6 +48490,15 @@ class CfnUserProfile(
|
|
|
48131
48490
|
result = self._values.get("hidden_app_types")
|
|
48132
48491
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
48133
48492
|
|
|
48493
|
+
@builtins.property
|
|
48494
|
+
def hidden_instance_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
48495
|
+
'''The instance types you are hiding from the Studio user interface.
|
|
48496
|
+
|
|
48497
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html#cfn-sagemaker-userprofile-studiowebportalsettings-hiddeninstancetypes
|
|
48498
|
+
'''
|
|
48499
|
+
result = self._values.get("hidden_instance_types")
|
|
48500
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
48501
|
+
|
|
48134
48502
|
@builtins.property
|
|
48135
48503
|
def hidden_ml_tools(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
48136
48504
|
'''The machine learning tools that are hidden from the Studio left navigation pane.
|
|
@@ -48140,6 +48508,17 @@ class CfnUserProfile(
|
|
|
48140
48508
|
result = self._values.get("hidden_ml_tools")
|
|
48141
48509
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
48142
48510
|
|
|
48511
|
+
@builtins.property
|
|
48512
|
+
def hidden_sage_maker_image_version_aliases(
|
|
48513
|
+
self,
|
|
48514
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.HiddenSageMakerImageProperty"]]]]:
|
|
48515
|
+
'''The version aliases you are hiding from the Studio user interface.
|
|
48516
|
+
|
|
48517
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html#cfn-sagemaker-userprofile-studiowebportalsettings-hiddensagemakerimageversionaliases
|
|
48518
|
+
'''
|
|
48519
|
+
result = self._values.get("hidden_sage_maker_image_version_aliases")
|
|
48520
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.HiddenSageMakerImageProperty"]]]], result)
|
|
48521
|
+
|
|
48143
48522
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
48144
48523
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
48145
48524
|
|
|
@@ -48155,6 +48534,7 @@ class CfnUserProfile(
|
|
|
48155
48534
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.UserSettingsProperty",
|
|
48156
48535
|
jsii_struct_bases=[],
|
|
48157
48536
|
name_mapping={
|
|
48537
|
+
"auto_mount_home_efs": "autoMountHomeEfs",
|
|
48158
48538
|
"code_editor_app_settings": "codeEditorAppSettings",
|
|
48159
48539
|
"custom_file_system_configs": "customFileSystemConfigs",
|
|
48160
48540
|
"custom_posix_user_config": "customPosixUserConfig",
|
|
@@ -48175,6 +48555,7 @@ class CfnUserProfile(
|
|
|
48175
48555
|
def __init__(
|
|
48176
48556
|
self,
|
|
48177
48557
|
*,
|
|
48558
|
+
auto_mount_home_efs: typing.Optional[builtins.str] = None,
|
|
48178
48559
|
code_editor_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CodeEditorAppSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48179
48560
|
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
48561
|
custom_posix_user_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CustomPosixUserConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -48196,6 +48577,7 @@ class CfnUserProfile(
|
|
|
48196
48577
|
|
|
48197
48578
|
``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
48579
|
|
|
48580
|
+
:param auto_mount_home_efs: Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
48199
48581
|
: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
48582
|
: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
48583
|
: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 +48603,7 @@ class CfnUserProfile(
|
|
|
48221
48603
|
from aws_cdk import aws_sagemaker as sagemaker
|
|
48222
48604
|
|
|
48223
48605
|
user_settings_property = sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
48606
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
48224
48607
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
48225
48608
|
app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
|
|
48226
48609
|
idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
|
|
@@ -48230,6 +48613,7 @@ class CfnUserProfile(
|
|
|
48230
48613
|
min_idle_timeout_in_minutes=123
|
|
48231
48614
|
)
|
|
48232
48615
|
),
|
|
48616
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48233
48617
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
48234
48618
|
app_image_config_name="appImageConfigName",
|
|
48235
48619
|
image_name="imageName",
|
|
@@ -48274,6 +48658,7 @@ class CfnUserProfile(
|
|
|
48274
48658
|
min_idle_timeout_in_minutes=123
|
|
48275
48659
|
)
|
|
48276
48660
|
),
|
|
48661
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48277
48662
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
48278
48663
|
repository_url="repositoryUrl"
|
|
48279
48664
|
)],
|
|
@@ -48336,12 +48721,18 @@ class CfnUserProfile(
|
|
|
48336
48721
|
studio_web_portal="studioWebPortal",
|
|
48337
48722
|
studio_web_portal_settings=sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
48338
48723
|
hidden_app_types=["hiddenAppTypes"],
|
|
48339
|
-
|
|
48724
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
48725
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
48726
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
|
|
48727
|
+
sage_maker_image_name="sageMakerImageName",
|
|
48728
|
+
version_aliases=["versionAliases"]
|
|
48729
|
+
)]
|
|
48340
48730
|
)
|
|
48341
48731
|
)
|
|
48342
48732
|
'''
|
|
48343
48733
|
if __debug__:
|
|
48344
48734
|
type_hints = typing.get_type_hints(_typecheckingstub__e97db7f3b3126b5a3d5c763d4d08621d63d98712c98017d6bda1493a96910b7f)
|
|
48735
|
+
check_type(argname="argument auto_mount_home_efs", value=auto_mount_home_efs, expected_type=type_hints["auto_mount_home_efs"])
|
|
48345
48736
|
check_type(argname="argument code_editor_app_settings", value=code_editor_app_settings, expected_type=type_hints["code_editor_app_settings"])
|
|
48346
48737
|
check_type(argname="argument custom_file_system_configs", value=custom_file_system_configs, expected_type=type_hints["custom_file_system_configs"])
|
|
48347
48738
|
check_type(argname="argument custom_posix_user_config", value=custom_posix_user_config, expected_type=type_hints["custom_posix_user_config"])
|
|
@@ -48357,6 +48748,8 @@ class CfnUserProfile(
|
|
|
48357
48748
|
check_type(argname="argument studio_web_portal", value=studio_web_portal, expected_type=type_hints["studio_web_portal"])
|
|
48358
48749
|
check_type(argname="argument studio_web_portal_settings", value=studio_web_portal_settings, expected_type=type_hints["studio_web_portal_settings"])
|
|
48359
48750
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
48751
|
+
if auto_mount_home_efs is not None:
|
|
48752
|
+
self._values["auto_mount_home_efs"] = auto_mount_home_efs
|
|
48360
48753
|
if code_editor_app_settings is not None:
|
|
48361
48754
|
self._values["code_editor_app_settings"] = code_editor_app_settings
|
|
48362
48755
|
if custom_file_system_configs is not None:
|
|
@@ -48386,6 +48779,15 @@ class CfnUserProfile(
|
|
|
48386
48779
|
if studio_web_portal_settings is not None:
|
|
48387
48780
|
self._values["studio_web_portal_settings"] = studio_web_portal_settings
|
|
48388
48781
|
|
|
48782
|
+
@builtins.property
|
|
48783
|
+
def auto_mount_home_efs(self) -> typing.Optional[builtins.str]:
|
|
48784
|
+
'''Indicates whether auto-mounting of an EFS volume is supported for the user profile.
|
|
48785
|
+
|
|
48786
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-automounthomeefs
|
|
48787
|
+
'''
|
|
48788
|
+
result = self._values.get("auto_mount_home_efs")
|
|
48789
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
48790
|
+
|
|
48389
48791
|
@builtins.property
|
|
48390
48792
|
def code_editor_app_settings(
|
|
48391
48793
|
self,
|
|
@@ -48626,6 +49028,7 @@ class CfnUserProfileProps:
|
|
|
48626
49028
|
value="value"
|
|
48627
49029
|
)],
|
|
48628
49030
|
user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
49031
|
+
auto_mount_home_efs="autoMountHomeEfs",
|
|
48629
49032
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
48630
49033
|
app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
|
|
48631
49034
|
idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
|
|
@@ -48635,6 +49038,7 @@ class CfnUserProfileProps:
|
|
|
48635
49038
|
min_idle_timeout_in_minutes=123
|
|
48636
49039
|
)
|
|
48637
49040
|
),
|
|
49041
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48638
49042
|
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
48639
49043
|
app_image_config_name="appImageConfigName",
|
|
48640
49044
|
image_name="imageName",
|
|
@@ -48679,6 +49083,7 @@ class CfnUserProfileProps:
|
|
|
48679
49083
|
min_idle_timeout_in_minutes=123
|
|
48680
49084
|
)
|
|
48681
49085
|
),
|
|
49086
|
+
built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
|
|
48682
49087
|
code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
|
|
48683
49088
|
repository_url="repositoryUrl"
|
|
48684
49089
|
)],
|
|
@@ -48741,7 +49146,12 @@ class CfnUserProfileProps:
|
|
|
48741
49146
|
studio_web_portal="studioWebPortal",
|
|
48742
49147
|
studio_web_portal_settings=sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
|
|
48743
49148
|
hidden_app_types=["hiddenAppTypes"],
|
|
48744
|
-
|
|
49149
|
+
hidden_instance_types=["hiddenInstanceTypes"],
|
|
49150
|
+
hidden_ml_tools=["hiddenMlTools"],
|
|
49151
|
+
hidden_sage_maker_image_version_aliases=[sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
|
|
49152
|
+
sage_maker_image_name="sageMakerImageName",
|
|
49153
|
+
version_aliases=["versionAliases"]
|
|
49154
|
+
)]
|
|
48745
49155
|
)
|
|
48746
49156
|
)
|
|
48747
49157
|
)
|
|
@@ -49748,6 +50158,7 @@ def _typecheckingstub__da207547ea530dc451bd8f33c6174b52ddcb5c9c348d4df84894bf6a2
|
|
|
49748
50158
|
app_type: builtins.str,
|
|
49749
50159
|
domain_id: builtins.str,
|
|
49750
50160
|
user_profile_name: builtins.str,
|
|
50161
|
+
recovery_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
49751
50162
|
resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49752
50163
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49753
50164
|
) -> None:
|
|
@@ -49790,6 +50201,12 @@ def _typecheckingstub__9231045eaa19a04e645ac4427861d86fb43ed510b73c35bda73d525ca
|
|
|
49790
50201
|
"""Type checking stubs"""
|
|
49791
50202
|
pass
|
|
49792
50203
|
|
|
50204
|
+
def _typecheckingstub__f9db056b4c694b5579e4171517bac256cb919f19041d12d1a8a1c8b09120e81a(
|
|
50205
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
50206
|
+
) -> None:
|
|
50207
|
+
"""Type checking stubs"""
|
|
50208
|
+
pass
|
|
50209
|
+
|
|
49793
50210
|
def _typecheckingstub__41e96c1fc82b070303e88c71e535d7b01017c13f06d3c4baf96523a46c257f09(
|
|
49794
50211
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApp.ResourceSpecProperty]],
|
|
49795
50212
|
) -> None:
|
|
@@ -49940,6 +50357,7 @@ def _typecheckingstub__2f03f5ccb1b2c4633c9ef3bee30e7429d047ef909520efe2cbcf88d12
|
|
|
49940
50357
|
app_type: builtins.str,
|
|
49941
50358
|
domain_id: builtins.str,
|
|
49942
50359
|
user_profile_name: builtins.str,
|
|
50360
|
+
recovery_mode: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
49943
50361
|
resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApp.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49944
50362
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49945
50363
|
) -> None:
|
|
@@ -50654,6 +51072,7 @@ def _typecheckingstub__7effd4411e9cef3285cdb58cb66208ce801332047fd17028be8db70ae
|
|
|
50654
51072
|
def _typecheckingstub__fc744bb58e49877db429fbdcea73e31d9e5326375463940bb48321473f97dfaa(
|
|
50655
51073
|
*,
|
|
50656
51074
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.AppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
51075
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
50657
51076
|
custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CustomImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
50658
51077
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
50659
51078
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -50756,6 +51175,14 @@ def _typecheckingstub__d8a1d62d2d0cebecfadffff928c7dca834df99c045099ba63d00955c2
|
|
|
50756
51175
|
"""Type checking stubs"""
|
|
50757
51176
|
pass
|
|
50758
51177
|
|
|
51178
|
+
def _typecheckingstub__ef4c24a298ba004167ed74541300e1835cc3b27da6fc437da88601dc2a28b100(
|
|
51179
|
+
*,
|
|
51180
|
+
sage_maker_image_name: typing.Optional[builtins.str] = None,
|
|
51181
|
+
version_aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
51182
|
+
) -> None:
|
|
51183
|
+
"""Type checking stubs"""
|
|
51184
|
+
pass
|
|
51185
|
+
|
|
50759
51186
|
def _typecheckingstub__9e3d0f1226c122e790812fdc875a758ed55021588a3e9f6f3227062284b60c8b(
|
|
50760
51187
|
*,
|
|
50761
51188
|
idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
@@ -50769,6 +51196,7 @@ def _typecheckingstub__9e3d0f1226c122e790812fdc875a758ed55021588a3e9f6f322706228
|
|
|
50769
51196
|
def _typecheckingstub__3cd086b89fbe936eaaa5fb775d9cbd0e29ad00fb21eb2a45265c217414f406d1(
|
|
50770
51197
|
*,
|
|
50771
51198
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.AppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
51199
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
50772
51200
|
code_repositories: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CodeRepositoryProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
50773
51201
|
custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CustomImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
50774
51202
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -50842,7 +51270,9 @@ def _typecheckingstub__548dd396dfd935cd647f2a1297e1f20836fc0ddc163c1659d63bbf9e9
|
|
|
50842
51270
|
def _typecheckingstub__8a8ec723792b0ed26599d28b5d7a21fbc89e286f4d03c0e5a17ecf55972981f1(
|
|
50843
51271
|
*,
|
|
50844
51272
|
hidden_app_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
51273
|
+
hidden_instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
50845
51274
|
hidden_ml_tools: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
51275
|
+
hidden_sage_maker_image_version_aliases: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.HiddenSageMakerImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
50846
51276
|
) -> None:
|
|
50847
51277
|
"""Type checking stubs"""
|
|
50848
51278
|
pass
|
|
@@ -50850,6 +51280,7 @@ def _typecheckingstub__8a8ec723792b0ed26599d28b5d7a21fbc89e286f4d03c0e5a17ecf559
|
|
|
50850
51280
|
def _typecheckingstub__88423e90a647fb1fb625855a5ca5160b5e8125e664363a24f90939664cc2d507(
|
|
50851
51281
|
*,
|
|
50852
51282
|
execution_role: builtins.str,
|
|
51283
|
+
auto_mount_home_efs: typing.Optional[builtins.str] = None,
|
|
50853
51284
|
code_editor_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CodeEditorAppSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
50854
51285
|
custom_file_system_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CustomFileSystemConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
50855
51286
|
custom_posix_user_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CustomPosixUserConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -55237,6 +55668,7 @@ def _typecheckingstub__1de2f359712adb79d9133bada8d874676f1cf8ddb79c11623d797df1b
|
|
|
55237
55668
|
def _typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5(
|
|
55238
55669
|
*,
|
|
55239
55670
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.AppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55671
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
55240
55672
|
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
55673
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55242
55674
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -55307,6 +55739,14 @@ def _typecheckingstub__8d6bd8a103ed4cf4233270d8bb52158950a2338a094df3c8ff1cf1fe8
|
|
|
55307
55739
|
"""Type checking stubs"""
|
|
55308
55740
|
pass
|
|
55309
55741
|
|
|
55742
|
+
def _typecheckingstub__edd8c8d75b169e32821742e84039e1440e15c9a960f261e379e7d4c741f05505(
|
|
55743
|
+
*,
|
|
55744
|
+
sage_maker_image_name: typing.Optional[builtins.str] = None,
|
|
55745
|
+
version_aliases: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55746
|
+
) -> None:
|
|
55747
|
+
"""Type checking stubs"""
|
|
55748
|
+
pass
|
|
55749
|
+
|
|
55310
55750
|
def _typecheckingstub__a4f947a25801ba152e8f9b88cabae6d5acefc670d4af60084ef7a8f1a7e21e9f(
|
|
55311
55751
|
*,
|
|
55312
55752
|
idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
@@ -55320,6 +55760,7 @@ def _typecheckingstub__a4f947a25801ba152e8f9b88cabae6d5acefc670d4af60084ef7a8f1a
|
|
|
55320
55760
|
def _typecheckingstub__8fbb8b52ced6fc617c616b643ca1ddc3673e837117aaeaf2063654aaa5ad3b72(
|
|
55321
55761
|
*,
|
|
55322
55762
|
app_lifecycle_management: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.AppLifecycleManagementProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55763
|
+
built_in_lifecycle_config_arn: typing.Optional[builtins.str] = None,
|
|
55323
55764
|
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
55765
|
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
55766
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -55375,13 +55816,16 @@ def _typecheckingstub__f5b8977e0ba203166fc6635e9d4d1a51fbc68b5d6b5b022bb1a4207ff
|
|
|
55375
55816
|
def _typecheckingstub__c6593aeb456cd28b3f5fa579713dc8752eed149344ea410599205e8e1c228c0d(
|
|
55376
55817
|
*,
|
|
55377
55818
|
hidden_app_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55819
|
+
hidden_instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55378
55820
|
hidden_ml_tools: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
55821
|
+
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
55822
|
) -> None:
|
|
55380
55823
|
"""Type checking stubs"""
|
|
55381
55824
|
pass
|
|
55382
55825
|
|
|
55383
55826
|
def _typecheckingstub__e97db7f3b3126b5a3d5c763d4d08621d63d98712c98017d6bda1493a96910b7f(
|
|
55384
55827
|
*,
|
|
55828
|
+
auto_mount_home_efs: typing.Optional[builtins.str] = None,
|
|
55385
55829
|
code_editor_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CodeEditorAppSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
55386
55830
|
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
55831
|
custom_posix_user_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CustomPosixUserConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|