aws-cdk-lib 2.173.4__py3-none-any.whl → 2.174.1__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 +210 -181
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.173.4.jsii.tgz → aws-cdk-lib@2.174.1.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +18 -0
- aws_cdk/aws_apigateway/__init__.py +127 -168
- aws_cdk/aws_appconfig/__init__.py +498 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_appsync/__init__.py +4 -0
- aws_cdk/aws_autoscaling/__init__.py +96 -0
- aws_cdk/aws_batch/__init__.py +662 -237
- aws_cdk/aws_bedrock/__init__.py +2122 -181
- aws_cdk/aws_cassandra/__init__.py +476 -4
- aws_cdk/aws_cleanrooms/__init__.py +1227 -20
- aws_cdk/aws_cloudformation/__init__.py +172 -169
- aws_cdk/aws_cloudfront/__init__.py +773 -26
- aws_cdk/aws_cloudtrail/__init__.py +8 -2
- aws_cdk/aws_codebuild/__init__.py +83 -0
- aws_cdk/aws_codepipeline/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +232 -200
- aws_cdk/aws_connect/__init__.py +187 -36
- aws_cdk/aws_connectcampaignsv2/__init__.py +106 -12
- aws_cdk/aws_databrew/__init__.py +69 -1
- aws_cdk/aws_datasync/__init__.py +33 -28
- aws_cdk/aws_datazone/__init__.py +141 -41
- aws_cdk/aws_dlm/__init__.py +20 -10
- aws_cdk/aws_dms/__init__.py +736 -22
- aws_cdk/aws_docdb/__init__.py +134 -0
- aws_cdk/aws_dynamodb/__init__.py +76 -4
- aws_cdk/aws_ec2/__init__.py +1233 -65
- aws_cdk/aws_ecr/__init__.py +31 -0
- aws_cdk/aws_ecr_assets/__init__.py +5 -0
- aws_cdk/aws_ecs/__init__.py +88 -11
- aws_cdk/aws_efs/__init__.py +15 -8
- aws_cdk/aws_eks/__init__.py +114 -45
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_emrserverless/__init__.py +143 -0
- aws_cdk/aws_events/__init__.py +50 -30
- aws_cdk/aws_fis/__init__.py +33 -33
- aws_cdk/aws_fsx/__init__.py +20 -10
- aws_cdk/aws_glue/__init__.py +34 -11
- aws_cdk/aws_greengrass/__init__.py +8 -8
- aws_cdk/aws_guardduty/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +45 -47
- aws_cdk/aws_internetmonitor/__init__.py +3 -3
- aws_cdk/aws_invoicing/__init__.py +55 -30
- aws_cdk/aws_iot/__init__.py +1117 -4
- aws_cdk/aws_iot1click/__init__.py +17 -7
- aws_cdk/aws_kendra/__init__.py +4 -6
- aws_cdk/aws_lambda/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +4011 -86
- aws_cdk/aws_m2/__init__.py +41 -0
- aws_cdk/aws_mediaconnect/__init__.py +202 -7
- aws_cdk/aws_mediaconvert/__init__.py +39 -0
- aws_cdk/aws_memorydb/__init__.py +22 -22
- aws_cdk/aws_networkmanager/__init__.py +758 -0
- aws_cdk/aws_opensearchservice/__init__.py +222 -0
- aws_cdk/aws_organizations/__init__.py +5 -3
- aws_cdk/aws_pcs/__init__.py +3038 -0
- aws_cdk/aws_pipes/__init__.py +10 -10
- aws_cdk/aws_qbusiness/__init__.py +415 -140
- aws_cdk/aws_quicksight/__init__.py +59795 -49748
- aws_cdk/aws_ram/__init__.py +5 -11
- aws_cdk/aws_rbin/__init__.py +28 -16
- aws_cdk/aws_rds/__init__.py +186 -31
- aws_cdk/aws_redshiftserverless/__init__.py +156 -0
- aws_cdk/aws_resiliencehub/__init__.py +2 -1
- aws_cdk/aws_route53_targets/__init__.py +5 -5
- aws_cdk/aws_s3/__init__.py +25 -15
- aws_cdk/aws_s3express/__init__.py +7 -7
- aws_cdk/aws_s3tables/__init__.py +683 -0
- aws_cdk/aws_sagemaker/__init__.py +580 -195
- aws_cdk/aws_secretsmanager/__init__.py +2 -0
- aws_cdk/aws_securityhub/__init__.py +41 -165
- aws_cdk/aws_servicediscovery/__init__.py +10 -3
- aws_cdk/aws_ses/__init__.py +190 -5
- aws_cdk/aws_sns/__init__.py +7 -3
- aws_cdk/aws_synthetics/__init__.py +29 -4
- aws_cdk/aws_transfer/__init__.py +8 -0
- aws_cdk/aws_vpclattice/__init__.py +147 -77
- aws_cdk/aws_wafv2/__init__.py +20 -8
- aws_cdk/aws_wisdom/__init__.py +162 -111
- aws_cdk/aws_workspaces/__init__.py +10 -4
- aws_cdk/cloud_assembly_schema/__init__.py +22 -0
- aws_cdk/custom_resources/__init__.py +31 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/LICENSE +1 -1
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/NOTICE +1 -1
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/RECORD +91 -89
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.173.4.dist-info → aws_cdk_lib-2.174.1.dist-info}/top_level.txt +0 -0
|
@@ -85,7 +85,7 @@ class CfnApp(
|
|
|
85
85
|
):
|
|
86
86
|
'''Creates a running app for the specified UserProfile.
|
|
87
87
|
|
|
88
|
-
This operation is automatically invoked by Amazon SageMaker upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.
|
|
88
|
+
This operation is automatically invoked by Amazon SageMaker AI upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.
|
|
89
89
|
|
|
90
90
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html
|
|
91
91
|
:cloudformationResource: AWS::SageMaker::App
|
|
@@ -306,11 +306,11 @@ class CfnApp(
|
|
|
306
306
|
sage_maker_image_arn: typing.Optional[builtins.str] = None,
|
|
307
307
|
sage_maker_image_version_arn: typing.Optional[builtins.str] = None,
|
|
308
308
|
) -> None:
|
|
309
|
-
'''Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
309
|
+
'''Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.
|
|
310
310
|
|
|
311
311
|
:param instance_type: The instance type that the image version runs on. .. epigraph:: *JupyterServer apps* only support the ``system`` value. For *KernelGateway apps* , the ``system`` value is translated to ``ml.t3.medium`` . KernelGateway apps also support all other values for available instance types.
|
|
312
312
|
:param lifecycle_config_arn: The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
|
|
313
|
-
:param sage_maker_image_arn: The ARN of the SageMaker image that the image version belongs to.
|
|
313
|
+
:param sage_maker_image_arn: The ARN of the SageMaker AI image that the image version belongs to.
|
|
314
314
|
:param sage_maker_image_version_arn: The ARN of the image version created on the instance.
|
|
315
315
|
|
|
316
316
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-app-resourcespec.html
|
|
@@ -371,7 +371,7 @@ class CfnApp(
|
|
|
371
371
|
|
|
372
372
|
@builtins.property
|
|
373
373
|
def sage_maker_image_arn(self) -> typing.Optional[builtins.str]:
|
|
374
|
-
'''The ARN of the SageMaker image that the image version belongs to.
|
|
374
|
+
'''The ARN of the SageMaker AI image that the image version belongs to.
|
|
375
375
|
|
|
376
376
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-app-resourcespec.html#cfn-sagemaker-app-resourcespec-sagemakerimagearn
|
|
377
377
|
'''
|
|
@@ -405,7 +405,7 @@ class CfnAppImageConfig(
|
|
|
405
405
|
metaclass=jsii.JSIIMeta,
|
|
406
406
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnAppImageConfig",
|
|
407
407
|
):
|
|
408
|
-
'''Creates a configuration for running a SageMaker image as a KernelGateway app.
|
|
408
|
+
'''Creates a configuration for running a SageMaker AI image as a KernelGateway app.
|
|
409
409
|
|
|
410
410
|
The configuration specifies the Amazon Elastic File System storage volume on the image, and a list of the kernels in the image.
|
|
411
411
|
|
|
@@ -482,7 +482,7 @@ class CfnAppImageConfig(
|
|
|
482
482
|
:param app_image_config_name: The name of the AppImageConfig. Must be unique to your account.
|
|
483
483
|
:param code_editor_app_image_config: The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
484
484
|
:param jupyter_lab_app_image_config: The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
485
|
-
:param kernel_gateway_image_config: The configuration for the file system and kernels in the SageMaker image.
|
|
485
|
+
:param kernel_gateway_image_config: The configuration for the file system and kernels in the SageMaker AI image.
|
|
486
486
|
: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>`_ .
|
|
487
487
|
'''
|
|
488
488
|
if __debug__:
|
|
@@ -603,7 +603,7 @@ class CfnAppImageConfig(
|
|
|
603
603
|
def kernel_gateway_image_config(
|
|
604
604
|
self,
|
|
605
605
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.KernelGatewayImageConfigProperty"]]:
|
|
606
|
-
'''The configuration for the file system and kernels in the SageMaker image.'''
|
|
606
|
+
'''The configuration for the file system and kernels in the SageMaker AI image.'''
|
|
607
607
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.KernelGatewayImageConfigProperty"]], jsii.get(self, "kernelGatewayImageConfig"))
|
|
608
608
|
|
|
609
609
|
@kernel_gateway_image_config.setter
|
|
@@ -872,7 +872,7 @@ class CfnAppImageConfig(
|
|
|
872
872
|
default_uid: typing.Optional[jsii.Number] = None,
|
|
873
873
|
mount_path: typing.Optional[builtins.str] = None,
|
|
874
874
|
) -> None:
|
|
875
|
-
'''The Amazon Elastic File System storage configuration for a SageMaker image.
|
|
875
|
+
'''The Amazon Elastic File System storage configuration for a SageMaker AI image.
|
|
876
876
|
|
|
877
877
|
:param default_gid: The default POSIX group ID (GID). If not specified, defaults to ``100`` .
|
|
878
878
|
:param default_uid: The default POSIX user ID (UID). If not specified, defaults to ``1000`` .
|
|
@@ -961,7 +961,7 @@ class CfnAppImageConfig(
|
|
|
961
961
|
*,
|
|
962
962
|
container_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.ContainerConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
963
963
|
) -> None:
|
|
964
|
-
'''The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app.
|
|
964
|
+
'''The configuration for the file system and kernels in a SageMaker AI image running as a JupyterLab app.
|
|
965
965
|
|
|
966
966
|
The ``FileSystemConfig`` object is not supported.
|
|
967
967
|
|
|
@@ -1031,10 +1031,10 @@ class CfnAppImageConfig(
|
|
|
1031
1031
|
kernel_specs: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.KernelSpecProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
1032
1032
|
file_system_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.FileSystemConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1033
1033
|
) -> None:
|
|
1034
|
-
'''The configuration for the file system and kernels in a SageMaker image running as a KernelGateway app.
|
|
1034
|
+
'''The configuration for the file system and kernels in a SageMaker AI image running as a KernelGateway app.
|
|
1035
1035
|
|
|
1036
1036
|
:param kernel_specs: The specification of the Jupyter kernels in the image.
|
|
1037
|
-
:param file_system_config: The Amazon Elastic File System storage configuration for a SageMaker image.
|
|
1037
|
+
:param file_system_config: The Amazon Elastic File System storage configuration for a SageMaker AI image.
|
|
1038
1038
|
|
|
1039
1039
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelgatewayimageconfig.html
|
|
1040
1040
|
:exampleMetadata: fixture=_generated
|
|
@@ -1087,7 +1087,7 @@ class CfnAppImageConfig(
|
|
|
1087
1087
|
def file_system_config(
|
|
1088
1088
|
self,
|
|
1089
1089
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.FileSystemConfigProperty"]]:
|
|
1090
|
-
'''The Amazon Elastic File System storage configuration for a SageMaker image.
|
|
1090
|
+
'''The Amazon Elastic File System storage configuration for a SageMaker AI image.
|
|
1091
1091
|
|
|
1092
1092
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelgatewayimageconfig.html#cfn-sagemaker-appimageconfig-kernelgatewayimageconfig-filesystemconfig
|
|
1093
1093
|
'''
|
|
@@ -1207,7 +1207,7 @@ class CfnAppImageConfigProps:
|
|
|
1207
1207
|
:param app_image_config_name: The name of the AppImageConfig. Must be unique to your account.
|
|
1208
1208
|
:param code_editor_app_image_config: The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
1209
1209
|
:param jupyter_lab_app_image_config: The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
1210
|
-
:param kernel_gateway_image_config: The configuration for the file system and kernels in the SageMaker image.
|
|
1210
|
+
:param kernel_gateway_image_config: The configuration for the file system and kernels in the SageMaker AI image.
|
|
1211
1211
|
: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>`_ .
|
|
1212
1212
|
|
|
1213
1213
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html
|
|
@@ -1321,7 +1321,7 @@ class CfnAppImageConfigProps:
|
|
|
1321
1321
|
def kernel_gateway_image_config(
|
|
1322
1322
|
self,
|
|
1323
1323
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppImageConfig.KernelGatewayImageConfigProperty]]:
|
|
1324
|
-
'''The configuration for the file system and kernels in the SageMaker image.
|
|
1324
|
+
'''The configuration for the file system and kernels in the SageMaker AI image.
|
|
1325
1325
|
|
|
1326
1326
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html#cfn-sagemaker-appimageconfig-kernelgatewayimageconfig
|
|
1327
1327
|
'''
|
|
@@ -2587,9 +2587,9 @@ class CfnCodeRepository(
|
|
|
2587
2587
|
metaclass=jsii.JSIIMeta,
|
|
2588
2588
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnCodeRepository",
|
|
2589
2589
|
):
|
|
2590
|
-
'''Creates a Git repository as a resource in your SageMaker account.
|
|
2590
|
+
'''Creates a Git repository as a resource in your SageMaker AI account.
|
|
2591
2591
|
|
|
2592
|
-
You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.
|
|
2592
|
+
You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your SageMaker AI account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.
|
|
2593
2593
|
|
|
2594
2594
|
The repository can be hosted either in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository.
|
|
2595
2595
|
|
|
@@ -2958,7 +2958,7 @@ class CfnDataQualityJobDefinition(
|
|
|
2958
2958
|
):
|
|
2959
2959
|
'''Creates a definition for a job that monitors data quality and drift.
|
|
2960
2960
|
|
|
2961
|
-
For information about model monitor, see `Amazon SageMaker Model Monitor <https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html>`_ .
|
|
2961
|
+
For information about model monitor, see `Amazon SageMaker AI Model Monitor <https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html>`_ .
|
|
2962
2962
|
|
|
2963
2963
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html
|
|
2964
2964
|
:cloudformationResource: AWS::SageMaker::DataQualityJobDefinition
|
|
@@ -4382,7 +4382,7 @@ class CfnDataQualityJobDefinition(
|
|
|
4382
4382
|
'''The output configuration for monitoring jobs.
|
|
4383
4383
|
|
|
4384
4384
|
:param monitoring_outputs: Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
|
|
4385
|
-
:param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
4385
|
+
:param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
4386
4386
|
|
|
4387
4387
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringoutputconfig.html
|
|
4388
4388
|
:exampleMetadata: fixture=_generated
|
|
@@ -4434,7 +4434,7 @@ class CfnDataQualityJobDefinition(
|
|
|
4434
4434
|
|
|
4435
4435
|
@builtins.property
|
|
4436
4436
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
4437
|
-
'''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
4437
|
+
'''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
4438
4438
|
|
|
4439
4439
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-dataqualityjobdefinition-monitoringoutputconfig-kmskeyid
|
|
4440
4440
|
'''
|
|
@@ -6055,21 +6055,21 @@ class CfnDomain(
|
|
|
6055
6055
|
|
|
6056
6056
|
When a domain is created, an EFS volume is created for use by all of the users within the domain. Each user receives a private home directory within the EFS volume for notebooks, Git repositories, and data files.
|
|
6057
6057
|
|
|
6058
|
-
SageMaker uses the AWS Key Management Service ( AWS KMS) to encrypt the EFS volume attached to the domain with an AWS managed key by default. For more control, you can specify a customer managed key. For more information, see `Protect Data at Rest Using Encryption <https://docs.aws.amazon.com/sagemaker/latest/dg/encryption-at-rest.html>`_ .
|
|
6058
|
+
SageMaker AI uses the AWS Key Management Service ( AWS KMS) to encrypt the EFS volume attached to the domain with an AWS managed key by default. For more control, you can specify a customer managed key. For more information, see `Protect Data at Rest Using Encryption <https://docs.aws.amazon.com/sagemaker/latest/dg/encryption-at-rest.html>`_ .
|
|
6059
6059
|
|
|
6060
6060
|
*VPC configuration*
|
|
6061
6061
|
|
|
6062
6062
|
All traffic between the domain and the Amazon EFS volume is through the specified VPC and subnets. For other traffic, you can specify the ``AppNetworkAccessType`` parameter. ``AppNetworkAccessType`` corresponds to the network access type that you choose when you onboard to the domain. The following options are available:
|
|
6063
6063
|
|
|
6064
|
-
- ``PublicInternetOnly`` - Non-EFS traffic goes through a VPC managed by Amazon SageMaker, which allows internet access. This is the default value.
|
|
6064
|
+
- ``PublicInternetOnly`` - Non-EFS traffic goes through a VPC managed by Amazon SageMaker AI, which allows internet access. This is the default value.
|
|
6065
6065
|
- ``VpcOnly`` - All traffic is through the specified VPC and subnets. Internet access is disabled by default. To allow internet access, you must specify a NAT gateway.
|
|
6066
6066
|
|
|
6067
|
-
When internet access is disabled, you won't be able to run a Amazon SageMaker Studio notebook or to train or host models unless your VPC has an interface endpoint to the SageMaker API and runtime or a NAT gateway and your security groups allow outbound connections.
|
|
6067
|
+
When internet access is disabled, you won't be able to run a Amazon SageMaker AI Studio notebook or to train or host models unless your VPC has an interface endpoint to the SageMaker AI API and runtime or a NAT gateway and your security groups allow outbound connections.
|
|
6068
6068
|
.. epigraph::
|
|
6069
6069
|
|
|
6070
|
-
NFS traffic over TCP on port 2049 needs to be allowed in both inbound and outbound rules in order to launch a Amazon SageMaker Studio app successfully.
|
|
6070
|
+
NFS traffic over TCP on port 2049 needs to be allowed in both inbound and outbound rules in order to launch a Amazon SageMaker AI Studio app successfully.
|
|
6071
6071
|
|
|
6072
|
-
For more information, see `Connect Amazon SageMaker Studio Notebooks to Resources in a VPC <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-notebooks-and-internet-access.html>`_ .
|
|
6072
|
+
For more information, see `Connect Amazon SageMaker AI Studio Notebooks to Resources in a VPC <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-notebooks-and-internet-access.html>`_ .
|
|
6073
6073
|
|
|
6074
6074
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html
|
|
6075
6075
|
:cloudformationResource: AWS::SageMaker::Domain
|
|
@@ -6115,6 +6115,12 @@ class CfnDomain(
|
|
|
6115
6115
|
efs_file_system_config=sagemaker.CfnDomain.EFSFileSystemConfigProperty(
|
|
6116
6116
|
file_system_id="fileSystemId",
|
|
6117
6117
|
|
|
6118
|
+
# the properties below are optional
|
|
6119
|
+
file_system_path="fileSystemPath"
|
|
6120
|
+
),
|
|
6121
|
+
f_sx_lustre_file_system_config=sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty(
|
|
6122
|
+
file_system_id="fileSystemId",
|
|
6123
|
+
|
|
6118
6124
|
# the properties below are optional
|
|
6119
6125
|
file_system_path="fileSystemPath"
|
|
6120
6126
|
)
|
|
@@ -6228,6 +6234,12 @@ class CfnDomain(
|
|
|
6228
6234
|
efs_file_system_config=sagemaker.CfnDomain.EFSFileSystemConfigProperty(
|
|
6229
6235
|
file_system_id="fileSystemId",
|
|
6230
6236
|
|
|
6237
|
+
# the properties below are optional
|
|
6238
|
+
file_system_path="fileSystemPath"
|
|
6239
|
+
),
|
|
6240
|
+
f_sx_lustre_file_system_config=sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty(
|
|
6241
|
+
file_system_id="fileSystemId",
|
|
6242
|
+
|
|
6231
6243
|
# the properties below are optional
|
|
6232
6244
|
file_system_path="fileSystemPath"
|
|
6233
6245
|
)
|
|
@@ -6352,7 +6364,7 @@ class CfnDomain(
|
|
|
6352
6364
|
:param domain_name: The domain name.
|
|
6353
6365
|
:param subnet_ids: The VPC subnets that Studio uses for communication. *Length Constraints* : Maximum length of 32. *Array members* : Minimum number of 1 item. Maximum number of 16 items. *Pattern* : ``[-0-9a-zA-Z]+``
|
|
6354
6366
|
:param vpc_id: The ID of the Amazon Virtual Private Cloud (Amazon VPC) that Studio uses for communication. *Length Constraints* : Maximum length of 32. *Pattern* : ``[-0-9a-zA-Z]+``
|
|
6355
|
-
:param app_network_access_type: Specifies the VPC used for non-EFS traffic. The default value is ``PublicInternetOnly`` . - ``PublicInternetOnly`` - Non-EFS traffic is through a VPC managed by Amazon SageMaker , which allows direct internet access - ``VpcOnly`` - All Studio traffic is through the specified VPC and subnets *Valid Values* : ``PublicInternetOnly | VpcOnly``
|
|
6367
|
+
:param app_network_access_type: Specifies the VPC used for non-EFS traffic. The default value is ``PublicInternetOnly`` . - ``PublicInternetOnly`` - Non-EFS traffic is through a VPC managed by Amazon SageMaker AI , which allows direct internet access - ``VpcOnly`` - All Studio traffic is through the specified VPC and subnets *Valid Values* : ``PublicInternetOnly | VpcOnly``
|
|
6356
6368
|
:param app_security_group_management: The entity that creates and manages the required security groups for inter-app communication in ``VpcOnly`` mode. Required when ``CreateDomain.AppNetworkAccessType`` is ``VpcOnly`` and ``DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn`` is provided. If setting up the domain for use with RStudio, this value must be set to ``Service`` . *Allowed Values* : ``Service`` | ``Customer``
|
|
6357
6369
|
:param default_space_settings: The default settings for shared spaces that users create in the domain. SageMaker applies these settings only to shared spaces. It doesn't apply them to private spaces.
|
|
6358
6370
|
:param domain_settings: A collection of settings that apply to the ``SageMaker Domain`` . These settings are specified through the ``CreateDomain`` API call.
|
|
@@ -6864,7 +6876,7 @@ class CfnDomain(
|
|
|
6864
6876
|
)
|
|
6865
6877
|
class CodeRepositoryProperty:
|
|
6866
6878
|
def __init__(self, *, repository_url: builtins.str) -> None:
|
|
6867
|
-
'''A Git repository that SageMaker automatically displays to users for cloning in the JupyterServer application.
|
|
6879
|
+
'''A Git repository that SageMaker AI automatically displays to users for cloning in the JupyterServer application.
|
|
6868
6880
|
|
|
6869
6881
|
:param repository_url: The URL of the Git repository.
|
|
6870
6882
|
|
|
@@ -6912,19 +6924,24 @@ class CfnDomain(
|
|
|
6912
6924
|
@jsii.data_type(
|
|
6913
6925
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.CustomFileSystemConfigProperty",
|
|
6914
6926
|
jsii_struct_bases=[],
|
|
6915
|
-
name_mapping={
|
|
6927
|
+
name_mapping={
|
|
6928
|
+
"efs_file_system_config": "efsFileSystemConfig",
|
|
6929
|
+
"f_sx_lustre_file_system_config": "fSxLustreFileSystemConfig",
|
|
6930
|
+
},
|
|
6916
6931
|
)
|
|
6917
6932
|
class CustomFileSystemConfigProperty:
|
|
6918
6933
|
def __init__(
|
|
6919
6934
|
self,
|
|
6920
6935
|
*,
|
|
6921
6936
|
efs_file_system_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.EFSFileSystemConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6937
|
+
f_sx_lustre_file_system_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.FSxLustreFileSystemConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6922
6938
|
) -> None:
|
|
6923
|
-
'''The settings for assigning a custom file system to a user profile or space for an Amazon SageMaker Domain.
|
|
6939
|
+
'''The settings for assigning a custom file system to a user profile or space for an Amazon SageMaker AI Domain.
|
|
6924
6940
|
|
|
6925
|
-
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
6941
|
+
Permitted users can access this file system in Amazon SageMaker AI Studio.
|
|
6926
6942
|
|
|
6927
6943
|
:param efs_file_system_config: The settings for a custom Amazon EFS file system.
|
|
6944
|
+
:param f_sx_lustre_file_system_config: The settings for a custom Amazon FSx for Lustre file system.
|
|
6928
6945
|
|
|
6929
6946
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-customfilesystemconfig.html
|
|
6930
6947
|
:exampleMetadata: fixture=_generated
|
|
@@ -6939,6 +6956,12 @@ class CfnDomain(
|
|
|
6939
6956
|
efs_file_system_config=sagemaker.CfnDomain.EFSFileSystemConfigProperty(
|
|
6940
6957
|
file_system_id="fileSystemId",
|
|
6941
6958
|
|
|
6959
|
+
# the properties below are optional
|
|
6960
|
+
file_system_path="fileSystemPath"
|
|
6961
|
+
),
|
|
6962
|
+
f_sx_lustre_file_system_config=sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty(
|
|
6963
|
+
file_system_id="fileSystemId",
|
|
6964
|
+
|
|
6942
6965
|
# the properties below are optional
|
|
6943
6966
|
file_system_path="fileSystemPath"
|
|
6944
6967
|
)
|
|
@@ -6947,9 +6970,12 @@ class CfnDomain(
|
|
|
6947
6970
|
if __debug__:
|
|
6948
6971
|
type_hints = typing.get_type_hints(_typecheckingstub__acb2194c11b5367f9afdacac546d8288c9357d3ca5f49b7d828264eb239b24c8)
|
|
6949
6972
|
check_type(argname="argument efs_file_system_config", value=efs_file_system_config, expected_type=type_hints["efs_file_system_config"])
|
|
6973
|
+
check_type(argname="argument f_sx_lustre_file_system_config", value=f_sx_lustre_file_system_config, expected_type=type_hints["f_sx_lustre_file_system_config"])
|
|
6950
6974
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6951
6975
|
if efs_file_system_config is not None:
|
|
6952
6976
|
self._values["efs_file_system_config"] = efs_file_system_config
|
|
6977
|
+
if f_sx_lustre_file_system_config is not None:
|
|
6978
|
+
self._values["f_sx_lustre_file_system_config"] = f_sx_lustre_file_system_config
|
|
6953
6979
|
|
|
6954
6980
|
@builtins.property
|
|
6955
6981
|
def efs_file_system_config(
|
|
@@ -6962,6 +6988,17 @@ class CfnDomain(
|
|
|
6962
6988
|
result = self._values.get("efs_file_system_config")
|
|
6963
6989
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.EFSFileSystemConfigProperty"]], result)
|
|
6964
6990
|
|
|
6991
|
+
@builtins.property
|
|
6992
|
+
def f_sx_lustre_file_system_config(
|
|
6993
|
+
self,
|
|
6994
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.FSxLustreFileSystemConfigProperty"]]:
|
|
6995
|
+
'''The settings for a custom Amazon FSx for Lustre file system.
|
|
6996
|
+
|
|
6997
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-customfilesystemconfig.html#cfn-sagemaker-domain-customfilesystemconfig-fsxlustrefilesystemconfig
|
|
6998
|
+
'''
|
|
6999
|
+
result = self._values.get("f_sx_lustre_file_system_config")
|
|
7000
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.FSxLustreFileSystemConfigProperty"]], result)
|
|
7001
|
+
|
|
6965
7002
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6966
7003
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6967
7004
|
|
|
@@ -6990,9 +7027,9 @@ class CfnDomain(
|
|
|
6990
7027
|
image_name: builtins.str,
|
|
6991
7028
|
image_version_number: typing.Optional[jsii.Number] = None,
|
|
6992
7029
|
) -> None:
|
|
6993
|
-
'''A custom SageMaker image.
|
|
7030
|
+
'''A custom SageMaker AI image.
|
|
6994
7031
|
|
|
6995
|
-
For more information, see `Bring your own SageMaker image <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html>`_ .
|
|
7032
|
+
For more information, see `Bring your own SageMaker AI image <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html>`_ .
|
|
6996
7033
|
|
|
6997
7034
|
:param app_image_config_name: The name of the AppImageConfig.
|
|
6998
7035
|
:param image_name: The name of the CustomImage. Must be unique to your account.
|
|
@@ -7241,7 +7278,7 @@ class CfnDomain(
|
|
|
7241
7278
|
SageMaker applies these settings only to shared spaces. It doesn't apply them to private spaces.
|
|
7242
7279
|
|
|
7243
7280
|
:param execution_role: The ARN of the execution role for the space.
|
|
7244
|
-
:param custom_file_system_configs: The settings for assigning a custom file system to a domain. Permitted users can access this file system in Amazon SageMaker Studio.
|
|
7281
|
+
:param custom_file_system_configs: The settings for assigning a custom file system to a domain. Permitted users can access this file system in Amazon SageMaker AI Studio.
|
|
7245
7282
|
:param custom_posix_user_config:
|
|
7246
7283
|
:param jupyter_lab_app_settings: The JupyterLab app settings.
|
|
7247
7284
|
:param jupyter_server_app_settings: The JupyterServer app settings.
|
|
@@ -7266,6 +7303,12 @@ class CfnDomain(
|
|
|
7266
7303
|
efs_file_system_config=sagemaker.CfnDomain.EFSFileSystemConfigProperty(
|
|
7267
7304
|
file_system_id="fileSystemId",
|
|
7268
7305
|
|
|
7306
|
+
# the properties below are optional
|
|
7307
|
+
file_system_path="fileSystemPath"
|
|
7308
|
+
),
|
|
7309
|
+
f_sx_lustre_file_system_config=sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty(
|
|
7310
|
+
file_system_id="fileSystemId",
|
|
7311
|
+
|
|
7269
7312
|
# the properties below are optional
|
|
7270
7313
|
file_system_path="fileSystemPath"
|
|
7271
7314
|
)
|
|
@@ -7379,7 +7422,7 @@ class CfnDomain(
|
|
|
7379
7422
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.CustomFileSystemConfigProperty"]]]]:
|
|
7380
7423
|
'''The settings for assigning a custom file system to a domain.
|
|
7381
7424
|
|
|
7382
|
-
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
7425
|
+
Permitted users can access this file system in Amazon SageMaker AI Studio.
|
|
7383
7426
|
|
|
7384
7427
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html#cfn-sagemaker-domain-defaultspacesettings-customfilesystemconfigs
|
|
7385
7428
|
'''
|
|
@@ -7619,7 +7662,7 @@ class CfnDomain(
|
|
|
7619
7662
|
These settings are specified through the ``CreateDomain`` API call.
|
|
7620
7663
|
|
|
7621
7664
|
:param docker_settings: A collection of settings that configure the domain's Docker interaction.
|
|
7622
|
-
:param execution_role_identity_config: The configuration for attaching a SageMaker user profile name to the execution role as a `sts:SourceIdentity key <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html>`_ .
|
|
7665
|
+
:param execution_role_identity_config: The configuration for attaching a SageMaker AI user profile name to the execution role as a `sts:SourceIdentity key <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html>`_ .
|
|
7623
7666
|
:param r_studio_server_pro_domain_settings: A collection of settings that configure the ``RStudioServerPro`` Domain-level app.
|
|
7624
7667
|
:param security_group_ids: The security groups for the Amazon Virtual Private Cloud that the ``Domain`` uses for communication between Domain-level apps and user apps.
|
|
7625
7668
|
|
|
@@ -7683,7 +7726,7 @@ class CfnDomain(
|
|
|
7683
7726
|
|
|
7684
7727
|
@builtins.property
|
|
7685
7728
|
def execution_role_identity_config(self) -> typing.Optional[builtins.str]:
|
|
7686
|
-
'''The configuration for attaching a SageMaker user profile name to the execution role as a `sts:SourceIdentity key <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html>`_ .
|
|
7729
|
+
'''The configuration for attaching a SageMaker AI user profile name to the execution role as a `sts:SourceIdentity key <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html>`_ .
|
|
7687
7730
|
|
|
7688
7731
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-domainsettings.html#cfn-sagemaker-domain-domainsettings-executionroleidentityconfig
|
|
7689
7732
|
'''
|
|
@@ -7736,10 +7779,10 @@ class CfnDomain(
|
|
|
7736
7779
|
file_system_id: builtins.str,
|
|
7737
7780
|
file_system_path: typing.Optional[builtins.str] = None,
|
|
7738
7781
|
) -> None:
|
|
7739
|
-
'''The settings for assigning a custom Amazon EFS file system to a user profile or space for an Amazon SageMaker Domain.
|
|
7782
|
+
'''The settings for assigning a custom Amazon EFS file system to a user profile or space for an Amazon SageMaker AI Domain.
|
|
7740
7783
|
|
|
7741
7784
|
:param file_system_id: The ID of your Amazon EFS file system.
|
|
7742
|
-
:param file_system_path: The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below.
|
|
7785
|
+
:param file_system_path: The path to the file system directory that is accessible in Amazon SageMaker AI Studio. Permitted users can access only this directory and below.
|
|
7743
7786
|
|
|
7744
7787
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-efsfilesystemconfig.html
|
|
7745
7788
|
:exampleMetadata: fixture=_generated
|
|
@@ -7779,7 +7822,7 @@ class CfnDomain(
|
|
|
7779
7822
|
|
|
7780
7823
|
@builtins.property
|
|
7781
7824
|
def file_system_path(self) -> typing.Optional[builtins.str]:
|
|
7782
|
-
'''The path to the file system directory that is accessible in Amazon SageMaker Studio.
|
|
7825
|
+
'''The path to the file system directory that is accessible in Amazon SageMaker AI Studio.
|
|
7783
7826
|
|
|
7784
7827
|
Permitted users can access only this directory and below.
|
|
7785
7828
|
|
|
@@ -7799,6 +7842,84 @@ class CfnDomain(
|
|
|
7799
7842
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
7800
7843
|
)
|
|
7801
7844
|
|
|
7845
|
+
@jsii.data_type(
|
|
7846
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty",
|
|
7847
|
+
jsii_struct_bases=[],
|
|
7848
|
+
name_mapping={
|
|
7849
|
+
"file_system_id": "fileSystemId",
|
|
7850
|
+
"file_system_path": "fileSystemPath",
|
|
7851
|
+
},
|
|
7852
|
+
)
|
|
7853
|
+
class FSxLustreFileSystemConfigProperty:
|
|
7854
|
+
def __init__(
|
|
7855
|
+
self,
|
|
7856
|
+
*,
|
|
7857
|
+
file_system_id: builtins.str,
|
|
7858
|
+
file_system_path: typing.Optional[builtins.str] = None,
|
|
7859
|
+
) -> None:
|
|
7860
|
+
'''The settings for assigning a custom Amazon FSx for Lustre file system to a user profile or space for an Amazon SageMaker Domain.
|
|
7861
|
+
|
|
7862
|
+
:param file_system_id: The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.
|
|
7863
|
+
:param file_system_path: The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below.
|
|
7864
|
+
|
|
7865
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-fsxlustrefilesystemconfig.html
|
|
7866
|
+
:exampleMetadata: fixture=_generated
|
|
7867
|
+
|
|
7868
|
+
Example::
|
|
7869
|
+
|
|
7870
|
+
# The code below shows an example of how to instantiate this type.
|
|
7871
|
+
# The values are placeholders you should change.
|
|
7872
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
7873
|
+
|
|
7874
|
+
f_sx_lustre_file_system_config_property = sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty(
|
|
7875
|
+
file_system_id="fileSystemId",
|
|
7876
|
+
|
|
7877
|
+
# the properties below are optional
|
|
7878
|
+
file_system_path="fileSystemPath"
|
|
7879
|
+
)
|
|
7880
|
+
'''
|
|
7881
|
+
if __debug__:
|
|
7882
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d8a1d62d2d0cebecfadffff928c7dca834df99c045099ba63d00955c27bdcc34)
|
|
7883
|
+
check_type(argname="argument file_system_id", value=file_system_id, expected_type=type_hints["file_system_id"])
|
|
7884
|
+
check_type(argname="argument file_system_path", value=file_system_path, expected_type=type_hints["file_system_path"])
|
|
7885
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
7886
|
+
"file_system_id": file_system_id,
|
|
7887
|
+
}
|
|
7888
|
+
if file_system_path is not None:
|
|
7889
|
+
self._values["file_system_path"] = file_system_path
|
|
7890
|
+
|
|
7891
|
+
@builtins.property
|
|
7892
|
+
def file_system_id(self) -> builtins.str:
|
|
7893
|
+
'''The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.
|
|
7894
|
+
|
|
7895
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-fsxlustrefilesystemconfig.html#cfn-sagemaker-domain-fsxlustrefilesystemconfig-filesystemid
|
|
7896
|
+
'''
|
|
7897
|
+
result = self._values.get("file_system_id")
|
|
7898
|
+
assert result is not None, "Required property 'file_system_id' is missing"
|
|
7899
|
+
return typing.cast(builtins.str, result)
|
|
7900
|
+
|
|
7901
|
+
@builtins.property
|
|
7902
|
+
def file_system_path(self) -> typing.Optional[builtins.str]:
|
|
7903
|
+
'''The path to the file system directory that is accessible in Amazon SageMaker Studio.
|
|
7904
|
+
|
|
7905
|
+
Permitted users can access only this directory and below.
|
|
7906
|
+
|
|
7907
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-fsxlustrefilesystemconfig.html#cfn-sagemaker-domain-fsxlustrefilesystemconfig-filesystempath
|
|
7908
|
+
'''
|
|
7909
|
+
result = self._values.get("file_system_path")
|
|
7910
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7911
|
+
|
|
7912
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7913
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7914
|
+
|
|
7915
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7916
|
+
return not (rhs == self)
|
|
7917
|
+
|
|
7918
|
+
def __repr__(self) -> str:
|
|
7919
|
+
return "FSxLustreFileSystemConfigProperty(%s)" % ", ".join(
|
|
7920
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7921
|
+
)
|
|
7922
|
+
|
|
7802
7923
|
@jsii.data_type(
|
|
7803
7924
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.IdleSettingsProperty",
|
|
7804
7925
|
jsii_struct_bases=[],
|
|
@@ -8159,8 +8280,8 @@ class CfnDomain(
|
|
|
8159
8280
|
) -> None:
|
|
8160
8281
|
'''The KernelGateway app settings.
|
|
8161
8282
|
|
|
8162
|
-
:param custom_images: A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
|
8163
|
-
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app. .. epigraph:: The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
8283
|
+
:param custom_images: A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
8284
|
+
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app. .. epigraph:: The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
8164
8285
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain. .. epigraph:: To remove a Lifecycle Config, you must set ``LifecycleConfigArns`` to an empty list.
|
|
8165
8286
|
|
|
8166
8287
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-kernelgatewayappsettings.html
|
|
@@ -8206,7 +8327,7 @@ class CfnDomain(
|
|
|
8206
8327
|
def custom_images(
|
|
8207
8328
|
self,
|
|
8208
8329
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.CustomImageProperty"]]]]:
|
|
8209
|
-
'''A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
|
8330
|
+
'''A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
8210
8331
|
|
|
8211
8332
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-kernelgatewayappsettings.html#cfn-sagemaker-domain-kernelgatewayappsettings-customimages
|
|
8212
8333
|
'''
|
|
@@ -8217,11 +8338,11 @@ class CfnDomain(
|
|
|
8217
8338
|
def default_resource_spec(
|
|
8218
8339
|
self,
|
|
8219
8340
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.ResourceSpecProperty"]]:
|
|
8220
|
-
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
|
|
8341
|
+
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.
|
|
8221
8342
|
|
|
8222
8343
|
.. epigraph::
|
|
8223
8344
|
|
|
8224
|
-
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
8345
|
+
The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
8225
8346
|
|
|
8226
8347
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-kernelgatewayappsettings.html#cfn-sagemaker-domain-kernelgatewayappsettings-defaultresourcespec
|
|
8227
8348
|
'''
|
|
@@ -8269,7 +8390,7 @@ class CfnDomain(
|
|
|
8269
8390
|
) -> None:
|
|
8270
8391
|
'''A collection of settings that apply to an ``RSessionGateway`` app.
|
|
8271
8392
|
|
|
8272
|
-
:param custom_images: A list of custom SageMaker images that are configured to run as a RSession app.
|
|
8393
|
+
:param custom_images: A list of custom SageMaker AI images that are configured to run as a RSession app.
|
|
8273
8394
|
:param default_resource_spec: Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
8274
8395
|
|
|
8275
8396
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-rsessionappsettings.html
|
|
@@ -8311,7 +8432,7 @@ class CfnDomain(
|
|
|
8311
8432
|
def custom_images(
|
|
8312
8433
|
self,
|
|
8313
8434
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.CustomImageProperty"]]]]:
|
|
8314
|
-
'''A list of custom SageMaker images that are configured to run as a RSession app.
|
|
8435
|
+
'''A list of custom SageMaker AI images that are configured to run as a RSession app.
|
|
8315
8436
|
|
|
8316
8437
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-rsessionappsettings.html#cfn-sagemaker-domain-rsessionappsettings-customimages
|
|
8317
8438
|
'''
|
|
@@ -8546,11 +8667,11 @@ class CfnDomain(
|
|
|
8546
8667
|
sage_maker_image_arn: typing.Optional[builtins.str] = None,
|
|
8547
8668
|
sage_maker_image_version_arn: typing.Optional[builtins.str] = None,
|
|
8548
8669
|
) -> None:
|
|
8549
|
-
'''Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
8670
|
+
'''Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.
|
|
8550
8671
|
|
|
8551
8672
|
:param instance_type: The instance type that the image version runs on. .. epigraph:: *JupyterServer apps* only support the ``system`` value. For *KernelGateway apps* , the ``system`` value is translated to ``ml.t3.medium`` . KernelGateway apps also support all other values for available instance types.
|
|
8552
8673
|
:param lifecycle_config_arn: The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
|
|
8553
|
-
:param sage_maker_image_arn: The ARN of the SageMaker image that the image version belongs to.
|
|
8674
|
+
:param sage_maker_image_arn: The ARN of the SageMaker AI image that the image version belongs to.
|
|
8554
8675
|
:param sage_maker_image_version_arn: The ARN of the image version created on the instance.
|
|
8555
8676
|
|
|
8556
8677
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-resourcespec.html
|
|
@@ -8611,7 +8732,7 @@ class CfnDomain(
|
|
|
8611
8732
|
|
|
8612
8733
|
@builtins.property
|
|
8613
8734
|
def sage_maker_image_arn(self) -> typing.Optional[builtins.str]:
|
|
8614
|
-
'''The ARN of the SageMaker image that the image version belongs to.
|
|
8735
|
+
'''The ARN of the SageMaker AI image that the image version belongs to.
|
|
8615
8736
|
|
|
8616
8737
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-resourcespec.html#cfn-sagemaker-domain-resourcespec-sagemakerimagearn
|
|
8617
8738
|
'''
|
|
@@ -8855,7 +8976,7 @@ class CfnDomain(
|
|
|
8855
8976
|
|
|
8856
8977
|
: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.
|
|
8857
8978
|
: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.
|
|
8858
|
-
: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 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.
|
|
8979
|
+
: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.
|
|
8859
8980
|
: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.
|
|
8860
8981
|
:param default_landing_uri: The default experience that the user is directed to when accessing the domain. The supported values are:. - ``studio::`` : Indicates that Studio is the default experience. This value can only be passed if ``StudioWebPortal`` is set to ``ENABLED`` . - ``app:JupyterServer:`` : Indicates that Studio Classic is the default experience.
|
|
8861
8982
|
:param jupyter_lab_app_settings: The settings for the JupyterLab application. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
@@ -8863,8 +8984,8 @@ class CfnDomain(
|
|
|
8863
8984
|
:param kernel_gateway_app_settings: The kernel gateway app settings.
|
|
8864
8985
|
:param r_session_app_settings: A collection of settings that configure the ``RSessionGateway`` app.
|
|
8865
8986
|
:param r_studio_server_pro_app_settings: A collection of settings that configure user interaction with the ``RStudioServerPro`` app.
|
|
8866
|
-
:param security_groups: The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication. Optional when the ``CreateDomain.AppNetworkAccessType`` parameter is set to ``PublicInternetOnly`` . Required when the ``CreateDomain.AppNetworkAccessType`` parameter is set to ``VpcOnly`` , unless specified as part of the ``DefaultUserSettings`` for the domain. Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
8867
|
-
:param sharing_settings: Specifies options for sharing Amazon SageMaker Studio notebooks.
|
|
8987
|
+
:param security_groups: The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication. Optional when the ``CreateDomain.AppNetworkAccessType`` parameter is set to ``PublicInternetOnly`` . Required when the ``CreateDomain.AppNetworkAccessType`` parameter is set to ``VpcOnly`` , unless specified as part of the ``DefaultUserSettings`` for the domain. Amazon SageMaker AI adds a security group to allow NFS traffic from Amazon SageMaker AI Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
8988
|
+
:param sharing_settings: Specifies options for sharing Amazon SageMaker AI Studio notebooks.
|
|
8868
8989
|
:param space_storage_settings: The storage settings for a space. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
8869
8990
|
:param studio_web_portal: Whether the user can access Studio. If this value is set to ``DISABLED`` , the user cannot access Studio, even if that is the default experience for the domain.
|
|
8870
8991
|
:param studio_web_portal_settings: Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.
|
|
@@ -8910,6 +9031,12 @@ class CfnDomain(
|
|
|
8910
9031
|
efs_file_system_config=sagemaker.CfnDomain.EFSFileSystemConfigProperty(
|
|
8911
9032
|
file_system_id="fileSystemId",
|
|
8912
9033
|
|
|
9034
|
+
# the properties below are optional
|
|
9035
|
+
file_system_path="fileSystemPath"
|
|
9036
|
+
),
|
|
9037
|
+
f_sx_lustre_file_system_config=sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty(
|
|
9038
|
+
file_system_id="fileSystemId",
|
|
9039
|
+
|
|
8913
9040
|
# the properties below are optional
|
|
8914
9041
|
file_system_path="fileSystemPath"
|
|
8915
9042
|
)
|
|
@@ -9089,7 +9216,7 @@ class CfnDomain(
|
|
|
9089
9216
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.CustomFileSystemConfigProperty"]]]]:
|
|
9090
9217
|
'''The settings for assigning a custom file system to a user profile.
|
|
9091
9218
|
|
|
9092
|
-
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
9219
|
+
Permitted users can access this file system in Amazon SageMaker AI Studio.
|
|
9093
9220
|
|
|
9094
9221
|
SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
9095
9222
|
|
|
@@ -9188,7 +9315,7 @@ class CfnDomain(
|
|
|
9188
9315
|
|
|
9189
9316
|
Required when the ``CreateDomain.AppNetworkAccessType`` parameter is set to ``VpcOnly`` , unless specified as part of the ``DefaultUserSettings`` for the domain.
|
|
9190
9317
|
|
|
9191
|
-
Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
|
|
9318
|
+
Amazon SageMaker AI adds a security group to allow NFS traffic from Amazon SageMaker AI Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
|
|
9192
9319
|
|
|
9193
9320
|
SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
9194
9321
|
|
|
@@ -9201,7 +9328,7 @@ class CfnDomain(
|
|
|
9201
9328
|
def sharing_settings(
|
|
9202
9329
|
self,
|
|
9203
9330
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.SharingSettingsProperty"]]:
|
|
9204
|
-
'''Specifies options for sharing Amazon SageMaker Studio notebooks.
|
|
9331
|
+
'''Specifies options for sharing Amazon SageMaker AI Studio notebooks.
|
|
9205
9332
|
|
|
9206
9333
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-sharingsettings
|
|
9207
9334
|
'''
|
|
@@ -9299,7 +9426,7 @@ class CfnDomainProps:
|
|
|
9299
9426
|
:param domain_name: The domain name.
|
|
9300
9427
|
:param subnet_ids: The VPC subnets that Studio uses for communication. *Length Constraints* : Maximum length of 32. *Array members* : Minimum number of 1 item. Maximum number of 16 items. *Pattern* : ``[-0-9a-zA-Z]+``
|
|
9301
9428
|
:param vpc_id: The ID of the Amazon Virtual Private Cloud (Amazon VPC) that Studio uses for communication. *Length Constraints* : Maximum length of 32. *Pattern* : ``[-0-9a-zA-Z]+``
|
|
9302
|
-
:param app_network_access_type: Specifies the VPC used for non-EFS traffic. The default value is ``PublicInternetOnly`` . - ``PublicInternetOnly`` - Non-EFS traffic is through a VPC managed by Amazon SageMaker , which allows direct internet access - ``VpcOnly`` - All Studio traffic is through the specified VPC and subnets *Valid Values* : ``PublicInternetOnly | VpcOnly``
|
|
9429
|
+
:param app_network_access_type: Specifies the VPC used for non-EFS traffic. The default value is ``PublicInternetOnly`` . - ``PublicInternetOnly`` - Non-EFS traffic is through a VPC managed by Amazon SageMaker AI , which allows direct internet access - ``VpcOnly`` - All Studio traffic is through the specified VPC and subnets *Valid Values* : ``PublicInternetOnly | VpcOnly``
|
|
9303
9430
|
:param app_security_group_management: The entity that creates and manages the required security groups for inter-app communication in ``VpcOnly`` mode. Required when ``CreateDomain.AppNetworkAccessType`` is ``VpcOnly`` and ``DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn`` is provided. If setting up the domain for use with RStudio, this value must be set to ``Service`` . *Allowed Values* : ``Service`` | ``Customer``
|
|
9304
9431
|
:param default_space_settings: The default settings for shared spaces that users create in the domain. SageMaker applies these settings only to shared spaces. It doesn't apply them to private spaces.
|
|
9305
9432
|
:param domain_settings: A collection of settings that apply to the ``SageMaker Domain`` . These settings are specified through the ``CreateDomain`` API call.
|
|
@@ -9350,6 +9477,12 @@ class CfnDomainProps:
|
|
|
9350
9477
|
efs_file_system_config=sagemaker.CfnDomain.EFSFileSystemConfigProperty(
|
|
9351
9478
|
file_system_id="fileSystemId",
|
|
9352
9479
|
|
|
9480
|
+
# the properties below are optional
|
|
9481
|
+
file_system_path="fileSystemPath"
|
|
9482
|
+
),
|
|
9483
|
+
f_sx_lustre_file_system_config=sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty(
|
|
9484
|
+
file_system_id="fileSystemId",
|
|
9485
|
+
|
|
9353
9486
|
# the properties below are optional
|
|
9354
9487
|
file_system_path="fileSystemPath"
|
|
9355
9488
|
)
|
|
@@ -9463,6 +9596,12 @@ class CfnDomainProps:
|
|
|
9463
9596
|
efs_file_system_config=sagemaker.CfnDomain.EFSFileSystemConfigProperty(
|
|
9464
9597
|
file_system_id="fileSystemId",
|
|
9465
9598
|
|
|
9599
|
+
# the properties below are optional
|
|
9600
|
+
file_system_path="fileSystemPath"
|
|
9601
|
+
),
|
|
9602
|
+
f_sx_lustre_file_system_config=sagemaker.CfnDomain.FSxLustreFileSystemConfigProperty(
|
|
9603
|
+
file_system_id="fileSystemId",
|
|
9604
|
+
|
|
9466
9605
|
# the properties below are optional
|
|
9467
9606
|
file_system_path="fileSystemPath"
|
|
9468
9607
|
)
|
|
@@ -9664,7 +9803,7 @@ class CfnDomainProps:
|
|
|
9664
9803
|
def app_network_access_type(self) -> typing.Optional[builtins.str]:
|
|
9665
9804
|
'''Specifies the VPC used for non-EFS traffic. The default value is ``PublicInternetOnly`` .
|
|
9666
9805
|
|
|
9667
|
-
- ``PublicInternetOnly`` - Non-EFS traffic is through a VPC managed by Amazon SageMaker , which allows direct internet access
|
|
9806
|
+
- ``PublicInternetOnly`` - Non-EFS traffic is through a VPC managed by Amazon SageMaker AI , which allows direct internet access
|
|
9668
9807
|
- ``VpcOnly`` - All Studio traffic is through the specified VPC and subnets
|
|
9669
9808
|
|
|
9670
9809
|
*Valid Values* : ``PublicInternetOnly | VpcOnly``
|
|
@@ -15175,9 +15314,9 @@ class CfnImage(
|
|
|
15175
15314
|
metaclass=jsii.JSIIMeta,
|
|
15176
15315
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnImage",
|
|
15177
15316
|
):
|
|
15178
|
-
'''Creates a custom SageMaker image.
|
|
15317
|
+
'''Creates a custom SageMaker AI image.
|
|
15179
15318
|
|
|
15180
|
-
A SageMaker image is a set of image versions. Each image version represents a container image stored in Amazon ECR. For more information, see `Bring your own SageMaker image <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html>`_ .
|
|
15319
|
+
A SageMaker AI image is a set of image versions. Each image version represents a container image stored in Amazon ECR. For more information, see `Bring your own SageMaker AI image <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html>`_ .
|
|
15181
15320
|
|
|
15182
15321
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-image.html
|
|
15183
15322
|
:cloudformationResource: AWS::SageMaker::Image
|
|
@@ -16058,7 +16197,7 @@ class CfnInferenceComponent(
|
|
|
16058
16197
|
metaclass=jsii.JSIIMeta,
|
|
16059
16198
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent",
|
|
16060
16199
|
):
|
|
16061
|
-
'''Creates an inference component, which is a SageMaker hosting object that you can use to deploy a model to an endpoint.
|
|
16200
|
+
'''Creates an inference component, which is a SageMaker AI hosting object that you can use to deploy a model to an endpoint.
|
|
16062
16201
|
|
|
16063
16202
|
In the inference component settings, you specify the model, the endpoint, and how the model utilizes the resources that the endpoint hosts. You can optimize resource utilization by tailoring how the required CPU cores, accelerators, and memory are allocated. You can deploy multiple inference components to an endpoint, where each inference component contains one model and the resource utilization needs for that individual model. After you deploy an inference component, you can directly invoke the associated model when you use the InvokeEndpoint API action.
|
|
16064
16203
|
|
|
@@ -16807,7 +16946,7 @@ class CfnInferenceComponent(
|
|
|
16807
16946
|
:param base_inference_component_name: The name of an existing inference component that is to contain the inference component that you're creating with your request. Specify this parameter only if your request is meant to create an adapter inference component. An adapter inference component contains the path to an adapter model. The purpose of the adapter model is to tailor the inference output of a base foundation model, which is hosted by the base inference component. The adapter inference component uses the compute resources that you assigned to the base inference component. When you create an adapter inference component, use the ``Container`` parameter to specify the location of the adapter artifacts. In the parameter value, use the ``ArtifactUrl`` parameter of the ``InferenceComponentContainerSpecification`` data type. Before you can create an adapter inference component, you must have an existing inference component that contains the foundation model that you want to adapt.
|
|
16808
16947
|
:param compute_resource_requirements: The compute resources allocated to run the model, plus any adapter models, that you assign to the inference component. Omit this parameter if your request is meant to create an adapter inference component. An adapter inference component is loaded by a base inference component, and it uses the compute resources of the base inference component.
|
|
16809
16948
|
:param container: Defines a container that provides the runtime environment for a model that you deploy with an inference component.
|
|
16810
|
-
:param model_name: The name of an existing SageMaker model object in your account that you want to deploy with the inference component.
|
|
16949
|
+
:param model_name: The name of an existing SageMaker AI model object in your account that you want to deploy with the inference component.
|
|
16811
16950
|
:param startup_parameters: Settings that take effect while the model container starts up.
|
|
16812
16951
|
|
|
16813
16952
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentspecification.html
|
|
@@ -16906,7 +17045,7 @@ class CfnInferenceComponent(
|
|
|
16906
17045
|
|
|
16907
17046
|
@builtins.property
|
|
16908
17047
|
def model_name(self) -> typing.Optional[builtins.str]:
|
|
16909
|
-
'''The name of an existing SageMaker model object in your account that you want to deploy with the inference component.
|
|
17048
|
+
'''The name of an existing SageMaker AI model object in your account that you want to deploy with the inference component.
|
|
16910
17049
|
|
|
16911
17050
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentspecification.html#cfn-sagemaker-inferencecomponent-inferencecomponentspecification-modelname
|
|
16912
17051
|
'''
|
|
@@ -17668,10 +17807,10 @@ class CfnInferenceExperiment(
|
|
|
17668
17807
|
) -> None:
|
|
17669
17808
|
'''Configuration specifying how to treat different headers.
|
|
17670
17809
|
|
|
17671
|
-
If no headers are specified Amazon SageMaker will by default base64 encode when capturing the data.
|
|
17810
|
+
If no headers are specified Amazon SageMaker AI will by default base64 encode when capturing the data.
|
|
17672
17811
|
|
|
17673
|
-
:param csv_content_types: The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
|
|
17674
|
-
:param json_content_types: The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
|
|
17812
|
+
:param csv_content_types: The list of all content type headers that Amazon SageMaker AI will treat as CSV and capture accordingly.
|
|
17813
|
+
:param json_content_types: The list of all content type headers that SageMaker AI will treat as JSON and capture accordingly.
|
|
17675
17814
|
|
|
17676
17815
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-capturecontenttypeheader.html
|
|
17677
17816
|
:exampleMetadata: fixture=_generated
|
|
@@ -17699,7 +17838,7 @@ class CfnInferenceExperiment(
|
|
|
17699
17838
|
|
|
17700
17839
|
@builtins.property
|
|
17701
17840
|
def csv_content_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
17702
|
-
'''The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
|
|
17841
|
+
'''The list of all content type headers that Amazon SageMaker AI will treat as CSV and capture accordingly.
|
|
17703
17842
|
|
|
17704
17843
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-capturecontenttypeheader.html#cfn-sagemaker-inferenceexperiment-capturecontenttypeheader-csvcontenttypes
|
|
17705
17844
|
'''
|
|
@@ -17708,7 +17847,7 @@ class CfnInferenceExperiment(
|
|
|
17708
17847
|
|
|
17709
17848
|
@builtins.property
|
|
17710
17849
|
def json_content_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
17711
|
-
'''The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
|
|
17850
|
+
'''The list of all content type headers that SageMaker AI will treat as JSON and capture accordingly.
|
|
17712
17851
|
|
|
17713
17852
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-capturecontenttypeheader.html#cfn-sagemaker-inferenceexperiment-capturecontenttypeheader-jsoncontenttypes
|
|
17714
17853
|
'''
|
|
@@ -20196,7 +20335,7 @@ class CfnModel(
|
|
|
20196
20335
|
Your input bucket must be in the same AWS region as your training job.
|
|
20197
20336
|
|
|
20198
20337
|
:param compression_type:
|
|
20199
|
-
:param s3_data_type: If you choose ``S3Prefix`` , ``S3Uri`` identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. If you choose ``AugmentedManifestFile`` , S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
20338
|
+
:param s3_data_type: If you choose ``S3Prefix`` , ``S3Uri`` identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
20200
20339
|
:param s3_uri: Depending on the value specified for the ``S3DataType`` , identifies either a key name prefix or a manifest. For example: - A key name prefix might look like this: ``s3://bucketname/exampleprefix/`` - A manifest might look like this: ``s3://bucketname/example.manifest`` A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of ``S3Uri`` . Note that the prefix must be a valid non-empty ``S3Uri`` that precludes users from specifying a manifest whose individual ``S3Uri`` is sourced from different S3 buckets. The following code example shows a valid manifest format: ``[ {"prefix": "s3://customer_bucket/some/prefix/"},`` ``"relative/path/to/custdata-1",`` ``"relative/path/custdata-2",`` ``...`` ``"relative/path/custdata-N"`` ``]`` This JSON is equivalent to the following ``S3Uri`` list: ``s3://customer_bucket/some/prefix/relative/path/to/custdata-1`` ``s3://customer_bucket/some/prefix/relative/path/custdata-2`` ``...`` ``s3://customer_bucket/some/prefix/relative/path/custdata-N`` The complete set of ``S3Uri`` in this manifest is the input data for the channel for this data source. The object that each ``S3Uri`` points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf. Your input bucket must be located in same AWS region as your training job.
|
|
20201
20340
|
:param hub_access_config:
|
|
20202
20341
|
:param model_access_config:
|
|
@@ -20258,7 +20397,7 @@ class CfnModel(
|
|
|
20258
20397
|
|
|
20259
20398
|
If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training.
|
|
20260
20399
|
|
|
20261
|
-
If you choose ``AugmentedManifestFile`` , S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
20400
|
+
If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
20262
20401
|
|
|
20263
20402
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-s3datasource.html#cfn-sagemaker-model-s3datasource-s3datatype
|
|
20264
20403
|
'''
|
|
@@ -22036,7 +22175,7 @@ class CfnModelBiasJobDefinition(
|
|
|
22036
22175
|
'''The output configuration for monitoring jobs.
|
|
22037
22176
|
|
|
22038
22177
|
:param monitoring_outputs: Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
|
|
22039
|
-
:param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
22178
|
+
:param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
22040
22179
|
|
|
22041
22180
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutputconfig.html
|
|
22042
22181
|
:exampleMetadata: fixture=_generated
|
|
@@ -22088,7 +22227,7 @@ class CfnModelBiasJobDefinition(
|
|
|
22088
22227
|
|
|
22089
22228
|
@builtins.property
|
|
22090
22229
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
22091
|
-
'''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
22230
|
+
'''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
22092
22231
|
|
|
22093
22232
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelbiasjobdefinition-monitoringoutputconfig-kmskeyid
|
|
22094
22233
|
'''
|
|
@@ -24714,7 +24853,7 @@ class CfnModelCard(
|
|
|
24714
24853
|
:param model_artifact: The location of the model artifact.
|
|
24715
24854
|
:param model_creator: The creator of the model.
|
|
24716
24855
|
:param model_description: A description of the model.
|
|
24717
|
-
:param model_id: The SageMaker Model ARN or non- SageMaker Model ID.
|
|
24856
|
+
:param model_id: The SageMaker AI Model ARN or non- SageMaker AI Model ID.
|
|
24718
24857
|
:param model_name: The name of the model.
|
|
24719
24858
|
:param model_owner: The owner of the model.
|
|
24720
24859
|
:param model_version: The version of the model.
|
|
@@ -24827,7 +24966,7 @@ class CfnModelCard(
|
|
|
24827
24966
|
|
|
24828
24967
|
@builtins.property
|
|
24829
24968
|
def model_id(self) -> typing.Optional[builtins.str]:
|
|
24830
|
-
'''The SageMaker Model ARN or non- SageMaker Model ID.
|
|
24969
|
+
'''The SageMaker AI Model ARN or non- SageMaker AI Model ID.
|
|
24831
24970
|
|
|
24832
24971
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-modeloverview.html#cfn-sagemaker-modelcard-modeloverview-modelid
|
|
24833
24972
|
'''
|
|
@@ -25557,9 +25696,9 @@ class CfnModelCard(
|
|
|
25557
25696
|
*,
|
|
25558
25697
|
container_image: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
25559
25698
|
) -> None:
|
|
25560
|
-
'''SageMaker training image.
|
|
25699
|
+
'''SageMaker AI training image.
|
|
25561
25700
|
|
|
25562
|
-
:param container_image: SageMaker inference image URI.
|
|
25701
|
+
:param container_image: SageMaker AI inference image URI.
|
|
25563
25702
|
|
|
25564
25703
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingenvironment.html
|
|
25565
25704
|
:exampleMetadata: fixture=_generated
|
|
@@ -25583,7 +25722,7 @@ class CfnModelCard(
|
|
|
25583
25722
|
|
|
25584
25723
|
@builtins.property
|
|
25585
25724
|
def container_image(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
25586
|
-
'''SageMaker inference image URI.
|
|
25725
|
+
'''SageMaker AI inference image URI.
|
|
25587
25726
|
|
|
25588
25727
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingenvironment.html#cfn-sagemaker-modelcard-trainingenvironment-containerimage
|
|
25589
25728
|
'''
|
|
@@ -25695,10 +25834,10 @@ class CfnModelCard(
|
|
|
25695
25834
|
'''The overview of a training job.
|
|
25696
25835
|
|
|
25697
25836
|
:param hyper_parameters: The hyper parameters used in the training job.
|
|
25698
|
-
:param training_arn: The SageMaker training job Amazon Resource Name (ARN).
|
|
25837
|
+
:param training_arn: The SageMaker AI training job Amazon Resource Name (ARN).
|
|
25699
25838
|
:param training_datasets: The location of the datasets used to train the model.
|
|
25700
|
-
:param training_environment: The SageMaker training job image URI.
|
|
25701
|
-
:param training_metrics: The SageMaker training job results.
|
|
25839
|
+
:param training_environment: The SageMaker AI training job image URI.
|
|
25840
|
+
:param training_metrics: The SageMaker AI training job results.
|
|
25702
25841
|
:param user_provided_hyper_parameters: Additional hyper parameters that you've specified when training the model.
|
|
25703
25842
|
:param user_provided_training_metrics: Custom training job results.
|
|
25704
25843
|
|
|
@@ -25779,7 +25918,7 @@ class CfnModelCard(
|
|
|
25779
25918
|
|
|
25780
25919
|
@builtins.property
|
|
25781
25920
|
def training_arn(self) -> typing.Optional[builtins.str]:
|
|
25782
|
-
'''The SageMaker training job Amazon Resource Name (ARN).
|
|
25921
|
+
'''The SageMaker AI training job Amazon Resource Name (ARN).
|
|
25783
25922
|
|
|
25784
25923
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingjobdetails.html#cfn-sagemaker-modelcard-trainingjobdetails-trainingarn
|
|
25785
25924
|
'''
|
|
@@ -25799,7 +25938,7 @@ class CfnModelCard(
|
|
|
25799
25938
|
def training_environment(
|
|
25800
25939
|
self,
|
|
25801
25940
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnModelCard.TrainingEnvironmentProperty"]]:
|
|
25802
|
-
'''The SageMaker training job image URI.
|
|
25941
|
+
'''The SageMaker AI training job image URI.
|
|
25803
25942
|
|
|
25804
25943
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingjobdetails.html#cfn-sagemaker-modelcard-trainingjobdetails-trainingenvironment
|
|
25805
25944
|
'''
|
|
@@ -25810,7 +25949,7 @@ class CfnModelCard(
|
|
|
25810
25949
|
def training_metrics(
|
|
25811
25950
|
self,
|
|
25812
25951
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnModelCard.TrainingMetricProperty"]]]]:
|
|
25813
|
-
'''The SageMaker training job results.
|
|
25952
|
+
'''The SageMaker AI training job results.
|
|
25814
25953
|
|
|
25815
25954
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingjobdetails.html#cfn-sagemaker-modelcard-trainingjobdetails-trainingmetrics
|
|
25816
25955
|
'''
|
|
@@ -25863,10 +26002,10 @@ class CfnModelCard(
|
|
|
25863
26002
|
value: jsii.Number,
|
|
25864
26003
|
notes: typing.Optional[builtins.str] = None,
|
|
25865
26004
|
) -> None:
|
|
25866
|
-
'''A result from a SageMaker training job.
|
|
26005
|
+
'''A result from a SageMaker AI training job.
|
|
25867
26006
|
|
|
25868
|
-
:param name: The name of the result from the SageMaker training job.
|
|
25869
|
-
:param value: The value of a result from the SageMaker training job.
|
|
26007
|
+
:param name: The name of the result from the SageMaker AI training job.
|
|
26008
|
+
:param value: The value of a result from the SageMaker AI training job.
|
|
25870
26009
|
:param notes: Any additional notes describing the result of the training job.
|
|
25871
26010
|
|
|
25872
26011
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingmetric.html
|
|
@@ -25900,7 +26039,7 @@ class CfnModelCard(
|
|
|
25900
26039
|
|
|
25901
26040
|
@builtins.property
|
|
25902
26041
|
def name(self) -> builtins.str:
|
|
25903
|
-
'''The name of the result from the SageMaker training job.
|
|
26042
|
+
'''The name of the result from the SageMaker AI training job.
|
|
25904
26043
|
|
|
25905
26044
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingmetric.html#cfn-sagemaker-modelcard-trainingmetric-name
|
|
25906
26045
|
'''
|
|
@@ -25910,7 +26049,7 @@ class CfnModelCard(
|
|
|
25910
26049
|
|
|
25911
26050
|
@builtins.property
|
|
25912
26051
|
def value(self) -> jsii.Number:
|
|
25913
|
-
'''The value of a result from the SageMaker training job.
|
|
26052
|
+
'''The value of a result from the SageMaker AI training job.
|
|
25914
26053
|
|
|
25915
26054
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingmetric.html#cfn-sagemaker-modelcard-trainingmetric-value
|
|
25916
26055
|
'''
|
|
@@ -27778,7 +27917,7 @@ class CfnModelExplainabilityJobDefinition(
|
|
|
27778
27917
|
'''The output configuration for monitoring jobs.
|
|
27779
27918
|
|
|
27780
27919
|
:param monitoring_outputs: Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
|
|
27781
|
-
:param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
27920
|
+
:param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
27782
27921
|
|
|
27783
27922
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig.html
|
|
27784
27923
|
:exampleMetadata: fixture=_generated
|
|
@@ -27830,7 +27969,7 @@ class CfnModelExplainabilityJobDefinition(
|
|
|
27830
27969
|
|
|
27831
27970
|
@builtins.property
|
|
27832
27971
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
27833
|
-
'''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
27972
|
+
'''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
27834
27973
|
|
|
27835
27974
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig-kmskeyid
|
|
27836
27975
|
'''
|
|
@@ -31587,7 +31726,7 @@ class CfnModelPackage(
|
|
|
31587
31726
|
) -> None:
|
|
31588
31727
|
'''Describes the Docker container for the model package.
|
|
31589
31728
|
|
|
31590
|
-
:param image: The Amazon EC2 Container Registry
|
|
31729
|
+
:param image: The Amazon EC2 Container Registry path where inference code is stored. If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both ``registry/repository[:tag]`` and ``registry/repository[@digest]`` image path formats. For more information, see `Using Your Own Algorithms with Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html>`_ .
|
|
31591
31730
|
:param container_hostname: The DNS host name for the Docker container.
|
|
31592
31731
|
:param environment: The environment variables to set in the Docker container. Each key and value in the ``Environment`` string to string map can have length of up to 1024. We support up to 16 entries in the map.
|
|
31593
31732
|
:param framework: The machine learning framework of the model package container image.
|
|
@@ -31673,7 +31812,7 @@ class CfnModelPackage(
|
|
|
31673
31812
|
|
|
31674
31813
|
@builtins.property
|
|
31675
31814
|
def image(self) -> builtins.str:
|
|
31676
|
-
'''The Amazon EC2 Container Registry
|
|
31815
|
+
'''The Amazon EC2 Container Registry path where inference code is stored.
|
|
31677
31816
|
|
|
31678
31817
|
If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both ``registry/repository[:tag]`` and ``registry/repository[@digest]`` image path formats. For more information, see `Using Your Own Algorithms with Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html>`_ .
|
|
31679
31818
|
|
|
@@ -32040,7 +32179,7 @@ class CfnModelPackage(
|
|
|
32040
32179
|
|
|
32041
32180
|
Your input bucket must be in the same AWS region as your training job.
|
|
32042
32181
|
|
|
32043
|
-
:param s3_data_type: If you choose ``S3Prefix`` , ``S3Uri`` identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. If you choose ``AugmentedManifestFile`` , S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
32182
|
+
:param s3_data_type: If you choose ``S3Prefix`` , ``S3Uri`` identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
32044
32183
|
:param s3_uri: Depending on the value specified for the ``S3DataType`` , identifies either a key name prefix or a manifest. For example: - A key name prefix might look like this: ``s3://bucketname/exampleprefix/`` - A manifest might look like this: ``s3://bucketname/example.manifest`` A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of ``S3Uri`` . Note that the prefix must be a valid non-empty ``S3Uri`` that precludes users from specifying a manifest whose individual ``S3Uri`` is sourced from different S3 buckets. The following code example shows a valid manifest format: ``[ {"prefix": "s3://customer_bucket/some/prefix/"},`` ``"relative/path/to/custdata-1",`` ``"relative/path/custdata-2",`` ``...`` ``"relative/path/custdata-N"`` ``]`` This JSON is equivalent to the following ``S3Uri`` list: ``s3://customer_bucket/some/prefix/relative/path/to/custdata-1`` ``s3://customer_bucket/some/prefix/relative/path/custdata-2`` ``...`` ``s3://customer_bucket/some/prefix/relative/path/custdata-N`` The complete set of ``S3Uri`` in this manifest is the input data for the channel for this data source. The object that each ``S3Uri`` points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf. Your input bucket must be located in same AWS region as your training job.
|
|
32045
32184
|
|
|
32046
32185
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-s3datasource.html
|
|
@@ -32074,7 +32213,7 @@ class CfnModelPackage(
|
|
|
32074
32213
|
|
|
32075
32214
|
If you choose ``ManifestFile`` , ``S3Uri`` identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training.
|
|
32076
32215
|
|
|
32077
|
-
If you choose ``AugmentedManifestFile`` , S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
32216
|
+
If you choose ``AugmentedManifestFile`` , ``S3Uri`` identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. ``AugmentedManifestFile`` can only be used if the Channel's input mode is ``Pipe`` .
|
|
32078
32217
|
|
|
32079
32218
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-s3datasource.html#cfn-sagemaker-modelpackage-s3datasource-s3datatype
|
|
32080
32219
|
'''
|
|
@@ -36338,7 +36477,7 @@ class CfnModelQualityJobDefinition(
|
|
|
36338
36477
|
'''The output configuration for monitoring jobs.
|
|
36339
36478
|
|
|
36340
36479
|
:param monitoring_outputs: Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
|
|
36341
|
-
:param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
36480
|
+
:param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
36342
36481
|
|
|
36343
36482
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringoutputconfig.html
|
|
36344
36483
|
:exampleMetadata: fixture=_generated
|
|
@@ -36390,7 +36529,7 @@ class CfnModelQualityJobDefinition(
|
|
|
36390
36529
|
|
|
36391
36530
|
@builtins.property
|
|
36392
36531
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
36393
|
-
'''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
36532
|
+
'''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
36394
36533
|
|
|
36395
36534
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelqualityjobdefinition-monitoringoutputconfig-kmskeyid
|
|
36396
36535
|
'''
|
|
@@ -38731,10 +38870,10 @@ class CfnMonitoringSchedule(
|
|
|
38731
38870
|
'''Defines the monitoring job.
|
|
38732
38871
|
|
|
38733
38872
|
:param monitoring_app_specification: Configures the monitoring job to run a specified Docker container image.
|
|
38734
|
-
:param monitoring_inputs: The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.
|
|
38873
|
+
:param monitoring_inputs: The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker AI Endpoint.
|
|
38735
38874
|
:param monitoring_output_config: The array of outputs from the monitoring job to be uploaded to Amazon S3.
|
|
38736
38875
|
:param monitoring_resources: Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. In distributed processing, you specify more than one instance.
|
|
38737
|
-
:param role_arn: The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
|
|
38876
|
+
:param role_arn: The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf.
|
|
38738
38877
|
:param baseline_config: Baseline configuration used to validate that the data conforms to the specified constraints and statistics.
|
|
38739
38878
|
:param environment: Sets the environment variables in the Docker container.
|
|
38740
38879
|
:param network_config: Specifies networking options for an monitoring job.
|
|
@@ -38884,7 +39023,7 @@ class CfnMonitoringSchedule(
|
|
|
38884
39023
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMonitoringSchedule.MonitoringInputProperty"]]]:
|
|
38885
39024
|
'''The array of inputs for the monitoring job.
|
|
38886
39025
|
|
|
38887
|
-
Currently we support monitoring an Amazon SageMaker Endpoint.
|
|
39026
|
+
Currently we support monitoring an Amazon SageMaker AI Endpoint.
|
|
38888
39027
|
|
|
38889
39028
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-monitoringinputs
|
|
38890
39029
|
'''
|
|
@@ -38920,7 +39059,7 @@ class CfnMonitoringSchedule(
|
|
|
38920
39059
|
|
|
38921
39060
|
@builtins.property
|
|
38922
39061
|
def role_arn(self) -> builtins.str:
|
|
38923
|
-
'''The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
|
|
39062
|
+
'''The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf.
|
|
38924
39063
|
|
|
38925
39064
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-rolearn
|
|
38926
39065
|
'''
|
|
@@ -39001,7 +39140,7 @@ class CfnMonitoringSchedule(
|
|
|
39001
39140
|
'''The output configuration for monitoring jobs.
|
|
39002
39141
|
|
|
39003
39142
|
:param monitoring_outputs: Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
|
|
39004
|
-
:param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
39143
|
+
:param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
39005
39144
|
|
|
39006
39145
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutputconfig.html
|
|
39007
39146
|
:exampleMetadata: fixture=_generated
|
|
@@ -39053,7 +39192,7 @@ class CfnMonitoringSchedule(
|
|
|
39053
39192
|
|
|
39054
39193
|
@builtins.property
|
|
39055
39194
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
39056
|
-
'''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
39195
|
+
'''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
|
|
39057
39196
|
|
|
39058
39197
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutputconfig.html#cfn-sagemaker-monitoringschedule-monitoringoutputconfig-kmskeyid
|
|
39059
39198
|
'''
|
|
@@ -39618,7 +39757,7 @@ class CfnMonitoringSchedule(
|
|
|
39618
39757
|
) -> None:
|
|
39619
39758
|
'''Configuration details about the monitoring schedule.
|
|
39620
39759
|
|
|
39621
|
-
:param schedule_expression: A cron expression that describes details about the monitoring schedule. The supported cron expressions are: - If you want to set the job to start every hour, use the following: ``Hourly: cron(0 * ? * * *)`` - If you want to start the job daily: ``cron(0 [00-23] ? * * *)`` - If you want to run the job one time, immediately, use the following keyword: ``NOW`` For example, the following are valid cron expressions: - Daily at noon UTC: ``cron(0 12 ? * * *)`` - Daily at midnight UTC: ``cron(0 0 ? * * *)`` To support running every 6, 12 hours, the following are also supported: ``cron(0 [00-23]/[01-24] ? * * *)`` For example, the following are valid cron expressions: - Every 12 hours, starting at 5pm UTC: ``cron(0 17/12 ? * * *)`` - Every two hours starting at midnight: ``cron(0 0/2 ? * * *)`` .. epigraph:: - Even though the cron expression is set to start at 5PM UTC, note that there could be a delay of 0-20 minutes from the actual requested time to run the execution. - We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker will pick a time for running every day. You can also specify the keyword ``NOW`` to run the monitoring job immediately, one time, without recurring.
|
|
39760
|
+
:param schedule_expression: A cron expression that describes details about the monitoring schedule. The supported cron expressions are: - If you want to set the job to start every hour, use the following: ``Hourly: cron(0 * ? * * *)`` - If you want to start the job daily: ``cron(0 [00-23] ? * * *)`` - If you want to run the job one time, immediately, use the following keyword: ``NOW`` For example, the following are valid cron expressions: - Daily at noon UTC: ``cron(0 12 ? * * *)`` - Daily at midnight UTC: ``cron(0 0 ? * * *)`` To support running every 6, 12 hours, the following are also supported: ``cron(0 [00-23]/[01-24] ? * * *)`` For example, the following are valid cron expressions: - Every 12 hours, starting at 5pm UTC: ``cron(0 17/12 ? * * *)`` - Every two hours starting at midnight: ``cron(0 0/2 ? * * *)`` .. epigraph:: - Even though the cron expression is set to start at 5PM UTC, note that there could be a delay of 0-20 minutes from the actual requested time to run the execution. - We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker AI will pick a time for running every day. You can also specify the keyword ``NOW`` to run the monitoring job immediately, one time, without recurring.
|
|
39622
39761
|
:param data_analysis_end_time: Sets the end time for a monitoring job window. Express this time as an offset to the times that you schedule your monitoring jobs to run. You schedule monitoring jobs with the ``ScheduleExpression`` parameter. Specify this offset in ISO 8601 duration format. For example, if you want to end the window one hour before the start of each monitoring job, you would specify: ``"-PT1H"`` . The end time that you specify must not follow the start time that you specify by more than 24 hours. You specify the start time with the ``DataAnalysisStartTime`` parameter. If you set ``ScheduleExpression`` to ``NOW`` , this parameter is required.
|
|
39623
39762
|
:param data_analysis_start_time: Sets the start time for a monitoring job window. Express this time as an offset to the times that you schedule your monitoring jobs to run. You schedule monitoring jobs with the ``ScheduleExpression`` parameter. Specify this offset in ISO 8601 duration format. For example, if you want to monitor the five hours of data in your dataset that precede the start of each monitoring job, you would specify: ``"-PT5H"`` . The start time that you specify must not precede the end time that you specify by more than 24 hours. You specify the end time with the ``DataAnalysisEndTime`` parameter. If you set ``ScheduleExpression`` to ``NOW`` , this parameter is required.
|
|
39624
39763
|
|
|
@@ -39687,7 +39826,7 @@ class CfnMonitoringSchedule(
|
|
|
39687
39826
|
.. epigraph::
|
|
39688
39827
|
|
|
39689
39828
|
- Even though the cron expression is set to start at 5PM UTC, note that there could be a delay of 0-20 minutes from the actual requested time to run the execution.
|
|
39690
|
-
- We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker will pick a time for running every day.
|
|
39829
|
+
- We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker AI will pick a time for running every day.
|
|
39691
39830
|
|
|
39692
39831
|
You can also specify the keyword ``NOW`` to run the monitoring job immediately, one time, without recurring.
|
|
39693
39832
|
|
|
@@ -40283,13 +40422,13 @@ class CfnNotebookInstance(
|
|
|
40283
40422
|
:param scope: Scope in which this resource is defined.
|
|
40284
40423
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
40285
40424
|
:param instance_type: The type of ML compute instance to launch for the notebook instance. .. epigraph:: Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
|
|
40286
|
-
:param role_arn: When you send any requests to AWS resources from the notebook instance, SageMaker assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker can perform these tasks. The policy must allow the SageMaker service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see `SageMaker Roles <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html>`_ . .. epigraph:: To be able to pass this role to SageMaker, the caller of this API must have the ``iam:PassRole`` permission.
|
|
40425
|
+
:param role_arn: When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see `SageMaker AI Roles <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html>`_ . .. epigraph:: To be able to pass this role to SageMaker AI, the caller of this API must have the ``iam:PassRole`` permission.
|
|
40287
40426
|
:param accelerator_types: A list of Amazon Elastic Inference (EI) instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance. For more information, see `Using Elastic Inference in Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html>`_ . *Valid Values:* ``ml.eia1.medium | ml.eia1.large | ml.eia1.xlarge | ml.eia2.medium | ml.eia2.large | ml.eia2.xlarge`` .
|
|
40288
|
-
:param additional_code_repositories: An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see `Associating Git Repositories with SageMaker Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
40289
|
-
:param default_code_repository: The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see `Associating Git Repositories with SageMaker Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
40290
|
-
:param direct_internet_access: Sets whether SageMaker provides internet access to the notebook instance. If you set this to ``Disabled`` this notebook instance is able to access resources only in your VPC, and is not be able to connect to SageMaker training and endpoint services unless you configure a NAT Gateway in your VPC. For more information, see `Notebook Instances Are Internet-Enabled by Default <https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access>`_ . You can set the value of this parameter to ``Disabled`` only if you set a value for the ``SubnetId`` parameter.
|
|
40427
|
+
:param additional_code_repositories: An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see `Associating Git Repositories with SageMaker AI Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
40428
|
+
:param default_code_repository: The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see `Associating Git Repositories with SageMaker AI Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
40429
|
+
:param direct_internet_access: Sets whether SageMaker AI provides internet access to the notebook instance. If you set this to ``Disabled`` this notebook instance is able to access resources only in your VPC, and is not be able to connect to SageMaker AI training and endpoint services unless you configure a NAT Gateway in your VPC. For more information, see `Notebook Instances Are Internet-Enabled by Default <https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access>`_ . You can set the value of this parameter to ``Disabled`` only if you set a value for the ``SubnetId`` parameter.
|
|
40291
40430
|
:param instance_metadata_service_configuration: Information on the IMDS configuration of the notebook instance.
|
|
40292
|
-
:param kms_key_id: The Amazon Resource Name (ARN) of a AWS Key Management Service key that SageMaker uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see `Enabling and Disabling Keys <https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html>`_ in the *AWS Key Management Service Developer Guide* .
|
|
40431
|
+
:param kms_key_id: The Amazon Resource Name (ARN) of a AWS Key Management Service key that SageMaker AI uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see `Enabling and Disabling Keys <https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html>`_ in the *AWS Key Management Service Developer Guide* .
|
|
40293
40432
|
:param lifecycle_config_name: The name of a lifecycle configuration to associate with the notebook instance. For information about lifecycle configurations, see `Customize a Notebook Instance <https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html>`_ in the *Amazon SageMaker Developer Guide* .
|
|
40294
40433
|
:param notebook_instance_name: The name of the new notebook instance.
|
|
40295
40434
|
:param platform_identifier: The platform identifier of the notebook instance runtime environment.
|
|
@@ -40398,7 +40537,7 @@ class CfnNotebookInstance(
|
|
|
40398
40537
|
@builtins.property
|
|
40399
40538
|
@jsii.member(jsii_name="roleArn")
|
|
40400
40539
|
def role_arn(self) -> builtins.str:
|
|
40401
|
-
'''When you send any requests to AWS resources from the notebook instance, SageMaker assumes this role to perform tasks on your behalf.'''
|
|
40540
|
+
'''When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf.'''
|
|
40402
40541
|
return typing.cast(builtins.str, jsii.get(self, "roleArn"))
|
|
40403
40542
|
|
|
40404
40543
|
@role_arn.setter
|
|
@@ -40458,7 +40597,7 @@ class CfnNotebookInstance(
|
|
|
40458
40597
|
@builtins.property
|
|
40459
40598
|
@jsii.member(jsii_name="directInternetAccess")
|
|
40460
40599
|
def direct_internet_access(self) -> typing.Optional[builtins.str]:
|
|
40461
|
-
'''Sets whether SageMaker provides internet access to the notebook instance.'''
|
|
40600
|
+
'''Sets whether SageMaker AI provides internet access to the notebook instance.'''
|
|
40462
40601
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "directInternetAccess"))
|
|
40463
40602
|
|
|
40464
40603
|
@direct_internet_access.setter
|
|
@@ -40489,7 +40628,7 @@ class CfnNotebookInstance(
|
|
|
40489
40628
|
@builtins.property
|
|
40490
40629
|
@jsii.member(jsii_name="kmsKeyId")
|
|
40491
40630
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
40492
|
-
'''The Amazon Resource Name (ARN) of a AWS Key Management Service key that SageMaker uses to encrypt data on the storage volume attached to your notebook instance.'''
|
|
40631
|
+
'''The Amazon Resource Name (ARN) of a AWS Key Management Service key that SageMaker AI uses to encrypt data on the storage volume attached to your notebook instance.'''
|
|
40493
40632
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyId"))
|
|
40494
40633
|
|
|
40495
40634
|
@kms_key_id.setter
|
|
@@ -41035,13 +41174,13 @@ class CfnNotebookInstanceProps:
|
|
|
41035
41174
|
'''Properties for defining a ``CfnNotebookInstance``.
|
|
41036
41175
|
|
|
41037
41176
|
:param instance_type: The type of ML compute instance to launch for the notebook instance. .. epigraph:: Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
|
|
41038
|
-
:param role_arn: When you send any requests to AWS resources from the notebook instance, SageMaker assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker can perform these tasks. The policy must allow the SageMaker service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see `SageMaker Roles <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html>`_ . .. epigraph:: To be able to pass this role to SageMaker, the caller of this API must have the ``iam:PassRole`` permission.
|
|
41177
|
+
:param role_arn: When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see `SageMaker AI Roles <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html>`_ . .. epigraph:: To be able to pass this role to SageMaker AI, the caller of this API must have the ``iam:PassRole`` permission.
|
|
41039
41178
|
:param accelerator_types: A list of Amazon Elastic Inference (EI) instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance. For more information, see `Using Elastic Inference in Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html>`_ . *Valid Values:* ``ml.eia1.medium | ml.eia1.large | ml.eia1.xlarge | ml.eia2.medium | ml.eia2.large | ml.eia2.xlarge`` .
|
|
41040
|
-
:param additional_code_repositories: An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see `Associating Git Repositories with SageMaker Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
41041
|
-
:param default_code_repository: The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see `Associating Git Repositories with SageMaker Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
41042
|
-
:param direct_internet_access: Sets whether SageMaker provides internet access to the notebook instance. If you set this to ``Disabled`` this notebook instance is able to access resources only in your VPC, and is not be able to connect to SageMaker training and endpoint services unless you configure a NAT Gateway in your VPC. For more information, see `Notebook Instances Are Internet-Enabled by Default <https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access>`_ . You can set the value of this parameter to ``Disabled`` only if you set a value for the ``SubnetId`` parameter.
|
|
41179
|
+
:param additional_code_repositories: An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see `Associating Git Repositories with SageMaker AI Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
41180
|
+
:param default_code_repository: The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see `Associating Git Repositories with SageMaker AI Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
41181
|
+
:param direct_internet_access: Sets whether SageMaker AI provides internet access to the notebook instance. If you set this to ``Disabled`` this notebook instance is able to access resources only in your VPC, and is not be able to connect to SageMaker AI training and endpoint services unless you configure a NAT Gateway in your VPC. For more information, see `Notebook Instances Are Internet-Enabled by Default <https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access>`_ . You can set the value of this parameter to ``Disabled`` only if you set a value for the ``SubnetId`` parameter.
|
|
41043
41182
|
:param instance_metadata_service_configuration: Information on the IMDS configuration of the notebook instance.
|
|
41044
|
-
:param kms_key_id: The Amazon Resource Name (ARN) of a AWS Key Management Service key that SageMaker uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see `Enabling and Disabling Keys <https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html>`_ in the *AWS Key Management Service Developer Guide* .
|
|
41183
|
+
:param kms_key_id: The Amazon Resource Name (ARN) of a AWS Key Management Service key that SageMaker AI uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see `Enabling and Disabling Keys <https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html>`_ in the *AWS Key Management Service Developer Guide* .
|
|
41045
41184
|
:param lifecycle_config_name: The name of a lifecycle configuration to associate with the notebook instance. For information about lifecycle configurations, see `Customize a Notebook Instance <https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html>`_ in the *Amazon SageMaker Developer Guide* .
|
|
41046
41185
|
:param notebook_instance_name: The name of the new notebook instance.
|
|
41047
41186
|
:param platform_identifier: The platform identifier of the notebook instance runtime environment.
|
|
@@ -41153,12 +41292,12 @@ class CfnNotebookInstanceProps:
|
|
|
41153
41292
|
|
|
41154
41293
|
@builtins.property
|
|
41155
41294
|
def role_arn(self) -> builtins.str:
|
|
41156
|
-
'''When you send any requests to AWS resources from the notebook instance, SageMaker assumes this role to perform tasks on your behalf.
|
|
41295
|
+
'''When you send any requests to AWS resources from the notebook instance, SageMaker AI assumes this role to perform tasks on your behalf.
|
|
41157
41296
|
|
|
41158
|
-
You must grant this role necessary permissions so SageMaker can perform these tasks. The policy must allow the SageMaker service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see `SageMaker Roles <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html>`_ .
|
|
41297
|
+
You must grant this role necessary permissions so SageMaker AI can perform these tasks. The policy must allow the SageMaker AI service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see `SageMaker AI Roles <https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html>`_ .
|
|
41159
41298
|
.. epigraph::
|
|
41160
41299
|
|
|
41161
|
-
To be able to pass this role to SageMaker, the caller of this API must have the ``iam:PassRole`` permission.
|
|
41300
|
+
To be able to pass this role to SageMaker AI, the caller of this API must have the ``iam:PassRole`` permission.
|
|
41162
41301
|
|
|
41163
41302
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-rolearn
|
|
41164
41303
|
'''
|
|
@@ -41185,7 +41324,7 @@ class CfnNotebookInstanceProps:
|
|
|
41185
41324
|
) -> typing.Optional[typing.List[builtins.str]]:
|
|
41186
41325
|
'''An array of up to three Git repositories associated with the notebook instance.
|
|
41187
41326
|
|
|
41188
|
-
These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see `Associating Git Repositories with SageMaker Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
41327
|
+
These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see `Associating Git Repositories with SageMaker AI Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
41189
41328
|
|
|
41190
41329
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-additionalcoderepositories
|
|
41191
41330
|
'''
|
|
@@ -41196,7 +41335,7 @@ class CfnNotebookInstanceProps:
|
|
|
41196
41335
|
def default_code_repository(self) -> typing.Optional[builtins.str]:
|
|
41197
41336
|
'''The Git repository associated with the notebook instance as its default code repository.
|
|
41198
41337
|
|
|
41199
|
-
This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see `Associating Git Repositories with SageMaker Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
41338
|
+
This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in `AWS CodeCommit <https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html>`_ or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see `Associating Git Repositories with SageMaker AI Notebook Instances <https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html>`_ .
|
|
41200
41339
|
|
|
41201
41340
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-defaultcoderepository
|
|
41202
41341
|
'''
|
|
@@ -41205,9 +41344,9 @@ class CfnNotebookInstanceProps:
|
|
|
41205
41344
|
|
|
41206
41345
|
@builtins.property
|
|
41207
41346
|
def direct_internet_access(self) -> typing.Optional[builtins.str]:
|
|
41208
|
-
'''Sets whether SageMaker provides internet access to the notebook instance.
|
|
41347
|
+
'''Sets whether SageMaker AI provides internet access to the notebook instance.
|
|
41209
41348
|
|
|
41210
|
-
If you set this to ``Disabled`` this notebook instance is able to access resources only in your VPC, and is not be able to connect to SageMaker training and endpoint services unless you configure a NAT Gateway in your VPC.
|
|
41349
|
+
If you set this to ``Disabled`` this notebook instance is able to access resources only in your VPC, and is not be able to connect to SageMaker AI training and endpoint services unless you configure a NAT Gateway in your VPC.
|
|
41211
41350
|
|
|
41212
41351
|
For more information, see `Notebook Instances Are Internet-Enabled by Default <https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access>`_ . You can set the value of this parameter to ``Disabled`` only if you set a value for the ``SubnetId`` parameter.
|
|
41213
41352
|
|
|
@@ -41229,7 +41368,7 @@ class CfnNotebookInstanceProps:
|
|
|
41229
41368
|
|
|
41230
41369
|
@builtins.property
|
|
41231
41370
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
41232
|
-
'''The Amazon Resource Name (ARN) of a AWS Key Management Service key that SageMaker uses to encrypt data on the storage volume attached to your notebook instance.
|
|
41371
|
+
'''The Amazon Resource Name (ARN) of a AWS Key Management Service key that SageMaker AI uses to encrypt data on the storage volume attached to your notebook instance.
|
|
41233
41372
|
|
|
41234
41373
|
The KMS key you provide must be enabled. For information, see `Enabling and Disabling Keys <https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html>`_ in the *AWS Key Management Service Developer Guide* .
|
|
41235
41374
|
|
|
@@ -41345,7 +41484,7 @@ class CfnPartnerApp(
|
|
|
41345
41484
|
metaclass=jsii.JSIIMeta,
|
|
41346
41485
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnPartnerApp",
|
|
41347
41486
|
):
|
|
41348
|
-
'''
|
|
41487
|
+
'''Creates an Amazon SageMaker Partner AI App.
|
|
41349
41488
|
|
|
41350
41489
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html
|
|
41351
41490
|
:cloudformationResource: AWS::SageMaker::PartnerApp
|
|
@@ -41404,11 +41543,11 @@ class CfnPartnerApp(
|
|
|
41404
41543
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
41405
41544
|
:param auth_type: The Auth type of PartnerApp.
|
|
41406
41545
|
:param execution_role_arn: The execution role for the user.
|
|
41407
|
-
:param name:
|
|
41546
|
+
:param name: The name of the SageMaker Partner AI App.
|
|
41408
41547
|
:param tier: The tier of the PartnerApp.
|
|
41409
|
-
:param type: The type of
|
|
41548
|
+
:param type: The type of SageMaker Partner AI App to create. Must be one of the following: ``lakera-guard`` , ``comet`` , ``deepchecks-llm-evaluation`` , or ``fiddler`` .
|
|
41410
41549
|
:param application_config: A collection of configuration settings for the PartnerApp.
|
|
41411
|
-
:param client_token: The client token for the PartnerApp.
|
|
41550
|
+
:param client_token: (deprecated) The client token for the PartnerApp.
|
|
41412
41551
|
:param enable_iam_session_based_identity: Enables IAM Session based Identity for PartnerApp.
|
|
41413
41552
|
:param maintenance_config: A collection of settings that specify the maintenance schedule for the PartnerApp.
|
|
41414
41553
|
:param tags: A list of tags to apply to the PartnerApp.
|
|
@@ -41465,7 +41604,7 @@ class CfnPartnerApp(
|
|
|
41465
41604
|
@builtins.property
|
|
41466
41605
|
@jsii.member(jsii_name="attrArn")
|
|
41467
41606
|
def attr_arn(self) -> builtins.str:
|
|
41468
|
-
'''The
|
|
41607
|
+
'''The ARN of the SageMaker Partner AI App.
|
|
41469
41608
|
|
|
41470
41609
|
:cloudformationAttribute: Arn
|
|
41471
41610
|
'''
|
|
@@ -41520,7 +41659,7 @@ class CfnPartnerApp(
|
|
|
41520
41659
|
@builtins.property
|
|
41521
41660
|
@jsii.member(jsii_name="name")
|
|
41522
41661
|
def name(self) -> builtins.str:
|
|
41523
|
-
'''
|
|
41662
|
+
'''The name of the SageMaker Partner AI App.'''
|
|
41524
41663
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
41525
41664
|
|
|
41526
41665
|
@name.setter
|
|
@@ -41546,7 +41685,7 @@ class CfnPartnerApp(
|
|
|
41546
41685
|
@builtins.property
|
|
41547
41686
|
@jsii.member(jsii_name="type")
|
|
41548
41687
|
def type(self) -> builtins.str:
|
|
41549
|
-
'''The type of
|
|
41688
|
+
'''The type of SageMaker Partner AI App to create.'''
|
|
41550
41689
|
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
41551
41690
|
|
|
41552
41691
|
@type.setter
|
|
@@ -41577,7 +41716,12 @@ class CfnPartnerApp(
|
|
|
41577
41716
|
@builtins.property
|
|
41578
41717
|
@jsii.member(jsii_name="clientToken")
|
|
41579
41718
|
def client_token(self) -> typing.Optional[builtins.str]:
|
|
41580
|
-
'''The client token for the PartnerApp.
|
|
41719
|
+
'''(deprecated) The client token for the PartnerApp.
|
|
41720
|
+
|
|
41721
|
+
:deprecated: this property has been deprecated
|
|
41722
|
+
|
|
41723
|
+
:stability: deprecated
|
|
41724
|
+
'''
|
|
41581
41725
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "clientToken"))
|
|
41582
41726
|
|
|
41583
41727
|
@client_token.setter
|
|
@@ -41648,10 +41792,10 @@ class CfnPartnerApp(
|
|
|
41648
41792
|
admin_users: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
41649
41793
|
arguments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
41650
41794
|
) -> None:
|
|
41651
|
-
'''
|
|
41795
|
+
'''Configuration settings for the SageMaker Partner AI App.
|
|
41652
41796
|
|
|
41653
|
-
:param admin_users:
|
|
41654
|
-
:param arguments:
|
|
41797
|
+
:param admin_users: The list of users that are given admin access to the SageMaker Partner AI App.
|
|
41798
|
+
:param arguments: This is a map of required inputs for a SageMaker Partner AI App. Based on the application type, the map is populated with a key and value pair that is specific to the user and application.
|
|
41655
41799
|
|
|
41656
41800
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html
|
|
41657
41801
|
:exampleMetadata: fixture=_generated
|
|
@@ -41681,7 +41825,7 @@ class CfnPartnerApp(
|
|
|
41681
41825
|
|
|
41682
41826
|
@builtins.property
|
|
41683
41827
|
def admin_users(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
41684
|
-
'''
|
|
41828
|
+
'''The list of users that are given admin access to the SageMaker Partner AI App.
|
|
41685
41829
|
|
|
41686
41830
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html#cfn-sagemaker-partnerapp-partnerappconfig-adminusers
|
|
41687
41831
|
'''
|
|
@@ -41692,7 +41836,9 @@ class CfnPartnerApp(
|
|
|
41692
41836
|
def arguments(
|
|
41693
41837
|
self,
|
|
41694
41838
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
41695
|
-
'''
|
|
41839
|
+
'''This is a map of required inputs for a SageMaker Partner AI App.
|
|
41840
|
+
|
|
41841
|
+
Based on the application type, the map is populated with a key and value pair that is specific to the user and application.
|
|
41696
41842
|
|
|
41697
41843
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html#cfn-sagemaker-partnerapp-partnerappconfig-arguments
|
|
41698
41844
|
'''
|
|
@@ -41717,9 +41863,9 @@ class CfnPartnerApp(
|
|
|
41717
41863
|
)
|
|
41718
41864
|
class PartnerAppMaintenanceConfigProperty:
|
|
41719
41865
|
def __init__(self, *, maintenance_window_start: builtins.str) -> None:
|
|
41720
|
-
'''
|
|
41866
|
+
'''Maintenance configuration settings for the SageMaker Partner AI App.
|
|
41721
41867
|
|
|
41722
|
-
:param maintenance_window_start: The
|
|
41868
|
+
:param maintenance_window_start: The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. This value must take the following format: ``3-letter-day:24-h-hour:minute`` . For example: ``TUE:03:30`` .
|
|
41723
41869
|
|
|
41724
41870
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappmaintenanceconfig.html
|
|
41725
41871
|
:exampleMetadata: fixture=_generated
|
|
@@ -41743,7 +41889,9 @@ class CfnPartnerApp(
|
|
|
41743
41889
|
|
|
41744
41890
|
@builtins.property
|
|
41745
41891
|
def maintenance_window_start(self) -> builtins.str:
|
|
41746
|
-
'''The
|
|
41892
|
+
'''The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled.
|
|
41893
|
+
|
|
41894
|
+
This value must take the following format: ``3-letter-day:24-h-hour:minute`` . For example: ``TUE:03:30`` .
|
|
41747
41895
|
|
|
41748
41896
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappmaintenanceconfig.html#cfn-sagemaker-partnerapp-partnerappmaintenanceconfig-maintenancewindowstart
|
|
41749
41897
|
'''
|
|
@@ -41798,11 +41946,11 @@ class CfnPartnerAppProps:
|
|
|
41798
41946
|
|
|
41799
41947
|
:param auth_type: The Auth type of PartnerApp.
|
|
41800
41948
|
:param execution_role_arn: The execution role for the user.
|
|
41801
|
-
:param name:
|
|
41949
|
+
:param name: The name of the SageMaker Partner AI App.
|
|
41802
41950
|
:param tier: The tier of the PartnerApp.
|
|
41803
|
-
:param type: The type of
|
|
41951
|
+
:param type: The type of SageMaker Partner AI App to create. Must be one of the following: ``lakera-guard`` , ``comet`` , ``deepchecks-llm-evaluation`` , or ``fiddler`` .
|
|
41804
41952
|
:param application_config: A collection of configuration settings for the PartnerApp.
|
|
41805
|
-
:param client_token: The client token for the PartnerApp.
|
|
41953
|
+
:param client_token: (deprecated) The client token for the PartnerApp.
|
|
41806
41954
|
:param enable_iam_session_based_identity: Enables IAM Session based Identity for PartnerApp.
|
|
41807
41955
|
:param maintenance_config: A collection of settings that specify the maintenance schedule for the PartnerApp.
|
|
41808
41956
|
:param tags: A list of tags to apply to the PartnerApp.
|
|
@@ -41893,7 +42041,7 @@ class CfnPartnerAppProps:
|
|
|
41893
42041
|
|
|
41894
42042
|
@builtins.property
|
|
41895
42043
|
def name(self) -> builtins.str:
|
|
41896
|
-
'''
|
|
42044
|
+
'''The name of the SageMaker Partner AI App.
|
|
41897
42045
|
|
|
41898
42046
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-name
|
|
41899
42047
|
'''
|
|
@@ -41913,7 +42061,9 @@ class CfnPartnerAppProps:
|
|
|
41913
42061
|
|
|
41914
42062
|
@builtins.property
|
|
41915
42063
|
def type(self) -> builtins.str:
|
|
41916
|
-
'''The type of
|
|
42064
|
+
'''The type of SageMaker Partner AI App to create.
|
|
42065
|
+
|
|
42066
|
+
Must be one of the following: ``lakera-guard`` , ``comet`` , ``deepchecks-llm-evaluation`` , or ``fiddler`` .
|
|
41917
42067
|
|
|
41918
42068
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-type
|
|
41919
42069
|
'''
|
|
@@ -41934,9 +42084,12 @@ class CfnPartnerAppProps:
|
|
|
41934
42084
|
|
|
41935
42085
|
@builtins.property
|
|
41936
42086
|
def client_token(self) -> typing.Optional[builtins.str]:
|
|
41937
|
-
'''The client token for the PartnerApp.
|
|
42087
|
+
'''(deprecated) The client token for the PartnerApp.
|
|
42088
|
+
|
|
42089
|
+
:deprecated: this property has been deprecated
|
|
41938
42090
|
|
|
41939
42091
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-clienttoken
|
|
42092
|
+
:stability: deprecated
|
|
41940
42093
|
'''
|
|
41941
42094
|
result = self._values.get("client_token")
|
|
41942
42095
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -43289,6 +43442,9 @@ class CfnSpace(
|
|
|
43289
43442
|
custom_file_systems=[sagemaker.CfnSpace.CustomFileSystemProperty(
|
|
43290
43443
|
efs_file_system=sagemaker.CfnSpace.EFSFileSystemProperty(
|
|
43291
43444
|
file_system_id="fileSystemId"
|
|
43445
|
+
),
|
|
43446
|
+
f_sx_lustre_file_system=sagemaker.CfnSpace.FSxLustreFileSystemProperty(
|
|
43447
|
+
file_system_id="fileSystemId"
|
|
43292
43448
|
)
|
|
43293
43449
|
)],
|
|
43294
43450
|
jupyter_lab_app_settings=sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
|
|
@@ -43568,7 +43724,7 @@ class CfnSpace(
|
|
|
43568
43724
|
)
|
|
43569
43725
|
class CodeRepositoryProperty:
|
|
43570
43726
|
def __init__(self, *, repository_url: builtins.str) -> None:
|
|
43571
|
-
'''A Git repository that SageMaker automatically displays to users for cloning in the JupyterServer application.
|
|
43727
|
+
'''A Git repository that SageMaker AI automatically displays to users for cloning in the JupyterServer application.
|
|
43572
43728
|
|
|
43573
43729
|
:param repository_url: The URL of the Git repository.
|
|
43574
43730
|
|
|
@@ -43616,19 +43772,24 @@ class CfnSpace(
|
|
|
43616
43772
|
@jsii.data_type(
|
|
43617
43773
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.CustomFileSystemProperty",
|
|
43618
43774
|
jsii_struct_bases=[],
|
|
43619
|
-
name_mapping={
|
|
43775
|
+
name_mapping={
|
|
43776
|
+
"efs_file_system": "efsFileSystem",
|
|
43777
|
+
"f_sx_lustre_file_system": "fSxLustreFileSystem",
|
|
43778
|
+
},
|
|
43620
43779
|
)
|
|
43621
43780
|
class CustomFileSystemProperty:
|
|
43622
43781
|
def __init__(
|
|
43623
43782
|
self,
|
|
43624
43783
|
*,
|
|
43625
43784
|
efs_file_system: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.EFSFileSystemProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43785
|
+
f_sx_lustre_file_system: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.FSxLustreFileSystemProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43626
43786
|
) -> None:
|
|
43627
|
-
'''A file system, created by you, that you assign to a user profile or space for an Amazon SageMaker Domain.
|
|
43787
|
+
'''A file system, created by you, that you assign to a user profile or space for an Amazon SageMaker AI Domain.
|
|
43628
43788
|
|
|
43629
|
-
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
43789
|
+
Permitted users can access this file system in Amazon SageMaker AI Studio.
|
|
43630
43790
|
|
|
43631
43791
|
:param efs_file_system: A custom file system in Amazon EFS.
|
|
43792
|
+
:param f_sx_lustre_file_system: A custom file system in Amazon FSx for Lustre.
|
|
43632
43793
|
|
|
43633
43794
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-customfilesystem.html
|
|
43634
43795
|
:exampleMetadata: fixture=_generated
|
|
@@ -43642,15 +43803,21 @@ class CfnSpace(
|
|
|
43642
43803
|
custom_file_system_property = sagemaker.CfnSpace.CustomFileSystemProperty(
|
|
43643
43804
|
efs_file_system=sagemaker.CfnSpace.EFSFileSystemProperty(
|
|
43644
43805
|
file_system_id="fileSystemId"
|
|
43806
|
+
),
|
|
43807
|
+
f_sx_lustre_file_system=sagemaker.CfnSpace.FSxLustreFileSystemProperty(
|
|
43808
|
+
file_system_id="fileSystemId"
|
|
43645
43809
|
)
|
|
43646
43810
|
)
|
|
43647
43811
|
'''
|
|
43648
43812
|
if __debug__:
|
|
43649
43813
|
type_hints = typing.get_type_hints(_typecheckingstub__176823f1400da84e6a74d99732efcbf76ba89110f7c5a78a8ea1c95faec9ef80)
|
|
43650
43814
|
check_type(argname="argument efs_file_system", value=efs_file_system, expected_type=type_hints["efs_file_system"])
|
|
43815
|
+
check_type(argname="argument f_sx_lustre_file_system", value=f_sx_lustre_file_system, expected_type=type_hints["f_sx_lustre_file_system"])
|
|
43651
43816
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
43652
43817
|
if efs_file_system is not None:
|
|
43653
43818
|
self._values["efs_file_system"] = efs_file_system
|
|
43819
|
+
if f_sx_lustre_file_system is not None:
|
|
43820
|
+
self._values["f_sx_lustre_file_system"] = f_sx_lustre_file_system
|
|
43654
43821
|
|
|
43655
43822
|
@builtins.property
|
|
43656
43823
|
def efs_file_system(
|
|
@@ -43663,6 +43830,17 @@ class CfnSpace(
|
|
|
43663
43830
|
result = self._values.get("efs_file_system")
|
|
43664
43831
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.EFSFileSystemProperty"]], result)
|
|
43665
43832
|
|
|
43833
|
+
@builtins.property
|
|
43834
|
+
def f_sx_lustre_file_system(
|
|
43835
|
+
self,
|
|
43836
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.FSxLustreFileSystemProperty"]]:
|
|
43837
|
+
'''A custom file system in Amazon FSx for Lustre.
|
|
43838
|
+
|
|
43839
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-customfilesystem.html#cfn-sagemaker-space-customfilesystem-fsxlustrefilesystem
|
|
43840
|
+
'''
|
|
43841
|
+
result = self._values.get("f_sx_lustre_file_system")
|
|
43842
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.FSxLustreFileSystemProperty"]], result)
|
|
43843
|
+
|
|
43666
43844
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
43667
43845
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
43668
43846
|
|
|
@@ -43691,9 +43869,9 @@ class CfnSpace(
|
|
|
43691
43869
|
image_name: builtins.str,
|
|
43692
43870
|
image_version_number: typing.Optional[jsii.Number] = None,
|
|
43693
43871
|
) -> None:
|
|
43694
|
-
'''A custom SageMaker image.
|
|
43872
|
+
'''A custom SageMaker AI image.
|
|
43695
43873
|
|
|
43696
|
-
For more information, see `Bring your own SageMaker image <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html>`_ .
|
|
43874
|
+
For more information, see `Bring your own SageMaker AI image <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html>`_ .
|
|
43697
43875
|
|
|
43698
43876
|
:param app_image_config_name: The name of the AppImageConfig.
|
|
43699
43877
|
:param image_name: The name of the CustomImage. Must be unique to your account.
|
|
@@ -43777,9 +43955,9 @@ class CfnSpace(
|
|
|
43777
43955
|
)
|
|
43778
43956
|
class EFSFileSystemProperty:
|
|
43779
43957
|
def __init__(self, *, file_system_id: builtins.str) -> None:
|
|
43780
|
-
'''A file system, created by you in Amazon EFS, that you assign to a user profile or space for an Amazon SageMaker Domain.
|
|
43958
|
+
'''A file system, created by you in Amazon EFS, that you assign to a user profile or space for an Amazon SageMaker AI Domain.
|
|
43781
43959
|
|
|
43782
|
-
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
43960
|
+
Permitted users can access this file system in Amazon SageMaker AI Studio.
|
|
43783
43961
|
|
|
43784
43962
|
:param file_system_id: The ID of your Amazon EFS file system.
|
|
43785
43963
|
|
|
@@ -43876,6 +44054,58 @@ class CfnSpace(
|
|
|
43876
44054
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
43877
44055
|
)
|
|
43878
44056
|
|
|
44057
|
+
@jsii.data_type(
|
|
44058
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.FSxLustreFileSystemProperty",
|
|
44059
|
+
jsii_struct_bases=[],
|
|
44060
|
+
name_mapping={"file_system_id": "fileSystemId"},
|
|
44061
|
+
)
|
|
44062
|
+
class FSxLustreFileSystemProperty:
|
|
44063
|
+
def __init__(self, *, file_system_id: builtins.str) -> None:
|
|
44064
|
+
'''A custom file system in Amazon FSx for Lustre.
|
|
44065
|
+
|
|
44066
|
+
:param file_system_id: Amazon FSx for Lustre file system ID.
|
|
44067
|
+
|
|
44068
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-fsxlustrefilesystem.html
|
|
44069
|
+
:exampleMetadata: fixture=_generated
|
|
44070
|
+
|
|
44071
|
+
Example::
|
|
44072
|
+
|
|
44073
|
+
# The code below shows an example of how to instantiate this type.
|
|
44074
|
+
# The values are placeholders you should change.
|
|
44075
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
44076
|
+
|
|
44077
|
+
f_sx_lustre_file_system_property = sagemaker.CfnSpace.FSxLustreFileSystemProperty(
|
|
44078
|
+
file_system_id="fileSystemId"
|
|
44079
|
+
)
|
|
44080
|
+
'''
|
|
44081
|
+
if __debug__:
|
|
44082
|
+
type_hints = typing.get_type_hints(_typecheckingstub__33e372bfa6c071d94ce6b44a1c1f5ff0f184f4ef6b4d0a8fff8c0030b6791ee2)
|
|
44083
|
+
check_type(argname="argument file_system_id", value=file_system_id, expected_type=type_hints["file_system_id"])
|
|
44084
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
44085
|
+
"file_system_id": file_system_id,
|
|
44086
|
+
}
|
|
44087
|
+
|
|
44088
|
+
@builtins.property
|
|
44089
|
+
def file_system_id(self) -> builtins.str:
|
|
44090
|
+
'''Amazon FSx for Lustre file system ID.
|
|
44091
|
+
|
|
44092
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-fsxlustrefilesystem.html#cfn-sagemaker-space-fsxlustrefilesystem-filesystemid
|
|
44093
|
+
'''
|
|
44094
|
+
result = self._values.get("file_system_id")
|
|
44095
|
+
assert result is not None, "Required property 'file_system_id' is missing"
|
|
44096
|
+
return typing.cast(builtins.str, result)
|
|
44097
|
+
|
|
44098
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
44099
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
44100
|
+
|
|
44101
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
44102
|
+
return not (rhs == self)
|
|
44103
|
+
|
|
44104
|
+
def __repr__(self) -> str:
|
|
44105
|
+
return "FSxLustreFileSystemProperty(%s)" % ", ".join(
|
|
44106
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
44107
|
+
)
|
|
44108
|
+
|
|
43879
44109
|
@jsii.data_type(
|
|
43880
44110
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.JupyterServerAppSettingsProperty",
|
|
43881
44111
|
jsii_struct_bases=[],
|
|
@@ -43893,7 +44123,7 @@ class CfnSpace(
|
|
|
43893
44123
|
) -> None:
|
|
43894
44124
|
'''The JupyterServer app settings.
|
|
43895
44125
|
|
|
43896
|
-
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the ``LifecycleConfigArns`` parameter, then this parameter is also required.
|
|
44126
|
+
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the JupyterServer app. If you use the ``LifecycleConfigArns`` parameter, then this parameter is also required.
|
|
43897
44127
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the ``DefaultResourceSpec`` parameter is also required. .. epigraph:: To remove a Lifecycle Config, you must set ``LifecycleConfigArns`` to an empty list.
|
|
43898
44128
|
|
|
43899
44129
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-jupyterserverappsettings.html
|
|
@@ -43929,7 +44159,7 @@ class CfnSpace(
|
|
|
43929
44159
|
def default_resource_spec(
|
|
43930
44160
|
self,
|
|
43931
44161
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.ResourceSpecProperty"]]:
|
|
43932
|
-
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.
|
|
44162
|
+
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the JupyterServer app.
|
|
43933
44163
|
|
|
43934
44164
|
If you use the ``LifecycleConfigArns`` parameter, then this parameter is also required.
|
|
43935
44165
|
|
|
@@ -43982,8 +44212,8 @@ class CfnSpace(
|
|
|
43982
44212
|
) -> None:
|
|
43983
44213
|
'''The KernelGateway app settings.
|
|
43984
44214
|
|
|
43985
|
-
:param custom_images: A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
|
43986
|
-
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app. .. epigraph:: The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
44215
|
+
:param custom_images: A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
44216
|
+
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app. .. epigraph:: The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
43987
44217
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain. .. epigraph:: To remove a Lifecycle Config, you must set ``LifecycleConfigArns`` to an empty list.
|
|
43988
44218
|
|
|
43989
44219
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-kernelgatewayappsettings.html
|
|
@@ -44029,7 +44259,7 @@ class CfnSpace(
|
|
|
44029
44259
|
def custom_images(
|
|
44030
44260
|
self,
|
|
44031
44261
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSpace.CustomImageProperty"]]]]:
|
|
44032
|
-
'''A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
|
44262
|
+
'''A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
44033
44263
|
|
|
44034
44264
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-kernelgatewayappsettings.html#cfn-sagemaker-space-kernelgatewayappsettings-customimages
|
|
44035
44265
|
'''
|
|
@@ -44040,11 +44270,11 @@ class CfnSpace(
|
|
|
44040
44270
|
def default_resource_spec(
|
|
44041
44271
|
self,
|
|
44042
44272
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.ResourceSpecProperty"]]:
|
|
44043
|
-
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
|
|
44273
|
+
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.
|
|
44044
44274
|
|
|
44045
44275
|
.. epigraph::
|
|
44046
44276
|
|
|
44047
|
-
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
44277
|
+
The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
44048
44278
|
|
|
44049
44279
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-kernelgatewayappsettings.html#cfn-sagemaker-space-kernelgatewayappsettings-defaultresourcespec
|
|
44050
44280
|
'''
|
|
@@ -44146,11 +44376,11 @@ class CfnSpace(
|
|
|
44146
44376
|
sage_maker_image_arn: typing.Optional[builtins.str] = None,
|
|
44147
44377
|
sage_maker_image_version_arn: typing.Optional[builtins.str] = None,
|
|
44148
44378
|
) -> None:
|
|
44149
|
-
'''Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
44379
|
+
'''Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.
|
|
44150
44380
|
|
|
44151
44381
|
:param instance_type: The instance type that the image version runs on. .. epigraph:: *JupyterServer apps* only support the ``system`` value. For *KernelGateway apps* , the ``system`` value is translated to ``ml.t3.medium`` . KernelGateway apps also support all other values for available instance types.
|
|
44152
44382
|
:param lifecycle_config_arn: The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
|
|
44153
|
-
:param sage_maker_image_arn: The ARN of the SageMaker image that the image version belongs to.
|
|
44383
|
+
:param sage_maker_image_arn: The ARN of the SageMaker AI image that the image version belongs to.
|
|
44154
44384
|
:param sage_maker_image_version_arn: The ARN of the image version created on the instance.
|
|
44155
44385
|
|
|
44156
44386
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html
|
|
@@ -44211,7 +44441,7 @@ class CfnSpace(
|
|
|
44211
44441
|
|
|
44212
44442
|
@builtins.property
|
|
44213
44443
|
def sage_maker_image_arn(self) -> typing.Optional[builtins.str]:
|
|
44214
|
-
'''The ARN of the SageMaker image that the image version belongs to.
|
|
44444
|
+
'''The ARN of the SageMaker AI image that the image version belongs to.
|
|
44215
44445
|
|
|
44216
44446
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html#cfn-sagemaker-space-resourcespec-sagemakerimagearn
|
|
44217
44447
|
'''
|
|
@@ -44571,9 +44801,9 @@ class CfnSpace(
|
|
|
44571
44801
|
) -> None:
|
|
44572
44802
|
'''A collection of space settings.
|
|
44573
44803
|
|
|
44574
|
-
:param app_type: The type of app created within the space.
|
|
44804
|
+
:param app_type: The type of app created within the space. If using the `UpdateSpace <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateSpace.html>`_ API, you can't change the app type of your space by specifying a different value for this field.
|
|
44575
44805
|
:param code_editor_app_settings: The Code Editor application settings.
|
|
44576
|
-
:param custom_file_systems: A file system, created by you, that you assign to a space for an Amazon SageMaker Domain. Permitted users can access this file system in Amazon SageMaker Studio.
|
|
44806
|
+
:param custom_file_systems: A file system, created by you, that you assign to a space for an Amazon SageMaker AI Domain. Permitted users can access this file system in Amazon SageMaker AI Studio.
|
|
44577
44807
|
:param jupyter_lab_app_settings: The settings for the JupyterLab application.
|
|
44578
44808
|
:param jupyter_server_app_settings: The JupyterServer app settings.
|
|
44579
44809
|
:param kernel_gateway_app_settings: The KernelGateway app settings.
|
|
@@ -44606,6 +44836,9 @@ class CfnSpace(
|
|
|
44606
44836
|
custom_file_systems=[sagemaker.CfnSpace.CustomFileSystemProperty(
|
|
44607
44837
|
efs_file_system=sagemaker.CfnSpace.EFSFileSystemProperty(
|
|
44608
44838
|
file_system_id="fileSystemId"
|
|
44839
|
+
),
|
|
44840
|
+
f_sx_lustre_file_system=sagemaker.CfnSpace.FSxLustreFileSystemProperty(
|
|
44841
|
+
file_system_id="fileSystemId"
|
|
44609
44842
|
)
|
|
44610
44843
|
)],
|
|
44611
44844
|
jupyter_lab_app_settings=sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
|
|
@@ -44685,6 +44918,8 @@ class CfnSpace(
|
|
|
44685
44918
|
def app_type(self) -> typing.Optional[builtins.str]:
|
|
44686
44919
|
'''The type of app created within the space.
|
|
44687
44920
|
|
|
44921
|
+
If using the `UpdateSpace <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateSpace.html>`_ API, you can't change the app type of your space by specifying a different value for this field.
|
|
44922
|
+
|
|
44688
44923
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html#cfn-sagemaker-space-spacesettings-apptype
|
|
44689
44924
|
'''
|
|
44690
44925
|
result = self._values.get("app_type")
|
|
@@ -44705,9 +44940,9 @@ class CfnSpace(
|
|
|
44705
44940
|
def custom_file_systems(
|
|
44706
44941
|
self,
|
|
44707
44942
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSpace.CustomFileSystemProperty"]]]]:
|
|
44708
|
-
'''A file system, created by you, that you assign to a space for an Amazon SageMaker Domain.
|
|
44943
|
+
'''A file system, created by you, that you assign to a space for an Amazon SageMaker AI Domain.
|
|
44709
44944
|
|
|
44710
|
-
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
44945
|
+
Permitted users can access this file system in Amazon SageMaker AI Studio.
|
|
44711
44946
|
|
|
44712
44947
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html#cfn-sagemaker-space-spacesettings-customfilesystems
|
|
44713
44948
|
'''
|
|
@@ -44952,6 +45187,9 @@ class CfnSpaceProps:
|
|
|
44952
45187
|
custom_file_systems=[sagemaker.CfnSpace.CustomFileSystemProperty(
|
|
44953
45188
|
efs_file_system=sagemaker.CfnSpace.EFSFileSystemProperty(
|
|
44954
45189
|
file_system_id="fileSystemId"
|
|
45190
|
+
),
|
|
45191
|
+
f_sx_lustre_file_system=sagemaker.CfnSpace.FSxLustreFileSystemProperty(
|
|
45192
|
+
file_system_id="fileSystemId"
|
|
44955
45193
|
)
|
|
44956
45194
|
)],
|
|
44957
45195
|
jupyter_lab_app_settings=sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
|
|
@@ -45125,7 +45363,7 @@ class CfnStudioLifecycleConfig(
|
|
|
45125
45363
|
metaclass=jsii.JSIIMeta,
|
|
45126
45364
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnStudioLifecycleConfig",
|
|
45127
45365
|
):
|
|
45128
|
-
'''Creates a new Amazon SageMaker Studio Lifecycle Configuration.
|
|
45366
|
+
'''Creates a new Amazon SageMaker AI Studio Lifecycle Configuration.
|
|
45129
45367
|
|
|
45130
45368
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-studiolifecycleconfig.html
|
|
45131
45369
|
:cloudformationResource: AWS::SageMaker::StudioLifecycleConfig
|
|
@@ -45165,7 +45403,7 @@ class CfnStudioLifecycleConfig(
|
|
|
45165
45403
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
45166
45404
|
:param studio_lifecycle_config_app_type: The App type to which the Lifecycle Configuration is attached.
|
|
45167
45405
|
:param studio_lifecycle_config_content: The content of your Amazon SageMaker Studio Lifecycle Configuration script. This content must be base64 encoded.
|
|
45168
|
-
:param studio_lifecycle_config_name: The name of the Amazon SageMaker Studio Lifecycle Configuration.
|
|
45406
|
+
:param studio_lifecycle_config_name: The name of the Amazon SageMaker AI Studio Lifecycle Configuration.
|
|
45169
45407
|
:param tags: Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.
|
|
45170
45408
|
'''
|
|
45171
45409
|
if __debug__:
|
|
@@ -45260,7 +45498,7 @@ class CfnStudioLifecycleConfig(
|
|
|
45260
45498
|
@builtins.property
|
|
45261
45499
|
@jsii.member(jsii_name="studioLifecycleConfigName")
|
|
45262
45500
|
def studio_lifecycle_config_name(self) -> builtins.str:
|
|
45263
|
-
'''The name of the Amazon SageMaker Studio Lifecycle Configuration.'''
|
|
45501
|
+
'''The name of the Amazon SageMaker AI Studio Lifecycle Configuration.'''
|
|
45264
45502
|
return typing.cast(builtins.str, jsii.get(self, "studioLifecycleConfigName"))
|
|
45265
45503
|
|
|
45266
45504
|
@studio_lifecycle_config_name.setter
|
|
@@ -45307,7 +45545,7 @@ class CfnStudioLifecycleConfigProps:
|
|
|
45307
45545
|
|
|
45308
45546
|
:param studio_lifecycle_config_app_type: The App type to which the Lifecycle Configuration is attached.
|
|
45309
45547
|
:param studio_lifecycle_config_content: The content of your Amazon SageMaker Studio Lifecycle Configuration script. This content must be base64 encoded.
|
|
45310
|
-
:param studio_lifecycle_config_name: The name of the Amazon SageMaker Studio Lifecycle Configuration.
|
|
45548
|
+
:param studio_lifecycle_config_name: The name of the Amazon SageMaker AI Studio Lifecycle Configuration.
|
|
45311
45549
|
:param tags: Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.
|
|
45312
45550
|
|
|
45313
45551
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-studiolifecycleconfig.html
|
|
@@ -45369,7 +45607,7 @@ class CfnStudioLifecycleConfigProps:
|
|
|
45369
45607
|
|
|
45370
45608
|
@builtins.property
|
|
45371
45609
|
def studio_lifecycle_config_name(self) -> builtins.str:
|
|
45372
|
-
'''The name of the Amazon SageMaker Studio Lifecycle Configuration.
|
|
45610
|
+
'''The name of the Amazon SageMaker AI Studio Lifecycle Configuration.
|
|
45373
45611
|
|
|
45374
45612
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-studiolifecycleconfig.html#cfn-sagemaker-studiolifecycleconfig-studiolifecycleconfigname
|
|
45375
45613
|
'''
|
|
@@ -45463,6 +45701,12 @@ class CfnUserProfile(
|
|
|
45463
45701
|
efs_file_system_config=sagemaker.CfnUserProfile.EFSFileSystemConfigProperty(
|
|
45464
45702
|
file_system_id="fileSystemId",
|
|
45465
45703
|
|
|
45704
|
+
# the properties below are optional
|
|
45705
|
+
file_system_path="fileSystemPath"
|
|
45706
|
+
),
|
|
45707
|
+
f_sx_lustre_file_system_config=sagemaker.CfnUserProfile.FSxLustreFileSystemConfigProperty(
|
|
45708
|
+
file_system_id="fileSystemId",
|
|
45709
|
+
|
|
45466
45710
|
# the properties below are optional
|
|
45467
45711
|
file_system_path="fileSystemPath"
|
|
45468
45712
|
)
|
|
@@ -45923,7 +46167,7 @@ class CfnUserProfile(
|
|
|
45923
46167
|
)
|
|
45924
46168
|
class CodeRepositoryProperty:
|
|
45925
46169
|
def __init__(self, *, repository_url: builtins.str) -> None:
|
|
45926
|
-
'''A Git repository that SageMaker automatically displays to users for cloning in the JupyterServer application.
|
|
46170
|
+
'''A Git repository that SageMaker AI automatically displays to users for cloning in the JupyterServer application.
|
|
45927
46171
|
|
|
45928
46172
|
:param repository_url: The URL of the Git repository.
|
|
45929
46173
|
|
|
@@ -45971,19 +46215,24 @@ class CfnUserProfile(
|
|
|
45971
46215
|
@jsii.data_type(
|
|
45972
46216
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.CustomFileSystemConfigProperty",
|
|
45973
46217
|
jsii_struct_bases=[],
|
|
45974
|
-
name_mapping={
|
|
46218
|
+
name_mapping={
|
|
46219
|
+
"efs_file_system_config": "efsFileSystemConfig",
|
|
46220
|
+
"f_sx_lustre_file_system_config": "fSxLustreFileSystemConfig",
|
|
46221
|
+
},
|
|
45975
46222
|
)
|
|
45976
46223
|
class CustomFileSystemConfigProperty:
|
|
45977
46224
|
def __init__(
|
|
45978
46225
|
self,
|
|
45979
46226
|
*,
|
|
45980
46227
|
efs_file_system_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.EFSFileSystemConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
46228
|
+
f_sx_lustre_file_system_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.FSxLustreFileSystemConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
45981
46229
|
) -> None:
|
|
45982
|
-
'''The settings for assigning a custom file system to a user profile or space for an Amazon SageMaker Domain.
|
|
46230
|
+
'''The settings for assigning a custom file system to a user profile or space for an Amazon SageMaker AI Domain.
|
|
45983
46231
|
|
|
45984
|
-
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
46232
|
+
Permitted users can access this file system in Amazon SageMaker AI Studio.
|
|
45985
46233
|
|
|
45986
46234
|
:param efs_file_system_config: The settings for a custom Amazon EFS file system.
|
|
46235
|
+
:param f_sx_lustre_file_system_config: The settings for a custom Amazon FSx for Lustre file system.
|
|
45987
46236
|
|
|
45988
46237
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customfilesystemconfig.html
|
|
45989
46238
|
:exampleMetadata: fixture=_generated
|
|
@@ -45998,6 +46247,12 @@ class CfnUserProfile(
|
|
|
45998
46247
|
efs_file_system_config=sagemaker.CfnUserProfile.EFSFileSystemConfigProperty(
|
|
45999
46248
|
file_system_id="fileSystemId",
|
|
46000
46249
|
|
|
46250
|
+
# the properties below are optional
|
|
46251
|
+
file_system_path="fileSystemPath"
|
|
46252
|
+
),
|
|
46253
|
+
f_sx_lustre_file_system_config=sagemaker.CfnUserProfile.FSxLustreFileSystemConfigProperty(
|
|
46254
|
+
file_system_id="fileSystemId",
|
|
46255
|
+
|
|
46001
46256
|
# the properties below are optional
|
|
46002
46257
|
file_system_path="fileSystemPath"
|
|
46003
46258
|
)
|
|
@@ -46006,9 +46261,12 @@ class CfnUserProfile(
|
|
|
46006
46261
|
if __debug__:
|
|
46007
46262
|
type_hints = typing.get_type_hints(_typecheckingstub__f9203bac8296e14f4fd4a11939d2779a8f543105b9af12bf358b4053c4256e4d)
|
|
46008
46263
|
check_type(argname="argument efs_file_system_config", value=efs_file_system_config, expected_type=type_hints["efs_file_system_config"])
|
|
46264
|
+
check_type(argname="argument f_sx_lustre_file_system_config", value=f_sx_lustre_file_system_config, expected_type=type_hints["f_sx_lustre_file_system_config"])
|
|
46009
46265
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
46010
46266
|
if efs_file_system_config is not None:
|
|
46011
46267
|
self._values["efs_file_system_config"] = efs_file_system_config
|
|
46268
|
+
if f_sx_lustre_file_system_config is not None:
|
|
46269
|
+
self._values["f_sx_lustre_file_system_config"] = f_sx_lustre_file_system_config
|
|
46012
46270
|
|
|
46013
46271
|
@builtins.property
|
|
46014
46272
|
def efs_file_system_config(
|
|
@@ -46021,6 +46279,17 @@ class CfnUserProfile(
|
|
|
46021
46279
|
result = self._values.get("efs_file_system_config")
|
|
46022
46280
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.EFSFileSystemConfigProperty"]], result)
|
|
46023
46281
|
|
|
46282
|
+
@builtins.property
|
|
46283
|
+
def f_sx_lustre_file_system_config(
|
|
46284
|
+
self,
|
|
46285
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.FSxLustreFileSystemConfigProperty"]]:
|
|
46286
|
+
'''The settings for a custom Amazon FSx for Lustre file system.
|
|
46287
|
+
|
|
46288
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customfilesystemconfig.html#cfn-sagemaker-userprofile-customfilesystemconfig-fsxlustrefilesystemconfig
|
|
46289
|
+
'''
|
|
46290
|
+
result = self._values.get("f_sx_lustre_file_system_config")
|
|
46291
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.FSxLustreFileSystemConfigProperty"]], result)
|
|
46292
|
+
|
|
46024
46293
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
46025
46294
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
46026
46295
|
|
|
@@ -46049,9 +46318,9 @@ class CfnUserProfile(
|
|
|
46049
46318
|
image_name: builtins.str,
|
|
46050
46319
|
image_version_number: typing.Optional[jsii.Number] = None,
|
|
46051
46320
|
) -> None:
|
|
46052
|
-
'''A custom SageMaker image.
|
|
46321
|
+
'''A custom SageMaker AI image.
|
|
46053
46322
|
|
|
46054
|
-
For more information, see `Bring your own SageMaker image <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html>`_ .
|
|
46323
|
+
For more information, see `Bring your own SageMaker AI image <https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html>`_ .
|
|
46055
46324
|
|
|
46056
46325
|
:param app_image_config_name: The name of the AppImageConfig.
|
|
46057
46326
|
:param image_name: The name of the CustomImage. Must be unique to your account.
|
|
@@ -46343,10 +46612,10 @@ class CfnUserProfile(
|
|
|
46343
46612
|
file_system_id: builtins.str,
|
|
46344
46613
|
file_system_path: typing.Optional[builtins.str] = None,
|
|
46345
46614
|
) -> None:
|
|
46346
|
-
'''The settings for assigning a custom Amazon EFS file system to a user profile or space for an Amazon SageMaker Domain.
|
|
46615
|
+
'''The settings for assigning a custom Amazon EFS file system to a user profile or space for an Amazon SageMaker AI Domain.
|
|
46347
46616
|
|
|
46348
46617
|
:param file_system_id: The ID of your Amazon EFS file system.
|
|
46349
|
-
:param file_system_path: The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below.
|
|
46618
|
+
:param file_system_path: The path to the file system directory that is accessible in Amazon SageMaker AI Studio. Permitted users can access only this directory and below.
|
|
46350
46619
|
|
|
46351
46620
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-efsfilesystemconfig.html
|
|
46352
46621
|
:exampleMetadata: fixture=_generated
|
|
@@ -46386,7 +46655,7 @@ class CfnUserProfile(
|
|
|
46386
46655
|
|
|
46387
46656
|
@builtins.property
|
|
46388
46657
|
def file_system_path(self) -> typing.Optional[builtins.str]:
|
|
46389
|
-
'''The path to the file system directory that is accessible in Amazon SageMaker Studio.
|
|
46658
|
+
'''The path to the file system directory that is accessible in Amazon SageMaker AI Studio.
|
|
46390
46659
|
|
|
46391
46660
|
Permitted users can access only this directory and below.
|
|
46392
46661
|
|
|
@@ -46406,6 +46675,84 @@ class CfnUserProfile(
|
|
|
46406
46675
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
46407
46676
|
)
|
|
46408
46677
|
|
|
46678
|
+
@jsii.data_type(
|
|
46679
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.FSxLustreFileSystemConfigProperty",
|
|
46680
|
+
jsii_struct_bases=[],
|
|
46681
|
+
name_mapping={
|
|
46682
|
+
"file_system_id": "fileSystemId",
|
|
46683
|
+
"file_system_path": "fileSystemPath",
|
|
46684
|
+
},
|
|
46685
|
+
)
|
|
46686
|
+
class FSxLustreFileSystemConfigProperty:
|
|
46687
|
+
def __init__(
|
|
46688
|
+
self,
|
|
46689
|
+
*,
|
|
46690
|
+
file_system_id: builtins.str,
|
|
46691
|
+
file_system_path: typing.Optional[builtins.str] = None,
|
|
46692
|
+
) -> None:
|
|
46693
|
+
'''The settings for assigning a custom Amazon FSx for Lustre file system to a user profile or space for an Amazon SageMaker Domain.
|
|
46694
|
+
|
|
46695
|
+
:param file_system_id: The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.
|
|
46696
|
+
:param file_system_path: The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below.
|
|
46697
|
+
|
|
46698
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-fsxlustrefilesystemconfig.html
|
|
46699
|
+
:exampleMetadata: fixture=_generated
|
|
46700
|
+
|
|
46701
|
+
Example::
|
|
46702
|
+
|
|
46703
|
+
# The code below shows an example of how to instantiate this type.
|
|
46704
|
+
# The values are placeholders you should change.
|
|
46705
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
46706
|
+
|
|
46707
|
+
f_sx_lustre_file_system_config_property = sagemaker.CfnUserProfile.FSxLustreFileSystemConfigProperty(
|
|
46708
|
+
file_system_id="fileSystemId",
|
|
46709
|
+
|
|
46710
|
+
# the properties below are optional
|
|
46711
|
+
file_system_path="fileSystemPath"
|
|
46712
|
+
)
|
|
46713
|
+
'''
|
|
46714
|
+
if __debug__:
|
|
46715
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8d6bd8a103ed4cf4233270d8bb52158950a2338a094df3c8ff1cf1fe84489d12)
|
|
46716
|
+
check_type(argname="argument file_system_id", value=file_system_id, expected_type=type_hints["file_system_id"])
|
|
46717
|
+
check_type(argname="argument file_system_path", value=file_system_path, expected_type=type_hints["file_system_path"])
|
|
46718
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
46719
|
+
"file_system_id": file_system_id,
|
|
46720
|
+
}
|
|
46721
|
+
if file_system_path is not None:
|
|
46722
|
+
self._values["file_system_path"] = file_system_path
|
|
46723
|
+
|
|
46724
|
+
@builtins.property
|
|
46725
|
+
def file_system_id(self) -> builtins.str:
|
|
46726
|
+
'''The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.
|
|
46727
|
+
|
|
46728
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-fsxlustrefilesystemconfig.html#cfn-sagemaker-userprofile-fsxlustrefilesystemconfig-filesystemid
|
|
46729
|
+
'''
|
|
46730
|
+
result = self._values.get("file_system_id")
|
|
46731
|
+
assert result is not None, "Required property 'file_system_id' is missing"
|
|
46732
|
+
return typing.cast(builtins.str, result)
|
|
46733
|
+
|
|
46734
|
+
@builtins.property
|
|
46735
|
+
def file_system_path(self) -> typing.Optional[builtins.str]:
|
|
46736
|
+
'''The path to the file system directory that is accessible in Amazon SageMaker Studio.
|
|
46737
|
+
|
|
46738
|
+
Permitted users can access only this directory and below.
|
|
46739
|
+
|
|
46740
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-fsxlustrefilesystemconfig.html#cfn-sagemaker-userprofile-fsxlustrefilesystemconfig-filesystempath
|
|
46741
|
+
'''
|
|
46742
|
+
result = self._values.get("file_system_path")
|
|
46743
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
46744
|
+
|
|
46745
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
46746
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
46747
|
+
|
|
46748
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
46749
|
+
return not (rhs == self)
|
|
46750
|
+
|
|
46751
|
+
def __repr__(self) -> str:
|
|
46752
|
+
return "FSxLustreFileSystemConfigProperty(%s)" % ", ".join(
|
|
46753
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
46754
|
+
)
|
|
46755
|
+
|
|
46409
46756
|
@jsii.data_type(
|
|
46410
46757
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.IdleSettingsProperty",
|
|
46411
46758
|
jsii_struct_bases=[],
|
|
@@ -46766,8 +47113,8 @@ class CfnUserProfile(
|
|
|
46766
47113
|
) -> None:
|
|
46767
47114
|
'''The KernelGateway app settings.
|
|
46768
47115
|
|
|
46769
|
-
:param custom_images: A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
|
46770
|
-
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app. .. epigraph:: The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
47116
|
+
:param custom_images: A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
47117
|
+
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app. .. epigraph:: The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
46771
47118
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain. .. epigraph:: To remove a Lifecycle Config, you must set ``LifecycleConfigArns`` to an empty list.
|
|
46772
47119
|
|
|
46773
47120
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html
|
|
@@ -46813,7 +47160,7 @@ class CfnUserProfile(
|
|
|
46813
47160
|
def custom_images(
|
|
46814
47161
|
self,
|
|
46815
47162
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.CustomImageProperty"]]]]:
|
|
46816
|
-
'''A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
|
47163
|
+
'''A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
|
|
46817
47164
|
|
|
46818
47165
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html#cfn-sagemaker-userprofile-kernelgatewayappsettings-customimages
|
|
46819
47166
|
'''
|
|
@@ -46824,11 +47171,11 @@ class CfnUserProfile(
|
|
|
46824
47171
|
def default_resource_spec(
|
|
46825
47172
|
self,
|
|
46826
47173
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.ResourceSpecProperty"]]:
|
|
46827
|
-
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
|
|
47174
|
+
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.
|
|
46828
47175
|
|
|
46829
47176
|
.. epigraph::
|
|
46830
47177
|
|
|
46831
|
-
The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
47178
|
+
The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
|
|
46832
47179
|
|
|
46833
47180
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html#cfn-sagemaker-userprofile-kernelgatewayappsettings-defaultresourcespec
|
|
46834
47181
|
'''
|
|
@@ -46950,11 +47297,11 @@ class CfnUserProfile(
|
|
|
46950
47297
|
sage_maker_image_arn: typing.Optional[builtins.str] = None,
|
|
46951
47298
|
sage_maker_image_version_arn: typing.Optional[builtins.str] = None,
|
|
46952
47299
|
) -> None:
|
|
46953
|
-
'''Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
47300
|
+
'''Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.
|
|
46954
47301
|
|
|
46955
47302
|
:param instance_type: The instance type that the image version runs on. .. epigraph:: *JupyterServer apps* only support the ``system`` value. For *KernelGateway apps* , the ``system`` value is translated to ``ml.t3.medium`` . KernelGateway apps also support all other values for available instance types.
|
|
46956
47303
|
:param lifecycle_config_arn: The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
|
|
46957
|
-
:param sage_maker_image_arn: The ARN of the SageMaker image that the image version belongs to.
|
|
47304
|
+
:param sage_maker_image_arn: The ARN of the SageMaker AI image that the image version belongs to.
|
|
46958
47305
|
:param sage_maker_image_version_arn: The ARN of the image version created on the instance.
|
|
46959
47306
|
|
|
46960
47307
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html
|
|
@@ -47015,7 +47362,7 @@ class CfnUserProfile(
|
|
|
47015
47362
|
|
|
47016
47363
|
@builtins.property
|
|
47017
47364
|
def sage_maker_image_arn(self) -> typing.Optional[builtins.str]:
|
|
47018
|
-
'''The ARN of the SageMaker image that the image version belongs to.
|
|
47365
|
+
'''The ARN of the SageMaker AI image that the image version belongs to.
|
|
47019
47366
|
|
|
47020
47367
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html#cfn-sagemaker-userprofile-resourcespec-sagemakerimagearn
|
|
47021
47368
|
'''
|
|
@@ -47256,7 +47603,7 @@ class CfnUserProfile(
|
|
|
47256
47603
|
``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`` .
|
|
47257
47604
|
|
|
47258
47605
|
: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.
|
|
47259
|
-
: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 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.
|
|
47606
|
+
: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.
|
|
47260
47607
|
: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.
|
|
47261
47608
|
:param default_landing_uri: The default experience that the user is directed to when accessing the domain. The supported values are:. - ``studio::`` : Indicates that Studio is the default experience. This value can only be passed if ``StudioWebPortal`` is set to ``ENABLED`` . - ``app:JupyterServer:`` : Indicates that Studio Classic is the default experience.
|
|
47262
47609
|
: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.
|
|
@@ -47264,8 +47611,8 @@ class CfnUserProfile(
|
|
|
47264
47611
|
:param jupyter_server_app_settings: The Jupyter server's app settings.
|
|
47265
47612
|
:param kernel_gateway_app_settings: The kernel gateway app settings.
|
|
47266
47613
|
:param r_studio_server_pro_app_settings: A collection of settings that configure user interaction with the ``RStudioServerPro`` app.
|
|
47267
|
-
:param security_groups: The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication. Optional when the ``CreateDomain.AppNetworkAccessType`` parameter is set to ``PublicInternetOnly`` . Required when the ``CreateDomain.AppNetworkAccessType`` parameter is set to ``VpcOnly`` , unless specified as part of the ``DefaultUserSettings`` for the domain. Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
47268
|
-
:param sharing_settings: Specifies options for sharing Amazon SageMaker Studio notebooks.
|
|
47614
|
+
:param security_groups: The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication. Optional when the ``CreateDomain.AppNetworkAccessType`` parameter is set to ``PublicInternetOnly`` . Required when the ``CreateDomain.AppNetworkAccessType`` parameter is set to ``VpcOnly`` , unless specified as part of the ``DefaultUserSettings`` for the domain. Amazon SageMaker AI adds a security group to allow NFS traffic from Amazon SageMaker AI Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
47615
|
+
:param sharing_settings: Specifies options for sharing Amazon SageMaker AI Studio notebooks.
|
|
47269
47616
|
:param space_storage_settings: The storage settings for a space. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
47270
47617
|
:param studio_web_portal: Whether the user can access Studio. If this value is set to ``DISABLED`` , the user cannot access Studio, even if that is the default experience for the domain.
|
|
47271
47618
|
:param studio_web_portal_settings: Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.
|
|
@@ -47308,6 +47655,12 @@ class CfnUserProfile(
|
|
|
47308
47655
|
efs_file_system_config=sagemaker.CfnUserProfile.EFSFileSystemConfigProperty(
|
|
47309
47656
|
file_system_id="fileSystemId",
|
|
47310
47657
|
|
|
47658
|
+
# the properties below are optional
|
|
47659
|
+
file_system_path="fileSystemPath"
|
|
47660
|
+
),
|
|
47661
|
+
f_sx_lustre_file_system_config=sagemaker.CfnUserProfile.FSxLustreFileSystemConfigProperty(
|
|
47662
|
+
file_system_id="fileSystemId",
|
|
47663
|
+
|
|
47311
47664
|
# the properties below are optional
|
|
47312
47665
|
file_system_path="fileSystemPath"
|
|
47313
47666
|
)
|
|
@@ -47458,7 +47811,7 @@ class CfnUserProfile(
|
|
|
47458
47811
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.CustomFileSystemConfigProperty"]]]]:
|
|
47459
47812
|
'''The settings for assigning a custom file system to a user profile.
|
|
47460
47813
|
|
|
47461
|
-
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
47814
|
+
Permitted users can access this file system in Amazon SageMaker AI Studio.
|
|
47462
47815
|
|
|
47463
47816
|
SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
47464
47817
|
|
|
@@ -47557,7 +47910,7 @@ class CfnUserProfile(
|
|
|
47557
47910
|
|
|
47558
47911
|
Required when the ``CreateDomain.AppNetworkAccessType`` parameter is set to ``VpcOnly`` , unless specified as part of the ``DefaultUserSettings`` for the domain.
|
|
47559
47912
|
|
|
47560
|
-
Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
|
|
47913
|
+
Amazon SageMaker AI adds a security group to allow NFS traffic from Amazon SageMaker AI Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.
|
|
47561
47914
|
|
|
47562
47915
|
SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn't apply these settings to shared spaces.
|
|
47563
47916
|
|
|
@@ -47570,7 +47923,7 @@ class CfnUserProfile(
|
|
|
47570
47923
|
def sharing_settings(
|
|
47571
47924
|
self,
|
|
47572
47925
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.SharingSettingsProperty"]]:
|
|
47573
|
-
'''Specifies options for sharing Amazon SageMaker Studio notebooks.
|
|
47926
|
+
'''Specifies options for sharing Amazon SageMaker AI Studio notebooks.
|
|
47574
47927
|
|
|
47575
47928
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-sharingsettings
|
|
47576
47929
|
'''
|
|
@@ -47707,6 +48060,12 @@ class CfnUserProfileProps:
|
|
|
47707
48060
|
efs_file_system_config=sagemaker.CfnUserProfile.EFSFileSystemConfigProperty(
|
|
47708
48061
|
file_system_id="fileSystemId",
|
|
47709
48062
|
|
|
48063
|
+
# the properties below are optional
|
|
48064
|
+
file_system_path="fileSystemPath"
|
|
48065
|
+
),
|
|
48066
|
+
f_sx_lustre_file_system_config=sagemaker.CfnUserProfile.FSxLustreFileSystemConfigProperty(
|
|
48067
|
+
file_system_id="fileSystemId",
|
|
48068
|
+
|
|
47710
48069
|
# the properties below are optional
|
|
47711
48070
|
file_system_path="fileSystemPath"
|
|
47712
48071
|
)
|
|
@@ -49718,6 +50077,7 @@ def _typecheckingstub__1ca7d1d6cdc42171e1cf7375238fa986babdf04453e194f3a1f0615c6
|
|
|
49718
50077
|
def _typecheckingstub__acb2194c11b5367f9afdacac546d8288c9357d3ca5f49b7d828264eb239b24c8(
|
|
49719
50078
|
*,
|
|
49720
50079
|
efs_file_system_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.EFSFileSystemConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
50080
|
+
f_sx_lustre_file_system_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.FSxLustreFileSystemConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
49721
50081
|
) -> None:
|
|
49722
50082
|
"""Type checking stubs"""
|
|
49723
50083
|
pass
|
|
@@ -49794,6 +50154,14 @@ def _typecheckingstub__f58dbfc3d8dc294c7e7f3e4dbd80fef3d00950f110fa9f391ce587b6d
|
|
|
49794
50154
|
"""Type checking stubs"""
|
|
49795
50155
|
pass
|
|
49796
50156
|
|
|
50157
|
+
def _typecheckingstub__d8a1d62d2d0cebecfadffff928c7dca834df99c045099ba63d00955c27bdcc34(
|
|
50158
|
+
*,
|
|
50159
|
+
file_system_id: builtins.str,
|
|
50160
|
+
file_system_path: typing.Optional[builtins.str] = None,
|
|
50161
|
+
) -> None:
|
|
50162
|
+
"""Type checking stubs"""
|
|
50163
|
+
pass
|
|
50164
|
+
|
|
49797
50165
|
def _typecheckingstub__9e3d0f1226c122e790812fdc875a758ed55021588a3e9f6f3227062284b60c8b(
|
|
49798
50166
|
*,
|
|
49799
50167
|
idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
@@ -53948,6 +54316,7 @@ def _typecheckingstub__f9aa7dfa32bab52d4519b42abed08e2e1425842ac98fccc838efb6ab6
|
|
|
53948
54316
|
def _typecheckingstub__176823f1400da84e6a74d99732efcbf76ba89110f7c5a78a8ea1c95faec9ef80(
|
|
53949
54317
|
*,
|
|
53950
54318
|
efs_file_system: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.EFSFileSystemProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
54319
|
+
f_sx_lustre_file_system: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.FSxLustreFileSystemProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
53951
54320
|
) -> None:
|
|
53952
54321
|
"""Type checking stubs"""
|
|
53953
54322
|
pass
|
|
@@ -53975,6 +54344,13 @@ def _typecheckingstub__922d7202488e113b0556c43fbe71bd5aaccb81bf7a5ff6fb306cf83fc
|
|
|
53975
54344
|
"""Type checking stubs"""
|
|
53976
54345
|
pass
|
|
53977
54346
|
|
|
54347
|
+
def _typecheckingstub__33e372bfa6c071d94ce6b44a1c1f5ff0f184f4ef6b4d0a8fff8c0030b6791ee2(
|
|
54348
|
+
*,
|
|
54349
|
+
file_system_id: builtins.str,
|
|
54350
|
+
) -> None:
|
|
54351
|
+
"""Type checking stubs"""
|
|
54352
|
+
pass
|
|
54353
|
+
|
|
53978
54354
|
def _typecheckingstub__41c77062d743943bf9fdd4eb4d3d0369cc1794bdb7dd97873d2ed4e1f32a9449(
|
|
53979
54355
|
*,
|
|
53980
54356
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -54227,6 +54603,7 @@ def _typecheckingstub__8a85204216c7c66fb117971f3f03f1a13bc19b604efce2c469b7a4e20
|
|
|
54227
54603
|
def _typecheckingstub__f9203bac8296e14f4fd4a11939d2779a8f543105b9af12bf358b4053c4256e4d(
|
|
54228
54604
|
*,
|
|
54229
54605
|
efs_file_system_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.EFSFileSystemConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
54606
|
+
f_sx_lustre_file_system_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.FSxLustreFileSystemConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
54230
54607
|
) -> None:
|
|
54231
54608
|
"""Type checking stubs"""
|
|
54232
54609
|
pass
|
|
@@ -54271,6 +54648,14 @@ def _typecheckingstub__a31e83e9dc4907dba90a688b8095eb32a7c29ae9f1d2f32e4d18c55b8
|
|
|
54271
54648
|
"""Type checking stubs"""
|
|
54272
54649
|
pass
|
|
54273
54650
|
|
|
54651
|
+
def _typecheckingstub__8d6bd8a103ed4cf4233270d8bb52158950a2338a094df3c8ff1cf1fe84489d12(
|
|
54652
|
+
*,
|
|
54653
|
+
file_system_id: builtins.str,
|
|
54654
|
+
file_system_path: typing.Optional[builtins.str] = None,
|
|
54655
|
+
) -> None:
|
|
54656
|
+
"""Type checking stubs"""
|
|
54657
|
+
pass
|
|
54658
|
+
|
|
54274
54659
|
def _typecheckingstub__a4f947a25801ba152e8f9b88cabae6d5acefc670d4af60084ef7a8f1a7e21e9f(
|
|
54275
54660
|
*,
|
|
54276
54661
|
idle_timeout_in_minutes: typing.Optional[jsii.Number] = None,
|