aws-cdk-lib 2.125.0__py3-none-any.whl → 2.127.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +0 -2
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.125.0.jsii.tgz → aws-cdk-lib@2.127.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +18 -6
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_amplifyuibuilder/__init__.py +1212 -666
- aws_cdk/aws_apigateway/__init__.py +7 -3
- aws_cdk/aws_appconfig/__init__.py +108 -19
- aws_cdk/aws_appsync/__init__.py +43 -0
- aws_cdk/aws_autoscaling/__init__.py +37 -14
- aws_cdk/aws_cassandra/__init__.py +810 -4
- aws_cdk/aws_cloudfront/__init__.py +35 -37
- aws_cdk/aws_cloudfront/experimental/__init__.py +21 -0
- aws_cdk/aws_codebuild/__init__.py +43 -3
- aws_cdk/aws_codecommit/__init__.py +1 -0
- aws_cdk/aws_codepipeline/__init__.py +7 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +11 -1
- aws_cdk/aws_codestarnotifications/__init__.py +24 -15
- aws_cdk/aws_cognito/__init__.py +180 -116
- aws_cdk/aws_datasync/__init__.py +8 -4
- aws_cdk/aws_dynamodb/__init__.py +80 -11
- aws_cdk/aws_ec2/__init__.py +207 -45
- aws_cdk/aws_ecs/__init__.py +171 -78
- aws_cdk/aws_ecs_patterns/__init__.py +24 -0
- aws_cdk/aws_efs/__init__.py +64 -8
- aws_cdk/aws_eks/__init__.py +52 -41
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +12 -9
- aws_cdk/aws_fis/__init__.py +32 -12
- aws_cdk/aws_fsx/__init__.py +61 -43
- aws_cdk/aws_glue/__init__.py +449 -0
- aws_cdk/aws_guardduty/__init__.py +0 -8
- aws_cdk/aws_iam/__init__.py +3 -3
- aws_cdk/aws_inspectorv2/__init__.py +989 -0
- aws_cdk/aws_internetmonitor/__init__.py +10 -12
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotwireless/__init__.py +32 -19
- aws_cdk/aws_lambda/__init__.py +129 -32
- aws_cdk/aws_lambda_event_sources/__init__.py +95 -4
- aws_cdk/aws_lambda_nodejs/__init__.py +21 -0
- aws_cdk/aws_location/__init__.py +8 -2
- aws_cdk/aws_logs/__init__.py +7 -3
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +4 -4
- aws_cdk/aws_osis/__init__.py +13 -13
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +7 -10
- aws_cdk/aws_rds/__init__.py +449 -8
- aws_cdk/aws_redshiftserverless/__init__.py +282 -0
- aws_cdk/aws_rolesanywhere/__init__.py +53 -41
- aws_cdk/aws_route53/__init__.py +282 -0
- aws_cdk/aws_s3/__init__.py +11 -6
- aws_cdk/aws_sagemaker/__init__.py +1398 -39
- aws_cdk/aws_sns/__init__.py +56 -13
- aws_cdk/aws_sqs/__init__.py +13 -10
- aws_cdk/aws_stepfunctions/__init__.py +3612 -1395
- aws_cdk/aws_stepfunctions_tasks/__init__.py +267 -181
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +55 -55
- aws_cdk/aws_workspacesweb/__init__.py +6 -3
- aws_cdk/cx_api/__init__.py +17 -0
- aws_cdk/triggers/__init__.py +21 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/RECORD +68 -69
- aws_cdk/aws_ssmguiconnect/__init__.py +0 -540
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.125.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/top_level.txt +0 -0
|
@@ -371,7 +371,7 @@ class CfnAppImageConfig(
|
|
|
371
371
|
):
|
|
372
372
|
'''Creates a configuration for running a SageMaker image as a KernelGateway app.
|
|
373
373
|
|
|
374
|
-
The configuration specifies the Amazon Elastic File System
|
|
374
|
+
The configuration specifies the Amazon Elastic File System storage volume on the image, and a list of the kernels in the image.
|
|
375
375
|
|
|
376
376
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html
|
|
377
377
|
:cloudformationResource: AWS::SageMaker::AppImageConfig
|
|
@@ -387,6 +387,16 @@ class CfnAppImageConfig(
|
|
|
387
387
|
app_image_config_name="appImageConfigName",
|
|
388
388
|
|
|
389
389
|
# the properties below are optional
|
|
390
|
+
jupyter_lab_app_image_config=sagemaker.CfnAppImageConfig.JupyterLabAppImageConfigProperty(
|
|
391
|
+
container_config=sagemaker.CfnAppImageConfig.ContainerConfigProperty(
|
|
392
|
+
container_arguments=["containerArguments"],
|
|
393
|
+
container_entrypoint=["containerEntrypoint"],
|
|
394
|
+
container_environment_variables=[sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty(
|
|
395
|
+
key="key",
|
|
396
|
+
value="value"
|
|
397
|
+
)]
|
|
398
|
+
)
|
|
399
|
+
),
|
|
390
400
|
kernel_gateway_image_config=sagemaker.CfnAppImageConfig.KernelGatewayImageConfigProperty(
|
|
391
401
|
kernel_specs=[sagemaker.CfnAppImageConfig.KernelSpecProperty(
|
|
392
402
|
name="name",
|
|
@@ -415,6 +425,7 @@ class CfnAppImageConfig(
|
|
|
415
425
|
id: builtins.str,
|
|
416
426
|
*,
|
|
417
427
|
app_image_config_name: builtins.str,
|
|
428
|
+
jupyter_lab_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.JupyterLabAppImageConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
418
429
|
kernel_gateway_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.KernelGatewayImageConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
419
430
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
420
431
|
) -> None:
|
|
@@ -422,6 +433,7 @@ class CfnAppImageConfig(
|
|
|
422
433
|
:param scope: Scope in which this resource is defined.
|
|
423
434
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
424
435
|
:param app_image_config_name: The name of the AppImageConfig. Must be unique to your account.
|
|
436
|
+
:param jupyter_lab_app_image_config: The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
425
437
|
:param kernel_gateway_image_config: The configuration for the file system and kernels in the SageMaker image.
|
|
426
438
|
: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>`_ .
|
|
427
439
|
'''
|
|
@@ -431,6 +443,7 @@ class CfnAppImageConfig(
|
|
|
431
443
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
432
444
|
props = CfnAppImageConfigProps(
|
|
433
445
|
app_image_config_name=app_image_config_name,
|
|
446
|
+
jupyter_lab_app_image_config=jupyter_lab_app_image_config,
|
|
434
447
|
kernel_gateway_image_config=kernel_gateway_image_config,
|
|
435
448
|
tags=tags,
|
|
436
449
|
)
|
|
@@ -500,6 +513,24 @@ class CfnAppImageConfig(
|
|
|
500
513
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
501
514
|
jsii.set(self, "appImageConfigName", value)
|
|
502
515
|
|
|
516
|
+
@builtins.property
|
|
517
|
+
@jsii.member(jsii_name="jupyterLabAppImageConfig")
|
|
518
|
+
def jupyter_lab_app_image_config(
|
|
519
|
+
self,
|
|
520
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.JupyterLabAppImageConfigProperty"]]:
|
|
521
|
+
'''The configuration for the file system and the runtime, such as the environment variables and entry point.'''
|
|
522
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.JupyterLabAppImageConfigProperty"]], jsii.get(self, "jupyterLabAppImageConfig"))
|
|
523
|
+
|
|
524
|
+
@jupyter_lab_app_image_config.setter
|
|
525
|
+
def jupyter_lab_app_image_config(
|
|
526
|
+
self,
|
|
527
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.JupyterLabAppImageConfigProperty"]],
|
|
528
|
+
) -> None:
|
|
529
|
+
if __debug__:
|
|
530
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aef39f4d8911200135ee7fdb47a08f8fa45069c4180729da9af97fa961d49e1a)
|
|
531
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
532
|
+
jsii.set(self, "jupyterLabAppImageConfig", value)
|
|
533
|
+
|
|
503
534
|
@builtins.property
|
|
504
535
|
@jsii.member(jsii_name="kernelGatewayImageConfig")
|
|
505
536
|
def kernel_gateway_image_config(
|
|
@@ -531,6 +562,166 @@ class CfnAppImageConfig(
|
|
|
531
562
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
532
563
|
jsii.set(self, "tagsRaw", value)
|
|
533
564
|
|
|
565
|
+
@jsii.data_type(
|
|
566
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnAppImageConfig.ContainerConfigProperty",
|
|
567
|
+
jsii_struct_bases=[],
|
|
568
|
+
name_mapping={
|
|
569
|
+
"container_arguments": "containerArguments",
|
|
570
|
+
"container_entrypoint": "containerEntrypoint",
|
|
571
|
+
"container_environment_variables": "containerEnvironmentVariables",
|
|
572
|
+
},
|
|
573
|
+
)
|
|
574
|
+
class ContainerConfigProperty:
|
|
575
|
+
def __init__(
|
|
576
|
+
self,
|
|
577
|
+
*,
|
|
578
|
+
container_arguments: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
579
|
+
container_entrypoint: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
580
|
+
container_environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
581
|
+
) -> None:
|
|
582
|
+
'''The configuration used to run the application image container.
|
|
583
|
+
|
|
584
|
+
:param container_arguments: The arguments for the container when you're running the application.
|
|
585
|
+
:param container_entrypoint: The entrypoint used to run the application in the container.
|
|
586
|
+
:param container_environment_variables: The environment variables to set in the container.
|
|
587
|
+
|
|
588
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-containerconfig.html
|
|
589
|
+
:exampleMetadata: fixture=_generated
|
|
590
|
+
|
|
591
|
+
Example::
|
|
592
|
+
|
|
593
|
+
# The code below shows an example of how to instantiate this type.
|
|
594
|
+
# The values are placeholders you should change.
|
|
595
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
596
|
+
|
|
597
|
+
container_config_property = sagemaker.CfnAppImageConfig.ContainerConfigProperty(
|
|
598
|
+
container_arguments=["containerArguments"],
|
|
599
|
+
container_entrypoint=["containerEntrypoint"],
|
|
600
|
+
container_environment_variables=[sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty(
|
|
601
|
+
key="key",
|
|
602
|
+
value="value"
|
|
603
|
+
)]
|
|
604
|
+
)
|
|
605
|
+
'''
|
|
606
|
+
if __debug__:
|
|
607
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8b3f36d6876284a715882d9b4c7e6a8165d5d73b8f920f2b775524b827da5e17)
|
|
608
|
+
check_type(argname="argument container_arguments", value=container_arguments, expected_type=type_hints["container_arguments"])
|
|
609
|
+
check_type(argname="argument container_entrypoint", value=container_entrypoint, expected_type=type_hints["container_entrypoint"])
|
|
610
|
+
check_type(argname="argument container_environment_variables", value=container_environment_variables, expected_type=type_hints["container_environment_variables"])
|
|
611
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
612
|
+
if container_arguments is not None:
|
|
613
|
+
self._values["container_arguments"] = container_arguments
|
|
614
|
+
if container_entrypoint is not None:
|
|
615
|
+
self._values["container_entrypoint"] = container_entrypoint
|
|
616
|
+
if container_environment_variables is not None:
|
|
617
|
+
self._values["container_environment_variables"] = container_environment_variables
|
|
618
|
+
|
|
619
|
+
@builtins.property
|
|
620
|
+
def container_arguments(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
621
|
+
'''The arguments for the container when you're running the application.
|
|
622
|
+
|
|
623
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-containerconfig.html#cfn-sagemaker-appimageconfig-containerconfig-containerarguments
|
|
624
|
+
'''
|
|
625
|
+
result = self._values.get("container_arguments")
|
|
626
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
627
|
+
|
|
628
|
+
@builtins.property
|
|
629
|
+
def container_entrypoint(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
630
|
+
'''The entrypoint used to run the application in the container.
|
|
631
|
+
|
|
632
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-containerconfig.html#cfn-sagemaker-appimageconfig-containerconfig-containerentrypoint
|
|
633
|
+
'''
|
|
634
|
+
result = self._values.get("container_entrypoint")
|
|
635
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
636
|
+
|
|
637
|
+
@builtins.property
|
|
638
|
+
def container_environment_variables(
|
|
639
|
+
self,
|
|
640
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty"]]]]:
|
|
641
|
+
'''The environment variables to set in the container.
|
|
642
|
+
|
|
643
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-containerconfig.html#cfn-sagemaker-appimageconfig-containerconfig-containerenvironmentvariables
|
|
644
|
+
'''
|
|
645
|
+
result = self._values.get("container_environment_variables")
|
|
646
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty"]]]], result)
|
|
647
|
+
|
|
648
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
649
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
650
|
+
|
|
651
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
652
|
+
return not (rhs == self)
|
|
653
|
+
|
|
654
|
+
def __repr__(self) -> str:
|
|
655
|
+
return "ContainerConfigProperty(%s)" % ", ".join(
|
|
656
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
657
|
+
)
|
|
658
|
+
|
|
659
|
+
@jsii.data_type(
|
|
660
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty",
|
|
661
|
+
jsii_struct_bases=[],
|
|
662
|
+
name_mapping={"key": "key", "value": "value"},
|
|
663
|
+
)
|
|
664
|
+
class CustomImageContainerEnvironmentVariableProperty:
|
|
665
|
+
def __init__(self, *, key: builtins.str, value: builtins.str) -> None:
|
|
666
|
+
'''The environment variables to set in the container.
|
|
667
|
+
|
|
668
|
+
:param key: The key that identifies a container environment variable.
|
|
669
|
+
:param value: The value of the container environment variable.
|
|
670
|
+
|
|
671
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-customimagecontainerenvironmentvariable.html
|
|
672
|
+
:exampleMetadata: fixture=_generated
|
|
673
|
+
|
|
674
|
+
Example::
|
|
675
|
+
|
|
676
|
+
# The code below shows an example of how to instantiate this type.
|
|
677
|
+
# The values are placeholders you should change.
|
|
678
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
679
|
+
|
|
680
|
+
custom_image_container_environment_variable_property = sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty(
|
|
681
|
+
key="key",
|
|
682
|
+
value="value"
|
|
683
|
+
)
|
|
684
|
+
'''
|
|
685
|
+
if __debug__:
|
|
686
|
+
type_hints = typing.get_type_hints(_typecheckingstub__98e74d81e240bc1b803f8637c6283046025ad0daa03d87091e2b1084f0f3d2c6)
|
|
687
|
+
check_type(argname="argument key", value=key, expected_type=type_hints["key"])
|
|
688
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
689
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
690
|
+
"key": key,
|
|
691
|
+
"value": value,
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
@builtins.property
|
|
695
|
+
def key(self) -> builtins.str:
|
|
696
|
+
'''The key that identifies a container environment variable.
|
|
697
|
+
|
|
698
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-customimagecontainerenvironmentvariable.html#cfn-sagemaker-appimageconfig-customimagecontainerenvironmentvariable-key
|
|
699
|
+
'''
|
|
700
|
+
result = self._values.get("key")
|
|
701
|
+
assert result is not None, "Required property 'key' is missing"
|
|
702
|
+
return typing.cast(builtins.str, result)
|
|
703
|
+
|
|
704
|
+
@builtins.property
|
|
705
|
+
def value(self) -> builtins.str:
|
|
706
|
+
'''The value of the container environment variable.
|
|
707
|
+
|
|
708
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-customimagecontainerenvironmentvariable.html#cfn-sagemaker-appimageconfig-customimagecontainerenvironmentvariable-value
|
|
709
|
+
'''
|
|
710
|
+
result = self._values.get("value")
|
|
711
|
+
assert result is not None, "Required property 'value' is missing"
|
|
712
|
+
return typing.cast(builtins.str, result)
|
|
713
|
+
|
|
714
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
715
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
716
|
+
|
|
717
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
718
|
+
return not (rhs == self)
|
|
719
|
+
|
|
720
|
+
def __repr__(self) -> str:
|
|
721
|
+
return "CustomImageContainerEnvironmentVariableProperty(%s)" % ", ".join(
|
|
722
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
723
|
+
)
|
|
724
|
+
|
|
534
725
|
@jsii.data_type(
|
|
535
726
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnAppImageConfig.FileSystemConfigProperty",
|
|
536
727
|
jsii_struct_bases=[],
|
|
@@ -548,7 +739,7 @@ class CfnAppImageConfig(
|
|
|
548
739
|
default_uid: typing.Optional[jsii.Number] = None,
|
|
549
740
|
mount_path: typing.Optional[builtins.str] = None,
|
|
550
741
|
) -> None:
|
|
551
|
-
'''The Amazon Elastic File System
|
|
742
|
+
'''The Amazon Elastic File System storage configuration for a SageMaker image.
|
|
552
743
|
|
|
553
744
|
:param default_gid: The default POSIX group ID (GID). If not specified, defaults to ``100`` .
|
|
554
745
|
:param default_uid: The default POSIX user ID (UID). If not specified, defaults to ``1000`` .
|
|
@@ -626,6 +817,70 @@ class CfnAppImageConfig(
|
|
|
626
817
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
627
818
|
)
|
|
628
819
|
|
|
820
|
+
@jsii.data_type(
|
|
821
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnAppImageConfig.JupyterLabAppImageConfigProperty",
|
|
822
|
+
jsii_struct_bases=[],
|
|
823
|
+
name_mapping={"container_config": "containerConfig"},
|
|
824
|
+
)
|
|
825
|
+
class JupyterLabAppImageConfigProperty:
|
|
826
|
+
def __init__(
|
|
827
|
+
self,
|
|
828
|
+
*,
|
|
829
|
+
container_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.ContainerConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
830
|
+
) -> None:
|
|
831
|
+
'''The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app.
|
|
832
|
+
|
|
833
|
+
:param container_config: The configuration used to run the application image container.
|
|
834
|
+
|
|
835
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-jupyterlabappimageconfig.html
|
|
836
|
+
:exampleMetadata: fixture=_generated
|
|
837
|
+
|
|
838
|
+
Example::
|
|
839
|
+
|
|
840
|
+
# The code below shows an example of how to instantiate this type.
|
|
841
|
+
# The values are placeholders you should change.
|
|
842
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
843
|
+
|
|
844
|
+
jupyter_lab_app_image_config_property = sagemaker.CfnAppImageConfig.JupyterLabAppImageConfigProperty(
|
|
845
|
+
container_config=sagemaker.CfnAppImageConfig.ContainerConfigProperty(
|
|
846
|
+
container_arguments=["containerArguments"],
|
|
847
|
+
container_entrypoint=["containerEntrypoint"],
|
|
848
|
+
container_environment_variables=[sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty(
|
|
849
|
+
key="key",
|
|
850
|
+
value="value"
|
|
851
|
+
)]
|
|
852
|
+
)
|
|
853
|
+
)
|
|
854
|
+
'''
|
|
855
|
+
if __debug__:
|
|
856
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bd5d67bc2196b2c23cd1a90bafc8959e0e0ab648e5d9b1751de6e158c015b17d)
|
|
857
|
+
check_type(argname="argument container_config", value=container_config, expected_type=type_hints["container_config"])
|
|
858
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
859
|
+
if container_config is not None:
|
|
860
|
+
self._values["container_config"] = container_config
|
|
861
|
+
|
|
862
|
+
@builtins.property
|
|
863
|
+
def container_config(
|
|
864
|
+
self,
|
|
865
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.ContainerConfigProperty"]]:
|
|
866
|
+
'''The configuration used to run the application image container.
|
|
867
|
+
|
|
868
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-jupyterlabappimageconfig.html#cfn-sagemaker-appimageconfig-jupyterlabappimageconfig-containerconfig
|
|
869
|
+
'''
|
|
870
|
+
result = self._values.get("container_config")
|
|
871
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.ContainerConfigProperty"]], result)
|
|
872
|
+
|
|
873
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
874
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
875
|
+
|
|
876
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
877
|
+
return not (rhs == self)
|
|
878
|
+
|
|
879
|
+
def __repr__(self) -> str:
|
|
880
|
+
return "JupyterLabAppImageConfigProperty(%s)" % ", ".join(
|
|
881
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
882
|
+
)
|
|
883
|
+
|
|
629
884
|
@jsii.data_type(
|
|
630
885
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnAppImageConfig.KernelGatewayImageConfigProperty",
|
|
631
886
|
jsii_struct_bases=[],
|
|
@@ -644,7 +899,7 @@ class CfnAppImageConfig(
|
|
|
644
899
|
'''The configuration for the file system and kernels in a SageMaker image running as a KernelGateway app.
|
|
645
900
|
|
|
646
901
|
:param kernel_specs: The specification of the Jupyter kernels in the image.
|
|
647
|
-
:param file_system_config: The Amazon Elastic File System
|
|
902
|
+
:param file_system_config: The Amazon Elastic File System storage configuration for a SageMaker image.
|
|
648
903
|
|
|
649
904
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelgatewayimageconfig.html
|
|
650
905
|
:exampleMetadata: fixture=_generated
|
|
@@ -697,7 +952,7 @@ class CfnAppImageConfig(
|
|
|
697
952
|
def file_system_config(
|
|
698
953
|
self,
|
|
699
954
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.FileSystemConfigProperty"]]:
|
|
700
|
-
'''The Amazon Elastic File System
|
|
955
|
+
'''The Amazon Elastic File System storage configuration for a SageMaker image.
|
|
701
956
|
|
|
702
957
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelgatewayimageconfig.html#cfn-sagemaker-appimageconfig-kernelgatewayimageconfig-filesystemconfig
|
|
703
958
|
'''
|
|
@@ -796,6 +1051,7 @@ class CfnAppImageConfig(
|
|
|
796
1051
|
jsii_struct_bases=[],
|
|
797
1052
|
name_mapping={
|
|
798
1053
|
"app_image_config_name": "appImageConfigName",
|
|
1054
|
+
"jupyter_lab_app_image_config": "jupyterLabAppImageConfig",
|
|
799
1055
|
"kernel_gateway_image_config": "kernelGatewayImageConfig",
|
|
800
1056
|
"tags": "tags",
|
|
801
1057
|
},
|
|
@@ -805,12 +1061,14 @@ class CfnAppImageConfigProps:
|
|
|
805
1061
|
self,
|
|
806
1062
|
*,
|
|
807
1063
|
app_image_config_name: builtins.str,
|
|
1064
|
+
jupyter_lab_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.JupyterLabAppImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
808
1065
|
kernel_gateway_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.KernelGatewayImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
809
1066
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
810
1067
|
) -> None:
|
|
811
1068
|
'''Properties for defining a ``CfnAppImageConfig``.
|
|
812
1069
|
|
|
813
1070
|
:param app_image_config_name: The name of the AppImageConfig. Must be unique to your account.
|
|
1071
|
+
:param jupyter_lab_app_image_config: The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
814
1072
|
:param kernel_gateway_image_config: The configuration for the file system and kernels in the SageMaker image.
|
|
815
1073
|
: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>`_ .
|
|
816
1074
|
|
|
@@ -827,6 +1085,16 @@ class CfnAppImageConfigProps:
|
|
|
827
1085
|
app_image_config_name="appImageConfigName",
|
|
828
1086
|
|
|
829
1087
|
# the properties below are optional
|
|
1088
|
+
jupyter_lab_app_image_config=sagemaker.CfnAppImageConfig.JupyterLabAppImageConfigProperty(
|
|
1089
|
+
container_config=sagemaker.CfnAppImageConfig.ContainerConfigProperty(
|
|
1090
|
+
container_arguments=["containerArguments"],
|
|
1091
|
+
container_entrypoint=["containerEntrypoint"],
|
|
1092
|
+
container_environment_variables=[sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty(
|
|
1093
|
+
key="key",
|
|
1094
|
+
value="value"
|
|
1095
|
+
)]
|
|
1096
|
+
)
|
|
1097
|
+
),
|
|
830
1098
|
kernel_gateway_image_config=sagemaker.CfnAppImageConfig.KernelGatewayImageConfigProperty(
|
|
831
1099
|
kernel_specs=[sagemaker.CfnAppImageConfig.KernelSpecProperty(
|
|
832
1100
|
name="name",
|
|
@@ -851,11 +1119,14 @@ class CfnAppImageConfigProps:
|
|
|
851
1119
|
if __debug__:
|
|
852
1120
|
type_hints = typing.get_type_hints(_typecheckingstub__ff2672f4d222b0d6bb376871aa42ac2f1c78c70d0a1aa2fd3f19e08fcbb07857)
|
|
853
1121
|
check_type(argname="argument app_image_config_name", value=app_image_config_name, expected_type=type_hints["app_image_config_name"])
|
|
1122
|
+
check_type(argname="argument jupyter_lab_app_image_config", value=jupyter_lab_app_image_config, expected_type=type_hints["jupyter_lab_app_image_config"])
|
|
854
1123
|
check_type(argname="argument kernel_gateway_image_config", value=kernel_gateway_image_config, expected_type=type_hints["kernel_gateway_image_config"])
|
|
855
1124
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
856
1125
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
857
1126
|
"app_image_config_name": app_image_config_name,
|
|
858
1127
|
}
|
|
1128
|
+
if jupyter_lab_app_image_config is not None:
|
|
1129
|
+
self._values["jupyter_lab_app_image_config"] = jupyter_lab_app_image_config
|
|
859
1130
|
if kernel_gateway_image_config is not None:
|
|
860
1131
|
self._values["kernel_gateway_image_config"] = kernel_gateway_image_config
|
|
861
1132
|
if tags is not None:
|
|
@@ -873,6 +1144,17 @@ class CfnAppImageConfigProps:
|
|
|
873
1144
|
assert result is not None, "Required property 'app_image_config_name' is missing"
|
|
874
1145
|
return typing.cast(builtins.str, result)
|
|
875
1146
|
|
|
1147
|
+
@builtins.property
|
|
1148
|
+
def jupyter_lab_app_image_config(
|
|
1149
|
+
self,
|
|
1150
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppImageConfig.JupyterLabAppImageConfigProperty]]:
|
|
1151
|
+
'''The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
1152
|
+
|
|
1153
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html#cfn-sagemaker-appimageconfig-jupyterlabappimageconfig
|
|
1154
|
+
'''
|
|
1155
|
+
result = self._values.get("jupyter_lab_app_image_config")
|
|
1156
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppImageConfig.JupyterLabAppImageConfigProperty]], result)
|
|
1157
|
+
|
|
876
1158
|
@builtins.property
|
|
877
1159
|
def kernel_gateway_image_config(
|
|
878
1160
|
self,
|
|
@@ -4527,7 +4809,7 @@ class CfnDomain(
|
|
|
4527
4809
|
):
|
|
4528
4810
|
'''Creates a ``Domain`` .
|
|
4529
4811
|
|
|
4530
|
-
A domain consists of an associated Amazon Elastic File System
|
|
4812
|
+
A domain consists of an associated Amazon Elastic File System volume, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. Users within a domain can share notebook files and other artifacts with each other.
|
|
4531
4813
|
|
|
4532
4814
|
*EFS storage*
|
|
4533
4815
|
|
|
@@ -4537,7 +4819,7 @@ class CfnDomain(
|
|
|
4537
4819
|
|
|
4538
4820
|
*VPC configuration*
|
|
4539
4821
|
|
|
4540
|
-
All traffic between the domain and the 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:
|
|
4822
|
+
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:
|
|
4541
4823
|
|
|
4542
4824
|
- ``PublicInternetOnly`` - Non-EFS traffic goes through a VPC managed by Amazon SageMaker, which allows internet access. This is the default value.
|
|
4543
4825
|
- ``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.
|
|
@@ -4699,6 +4981,10 @@ class CfnDomain(
|
|
|
4699
4981
|
security_groups=["securityGroups"]
|
|
4700
4982
|
),
|
|
4701
4983
|
domain_settings=sagemaker.CfnDomain.DomainSettingsProperty(
|
|
4984
|
+
docker_settings=sagemaker.CfnDomain.DockerSettingsProperty(
|
|
4985
|
+
enable_docker_access="enableDockerAccess",
|
|
4986
|
+
vpc_only_trusted_accounts=["vpcOnlyTrustedAccounts"]
|
|
4987
|
+
),
|
|
4702
4988
|
r_studio_server_pro_domain_settings=sagemaker.CfnDomain.RStudioServerProDomainSettingsProperty(
|
|
4703
4989
|
domain_execution_role_arn="domainExecutionRoleArn",
|
|
4704
4990
|
|
|
@@ -4749,7 +5035,7 @@ class CfnDomain(
|
|
|
4749
5035
|
: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]+``
|
|
4750
5036
|
: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``
|
|
4751
5037
|
: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``
|
|
4752
|
-
:param default_space_settings: A collection of settings that apply to spaces created in the
|
|
5038
|
+
:param default_space_settings: A collection of settings that apply to spaces created in the domain.
|
|
4753
5039
|
:param domain_settings: A collection of settings that apply to the ``SageMaker Domain`` . These settings are specified through the ``CreateDomain`` API call.
|
|
4754
5040
|
:param kms_key_id: SageMaker uses AWS KMS to encrypt the EFS volume attached to the Domain with an AWS managed customer master key (CMK) by default. For more control, specify a customer managed CMK. *Length Constraints* : Maximum length of 2048. *Pattern* : ``.*``
|
|
4755
5041
|
:param tags: Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API. Tags that you specify for the Domain are also added to all apps that are launched in the Domain. *Array members* : Minimum number of 0 items. Maximum number of 50 items.
|
|
@@ -4987,7 +5273,7 @@ class CfnDomain(
|
|
|
4987
5273
|
def default_space_settings(
|
|
4988
5274
|
self,
|
|
4989
5275
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.DefaultSpaceSettingsProperty"]]:
|
|
4990
|
-
'''A collection of settings that apply to spaces created in the
|
|
5276
|
+
'''A collection of settings that apply to spaces created in the domain.'''
|
|
4991
5277
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.DefaultSpaceSettingsProperty"]], jsii.get(self, "defaultSpaceSettings"))
|
|
4992
5278
|
|
|
4993
5279
|
@default_space_settings.setter
|
|
@@ -5063,7 +5349,7 @@ class CfnDomain(
|
|
|
5063
5349
|
|
|
5064
5350
|
For more information about Code Editor, see `Get started with Code Editor in Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html>`_ .
|
|
5065
5351
|
|
|
5066
|
-
:param default_resource_spec:
|
|
5352
|
+
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.
|
|
5067
5353
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
5068
5354
|
|
|
5069
5355
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-codeeditorappsettings.html
|
|
@@ -5099,7 +5385,8 @@ class CfnDomain(
|
|
|
5099
5385
|
def default_resource_spec(
|
|
5100
5386
|
self,
|
|
5101
5387
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.ResourceSpecProperty"]]:
|
|
5102
|
-
'''
|
|
5388
|
+
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.
|
|
5389
|
+
|
|
5103
5390
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-codeeditorappsettings.html#cfn-sagemaker-domain-codeeditorappsettings-defaultresourcespec
|
|
5104
5391
|
'''
|
|
5105
5392
|
result = self._values.get("default_resource_spec")
|
|
@@ -5496,12 +5783,12 @@ class CfnDomain(
|
|
|
5496
5783
|
kernel_gateway_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.KernelGatewayAppSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5497
5784
|
security_groups: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5498
5785
|
) -> None:
|
|
5499
|
-
'''A collection of settings that apply to spaces created in the
|
|
5786
|
+
'''A collection of settings that apply to spaces created in the domain.
|
|
5500
5787
|
|
|
5501
5788
|
:param execution_role: The ARN of the execution role for the space.
|
|
5502
5789
|
:param jupyter_server_app_settings: The JupyterServer app settings.
|
|
5503
5790
|
:param kernel_gateway_app_settings: The KernelGateway app settings.
|
|
5504
|
-
:param security_groups: The security group IDs for the Amazon
|
|
5791
|
+
:param security_groups: The security group IDs for the Amazon VPC that the space uses for communication.
|
|
5505
5792
|
|
|
5506
5793
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html
|
|
5507
5794
|
:exampleMetadata: fixture=_generated
|
|
@@ -5592,7 +5879,7 @@ class CfnDomain(
|
|
|
5592
5879
|
|
|
5593
5880
|
@builtins.property
|
|
5594
5881
|
def security_groups(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
5595
|
-
'''The security group IDs for the Amazon
|
|
5882
|
+
'''The security group IDs for the Amazon VPC that the space uses for communication.
|
|
5596
5883
|
|
|
5597
5884
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html#cfn-sagemaker-domain-defaultspacesettings-securitygroups
|
|
5598
5885
|
'''
|
|
@@ -5670,10 +5957,86 @@ class CfnDomain(
|
|
|
5670
5957
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
5671
5958
|
)
|
|
5672
5959
|
|
|
5960
|
+
@jsii.data_type(
|
|
5961
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.DockerSettingsProperty",
|
|
5962
|
+
jsii_struct_bases=[],
|
|
5963
|
+
name_mapping={
|
|
5964
|
+
"enable_docker_access": "enableDockerAccess",
|
|
5965
|
+
"vpc_only_trusted_accounts": "vpcOnlyTrustedAccounts",
|
|
5966
|
+
},
|
|
5967
|
+
)
|
|
5968
|
+
class DockerSettingsProperty:
|
|
5969
|
+
def __init__(
|
|
5970
|
+
self,
|
|
5971
|
+
*,
|
|
5972
|
+
enable_docker_access: typing.Optional[builtins.str] = None,
|
|
5973
|
+
vpc_only_trusted_accounts: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5974
|
+
) -> None:
|
|
5975
|
+
'''A collection of settings that configure the domain's Docker interaction.
|
|
5976
|
+
|
|
5977
|
+
:param enable_docker_access: Indicates whether the domain can access Docker.
|
|
5978
|
+
:param vpc_only_trusted_accounts: The list of AWS accounts that are trusted when the domain is created in VPC-only mode.
|
|
5979
|
+
|
|
5980
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-dockersettings.html
|
|
5981
|
+
:exampleMetadata: fixture=_generated
|
|
5982
|
+
|
|
5983
|
+
Example::
|
|
5984
|
+
|
|
5985
|
+
# The code below shows an example of how to instantiate this type.
|
|
5986
|
+
# The values are placeholders you should change.
|
|
5987
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
5988
|
+
|
|
5989
|
+
docker_settings_property = sagemaker.CfnDomain.DockerSettingsProperty(
|
|
5990
|
+
enable_docker_access="enableDockerAccess",
|
|
5991
|
+
vpc_only_trusted_accounts=["vpcOnlyTrustedAccounts"]
|
|
5992
|
+
)
|
|
5993
|
+
'''
|
|
5994
|
+
if __debug__:
|
|
5995
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1936e7c64bbc1c0c5b8c086a1111acac047651d9cb6495a9c2f8961d2ede3cd7)
|
|
5996
|
+
check_type(argname="argument enable_docker_access", value=enable_docker_access, expected_type=type_hints["enable_docker_access"])
|
|
5997
|
+
check_type(argname="argument vpc_only_trusted_accounts", value=vpc_only_trusted_accounts, expected_type=type_hints["vpc_only_trusted_accounts"])
|
|
5998
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5999
|
+
if enable_docker_access is not None:
|
|
6000
|
+
self._values["enable_docker_access"] = enable_docker_access
|
|
6001
|
+
if vpc_only_trusted_accounts is not None:
|
|
6002
|
+
self._values["vpc_only_trusted_accounts"] = vpc_only_trusted_accounts
|
|
6003
|
+
|
|
6004
|
+
@builtins.property
|
|
6005
|
+
def enable_docker_access(self) -> typing.Optional[builtins.str]:
|
|
6006
|
+
'''Indicates whether the domain can access Docker.
|
|
6007
|
+
|
|
6008
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-dockersettings.html#cfn-sagemaker-domain-dockersettings-enabledockeraccess
|
|
6009
|
+
'''
|
|
6010
|
+
result = self._values.get("enable_docker_access")
|
|
6011
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6012
|
+
|
|
6013
|
+
@builtins.property
|
|
6014
|
+
def vpc_only_trusted_accounts(
|
|
6015
|
+
self,
|
|
6016
|
+
) -> typing.Optional[typing.List[builtins.str]]:
|
|
6017
|
+
'''The list of AWS accounts that are trusted when the domain is created in VPC-only mode.
|
|
6018
|
+
|
|
6019
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-dockersettings.html#cfn-sagemaker-domain-dockersettings-vpconlytrustedaccounts
|
|
6020
|
+
'''
|
|
6021
|
+
result = self._values.get("vpc_only_trusted_accounts")
|
|
6022
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
6023
|
+
|
|
6024
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6025
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6026
|
+
|
|
6027
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6028
|
+
return not (rhs == self)
|
|
6029
|
+
|
|
6030
|
+
def __repr__(self) -> str:
|
|
6031
|
+
return "DockerSettingsProperty(%s)" % ", ".join(
|
|
6032
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6033
|
+
)
|
|
6034
|
+
|
|
5673
6035
|
@jsii.data_type(
|
|
5674
6036
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.DomainSettingsProperty",
|
|
5675
6037
|
jsii_struct_bases=[],
|
|
5676
6038
|
name_mapping={
|
|
6039
|
+
"docker_settings": "dockerSettings",
|
|
5677
6040
|
"r_studio_server_pro_domain_settings": "rStudioServerProDomainSettings",
|
|
5678
6041
|
"security_group_ids": "securityGroupIds",
|
|
5679
6042
|
},
|
|
@@ -5682,6 +6045,7 @@ class CfnDomain(
|
|
|
5682
6045
|
def __init__(
|
|
5683
6046
|
self,
|
|
5684
6047
|
*,
|
|
6048
|
+
docker_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.DockerSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5685
6049
|
r_studio_server_pro_domain_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.RStudioServerProDomainSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5686
6050
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5687
6051
|
) -> None:
|
|
@@ -5689,6 +6053,7 @@ class CfnDomain(
|
|
|
5689
6053
|
|
|
5690
6054
|
These settings are specified through the ``CreateDomain`` API call.
|
|
5691
6055
|
|
|
6056
|
+
:param docker_settings: A collection of settings that configure the domain's Docker interaction.
|
|
5692
6057
|
:param r_studio_server_pro_domain_settings: A collection of settings that configure the ``RStudioServerPro`` Domain-level app.
|
|
5693
6058
|
: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.
|
|
5694
6059
|
|
|
@@ -5702,6 +6067,10 @@ class CfnDomain(
|
|
|
5702
6067
|
from aws_cdk import aws_sagemaker as sagemaker
|
|
5703
6068
|
|
|
5704
6069
|
domain_settings_property = sagemaker.CfnDomain.DomainSettingsProperty(
|
|
6070
|
+
docker_settings=sagemaker.CfnDomain.DockerSettingsProperty(
|
|
6071
|
+
enable_docker_access="enableDockerAccess",
|
|
6072
|
+
vpc_only_trusted_accounts=["vpcOnlyTrustedAccounts"]
|
|
6073
|
+
),
|
|
5705
6074
|
r_studio_server_pro_domain_settings=sagemaker.CfnDomain.RStudioServerProDomainSettingsProperty(
|
|
5706
6075
|
domain_execution_role_arn="domainExecutionRoleArn",
|
|
5707
6076
|
|
|
@@ -5720,14 +6089,28 @@ class CfnDomain(
|
|
|
5720
6089
|
'''
|
|
5721
6090
|
if __debug__:
|
|
5722
6091
|
type_hints = typing.get_type_hints(_typecheckingstub__b23323cc301476d59d77a279da88bfc3d14a3c21fb8709a0ecc6db6074a56cf9)
|
|
6092
|
+
check_type(argname="argument docker_settings", value=docker_settings, expected_type=type_hints["docker_settings"])
|
|
5723
6093
|
check_type(argname="argument r_studio_server_pro_domain_settings", value=r_studio_server_pro_domain_settings, expected_type=type_hints["r_studio_server_pro_domain_settings"])
|
|
5724
6094
|
check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
|
|
5725
6095
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6096
|
+
if docker_settings is not None:
|
|
6097
|
+
self._values["docker_settings"] = docker_settings
|
|
5726
6098
|
if r_studio_server_pro_domain_settings is not None:
|
|
5727
6099
|
self._values["r_studio_server_pro_domain_settings"] = r_studio_server_pro_domain_settings
|
|
5728
6100
|
if security_group_ids is not None:
|
|
5729
6101
|
self._values["security_group_ids"] = security_group_ids
|
|
5730
6102
|
|
|
6103
|
+
@builtins.property
|
|
6104
|
+
def docker_settings(
|
|
6105
|
+
self,
|
|
6106
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.DockerSettingsProperty"]]:
|
|
6107
|
+
'''A collection of settings that configure the domain's Docker interaction.
|
|
6108
|
+
|
|
6109
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-domainsettings.html#cfn-sagemaker-domain-domainsettings-dockersettings
|
|
6110
|
+
'''
|
|
6111
|
+
result = self._values.get("docker_settings")
|
|
6112
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.DockerSettingsProperty"]], result)
|
|
6113
|
+
|
|
5731
6114
|
@builtins.property
|
|
5732
6115
|
def r_studio_server_pro_domain_settings(
|
|
5733
6116
|
self,
|
|
@@ -5860,7 +6243,7 @@ class CfnDomain(
|
|
|
5860
6243
|
|
|
5861
6244
|
:param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
5862
6245
|
:param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
|
|
5863
|
-
:param default_resource_spec:
|
|
6246
|
+
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
|
|
5864
6247
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must set ``LifecycleConfigArns`` to an empty list.
|
|
5865
6248
|
|
|
5866
6249
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-jupyterlabappsettings.html
|
|
@@ -5934,7 +6317,8 @@ class CfnDomain(
|
|
|
5934
6317
|
def default_resource_spec(
|
|
5935
6318
|
self,
|
|
5936
6319
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDomain.ResourceSpecProperty"]]:
|
|
5937
|
-
'''
|
|
6320
|
+
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
|
|
6321
|
+
|
|
5938
6322
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-jupyterlabappsettings.html#cfn-sagemaker-domain-jupyterlabappsettings-defaultresourcespec
|
|
5939
6323
|
'''
|
|
5940
6324
|
result = self._values.get("default_resource_spec")
|
|
@@ -6042,7 +6426,7 @@ class CfnDomain(
|
|
|
6042
6426
|
'''The KernelGateway app settings.
|
|
6043
6427
|
|
|
6044
6428
|
:param custom_images: A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
|
6045
|
-
: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
|
|
6429
|
+
: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.
|
|
6046
6430
|
|
|
6047
6431
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-kernelgatewayappsettings.html
|
|
6048
6432
|
:exampleMetadata: fixture=_generated
|
|
@@ -6098,7 +6482,7 @@ class CfnDomain(
|
|
|
6098
6482
|
|
|
6099
6483
|
.. epigraph::
|
|
6100
6484
|
|
|
6101
|
-
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
|
|
6485
|
+
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.
|
|
6102
6486
|
|
|
6103
6487
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-kernelgatewayappsettings.html#cfn-sagemaker-domain-kernelgatewayappsettings-defaultresourcespec
|
|
6104
6488
|
'''
|
|
@@ -7026,7 +7410,7 @@ class CfnDomainProps:
|
|
|
7026
7410
|
: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]+``
|
|
7027
7411
|
: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``
|
|
7028
7412
|
: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``
|
|
7029
|
-
:param default_space_settings: A collection of settings that apply to spaces created in the
|
|
7413
|
+
:param default_space_settings: A collection of settings that apply to spaces created in the domain.
|
|
7030
7414
|
:param domain_settings: A collection of settings that apply to the ``SageMaker Domain`` . These settings are specified through the ``CreateDomain`` API call.
|
|
7031
7415
|
:param kms_key_id: SageMaker uses AWS KMS to encrypt the EFS volume attached to the Domain with an AWS managed customer master key (CMK) by default. For more control, specify a customer managed CMK. *Length Constraints* : Maximum length of 2048. *Pattern* : ``.*``
|
|
7032
7416
|
:param tags: Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API. Tags that you specify for the Domain are also added to all apps that are launched in the Domain. *Array members* : Minimum number of 0 items. Maximum number of 50 items.
|
|
@@ -7180,6 +7564,10 @@ class CfnDomainProps:
|
|
|
7180
7564
|
security_groups=["securityGroups"]
|
|
7181
7565
|
),
|
|
7182
7566
|
domain_settings=sagemaker.CfnDomain.DomainSettingsProperty(
|
|
7567
|
+
docker_settings=sagemaker.CfnDomain.DockerSettingsProperty(
|
|
7568
|
+
enable_docker_access="enableDockerAccess",
|
|
7569
|
+
vpc_only_trusted_accounts=["vpcOnlyTrustedAccounts"]
|
|
7570
|
+
),
|
|
7183
7571
|
r_studio_server_pro_domain_settings=sagemaker.CfnDomain.RStudioServerProDomainSettingsProperty(
|
|
7184
7572
|
domain_execution_role_arn="domainExecutionRoleArn",
|
|
7185
7573
|
|
|
@@ -7330,7 +7718,7 @@ class CfnDomainProps:
|
|
|
7330
7718
|
def default_space_settings(
|
|
7331
7719
|
self,
|
|
7332
7720
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDomain.DefaultSpaceSettingsProperty]]:
|
|
7333
|
-
'''A collection of settings that apply to spaces created in the
|
|
7721
|
+
'''A collection of settings that apply to spaces created in the domain.
|
|
7334
7722
|
|
|
7335
7723
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html#cfn-sagemaker-domain-defaultspacesettings
|
|
7336
7724
|
'''
|
|
@@ -12690,7 +13078,7 @@ class CfnImage(
|
|
|
12690
13078
|
):
|
|
12691
13079
|
'''Creates a custom SageMaker image.
|
|
12692
13080
|
|
|
12693
|
-
A SageMaker image is a set of image versions. Each image version represents a container image stored in Amazon
|
|
13081
|
+
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>`_ .
|
|
12694
13082
|
|
|
12695
13083
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-image.html
|
|
12696
13084
|
:cloudformationResource: AWS::SageMaker::Image
|
|
@@ -24649,7 +25037,7 @@ class CfnModelExplainabilityJobDefinition(
|
|
|
24649
25037
|
'''Inputs for the model explainability job.
|
|
24650
25038
|
|
|
24651
25039
|
:param batch_transform_input: Input object for the batch transform job.
|
|
24652
|
-
:param endpoint_input:
|
|
25040
|
+
:param endpoint_input: Input object for the endpoint.
|
|
24653
25041
|
|
|
24654
25042
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityjobinput.html
|
|
24655
25043
|
:exampleMetadata: fixture=_generated
|
|
@@ -24719,7 +25107,7 @@ class CfnModelExplainabilityJobDefinition(
|
|
|
24719
25107
|
def endpoint_input(
|
|
24720
25108
|
self,
|
|
24721
25109
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnModelExplainabilityJobDefinition.EndpointInputProperty"]]:
|
|
24722
|
-
'''
|
|
25110
|
+
'''Input object for the endpoint.
|
|
24723
25111
|
|
|
24724
25112
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityjobinput.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityjobinput-endpointinput
|
|
24725
25113
|
'''
|
|
@@ -38927,7 +39315,7 @@ class CfnSpace(
|
|
|
38927
39315
|
metaclass=jsii.JSIIMeta,
|
|
38928
39316
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace",
|
|
38929
39317
|
):
|
|
38930
|
-
'''Creates a space used for real time collaboration in a
|
|
39318
|
+
'''Creates a space used for real time collaboration in a domain.
|
|
38931
39319
|
|
|
38932
39320
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html
|
|
38933
39321
|
:cloudformationResource: AWS::SageMaker::Space
|
|
@@ -38944,7 +39332,34 @@ class CfnSpace(
|
|
|
38944
39332
|
space_name="spaceName",
|
|
38945
39333
|
|
|
38946
39334
|
# the properties below are optional
|
|
39335
|
+
ownership_settings=sagemaker.CfnSpace.OwnershipSettingsProperty(
|
|
39336
|
+
owner_user_profile_name="ownerUserProfileName"
|
|
39337
|
+
),
|
|
39338
|
+
space_display_name="spaceDisplayName",
|
|
38947
39339
|
space_settings=sagemaker.CfnSpace.SpaceSettingsProperty(
|
|
39340
|
+
app_type="appType",
|
|
39341
|
+
code_editor_app_settings=sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty(
|
|
39342
|
+
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
39343
|
+
instance_type="instanceType",
|
|
39344
|
+
sage_maker_image_arn="sageMakerImageArn",
|
|
39345
|
+
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
39346
|
+
)
|
|
39347
|
+
),
|
|
39348
|
+
custom_file_systems=[sagemaker.CfnSpace.CustomFileSystemProperty(
|
|
39349
|
+
efs_file_system=sagemaker.CfnSpace.EFSFileSystemProperty(
|
|
39350
|
+
file_system_id="fileSystemId"
|
|
39351
|
+
)
|
|
39352
|
+
)],
|
|
39353
|
+
jupyter_lab_app_settings=sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
|
|
39354
|
+
code_repositories=[sagemaker.CfnSpace.CodeRepositoryProperty(
|
|
39355
|
+
repository_url="repositoryUrl"
|
|
39356
|
+
)],
|
|
39357
|
+
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
39358
|
+
instance_type="instanceType",
|
|
39359
|
+
sage_maker_image_arn="sageMakerImageArn",
|
|
39360
|
+
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
39361
|
+
)
|
|
39362
|
+
),
|
|
38948
39363
|
jupyter_server_app_settings=sagemaker.CfnSpace.JupyterServerAppSettingsProperty(
|
|
38949
39364
|
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
38950
39365
|
instance_type="instanceType",
|
|
@@ -38965,8 +39380,16 @@ class CfnSpace(
|
|
|
38965
39380
|
sage_maker_image_arn="sageMakerImageArn",
|
|
38966
39381
|
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
38967
39382
|
)
|
|
39383
|
+
),
|
|
39384
|
+
space_storage_settings=sagemaker.CfnSpace.SpaceStorageSettingsProperty(
|
|
39385
|
+
ebs_storage_settings=sagemaker.CfnSpace.EbsStorageSettingsProperty(
|
|
39386
|
+
ebs_volume_size_in_gb=123
|
|
39387
|
+
)
|
|
38968
39388
|
)
|
|
38969
39389
|
),
|
|
39390
|
+
space_sharing_settings=sagemaker.CfnSpace.SpaceSharingSettingsProperty(
|
|
39391
|
+
sharing_type="sharingType"
|
|
39392
|
+
),
|
|
38970
39393
|
tags=[CfnTag(
|
|
38971
39394
|
key="key",
|
|
38972
39395
|
value="value"
|
|
@@ -38981,15 +39404,21 @@ class CfnSpace(
|
|
|
38981
39404
|
*,
|
|
38982
39405
|
domain_id: builtins.str,
|
|
38983
39406
|
space_name: builtins.str,
|
|
39407
|
+
ownership_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.OwnershipSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39408
|
+
space_display_name: typing.Optional[builtins.str] = None,
|
|
38984
39409
|
space_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.SpaceSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39410
|
+
space_sharing_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.SpaceSharingSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
38985
39411
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
38986
39412
|
) -> None:
|
|
38987
39413
|
'''
|
|
38988
39414
|
:param scope: Scope in which this resource is defined.
|
|
38989
39415
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
38990
|
-
:param domain_id: The ID of the associated
|
|
39416
|
+
:param domain_id: The ID of the associated domain.
|
|
38991
39417
|
:param space_name: The name of the space.
|
|
39418
|
+
:param ownership_settings: The collection of ownership settings for a space.
|
|
39419
|
+
:param space_display_name: The name of the space that appears in the Studio UI.
|
|
38992
39420
|
:param space_settings: A collection of space settings.
|
|
39421
|
+
:param space_sharing_settings: A collection of space sharing settings.
|
|
38993
39422
|
: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>`_ .
|
|
38994
39423
|
'''
|
|
38995
39424
|
if __debug__:
|
|
@@ -38999,7 +39428,10 @@ class CfnSpace(
|
|
|
38999
39428
|
props = CfnSpaceProps(
|
|
39000
39429
|
domain_id=domain_id,
|
|
39001
39430
|
space_name=space_name,
|
|
39431
|
+
ownership_settings=ownership_settings,
|
|
39432
|
+
space_display_name=space_display_name,
|
|
39002
39433
|
space_settings=space_settings,
|
|
39434
|
+
space_sharing_settings=space_sharing_settings,
|
|
39003
39435
|
tags=tags,
|
|
39004
39436
|
)
|
|
39005
39437
|
|
|
@@ -39044,6 +39476,23 @@ class CfnSpace(
|
|
|
39044
39476
|
'''
|
|
39045
39477
|
return typing.cast(builtins.str, jsii.get(self, "attrSpaceArn"))
|
|
39046
39478
|
|
|
39479
|
+
@builtins.property
|
|
39480
|
+
@jsii.member(jsii_name="attrUrl")
|
|
39481
|
+
def attr_url(self) -> builtins.str:
|
|
39482
|
+
'''Returns the URL of the space.
|
|
39483
|
+
|
|
39484
|
+
If the space is created with AWS IAM Identity Center (Successor to AWS Single Sign-On) authentication, users can navigate to the URL after appending the respective redirect parameter for the application type to be federated through AWS IAM Identity Center.
|
|
39485
|
+
|
|
39486
|
+
The following application types are supported:
|
|
39487
|
+
|
|
39488
|
+
- Studio Classic: ``&redirect=JupyterServer``
|
|
39489
|
+
- JupyterLab: ``&redirect=JupyterLab``
|
|
39490
|
+
- Code Editor, based on Code-OSS, Visual Studio Code - Open Source: ``&redirect=CodeEditor``
|
|
39491
|
+
|
|
39492
|
+
:cloudformationAttribute: Url
|
|
39493
|
+
'''
|
|
39494
|
+
return typing.cast(builtins.str, jsii.get(self, "attrUrl"))
|
|
39495
|
+
|
|
39047
39496
|
@builtins.property
|
|
39048
39497
|
@jsii.member(jsii_name="cfnProperties")
|
|
39049
39498
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -39058,7 +39507,7 @@ class CfnSpace(
|
|
|
39058
39507
|
@builtins.property
|
|
39059
39508
|
@jsii.member(jsii_name="domainId")
|
|
39060
39509
|
def domain_id(self) -> builtins.str:
|
|
39061
|
-
'''The ID of the associated
|
|
39510
|
+
'''The ID of the associated domain.'''
|
|
39062
39511
|
return typing.cast(builtins.str, jsii.get(self, "domainId"))
|
|
39063
39512
|
|
|
39064
39513
|
@domain_id.setter
|
|
@@ -39081,6 +39530,37 @@ class CfnSpace(
|
|
|
39081
39530
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39082
39531
|
jsii.set(self, "spaceName", value)
|
|
39083
39532
|
|
|
39533
|
+
@builtins.property
|
|
39534
|
+
@jsii.member(jsii_name="ownershipSettings")
|
|
39535
|
+
def ownership_settings(
|
|
39536
|
+
self,
|
|
39537
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.OwnershipSettingsProperty"]]:
|
|
39538
|
+
'''The collection of ownership settings for a space.'''
|
|
39539
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.OwnershipSettingsProperty"]], jsii.get(self, "ownershipSettings"))
|
|
39540
|
+
|
|
39541
|
+
@ownership_settings.setter
|
|
39542
|
+
def ownership_settings(
|
|
39543
|
+
self,
|
|
39544
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.OwnershipSettingsProperty"]],
|
|
39545
|
+
) -> None:
|
|
39546
|
+
if __debug__:
|
|
39547
|
+
type_hints = typing.get_type_hints(_typecheckingstub__303f7b19debd767eb2213564bca72a32ab6e57cb29cb38bf219dc9207ec13e3f)
|
|
39548
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39549
|
+
jsii.set(self, "ownershipSettings", value)
|
|
39550
|
+
|
|
39551
|
+
@builtins.property
|
|
39552
|
+
@jsii.member(jsii_name="spaceDisplayName")
|
|
39553
|
+
def space_display_name(self) -> typing.Optional[builtins.str]:
|
|
39554
|
+
'''The name of the space that appears in the Studio UI.'''
|
|
39555
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "spaceDisplayName"))
|
|
39556
|
+
|
|
39557
|
+
@space_display_name.setter
|
|
39558
|
+
def space_display_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
39559
|
+
if __debug__:
|
|
39560
|
+
type_hints = typing.get_type_hints(_typecheckingstub__852947fc8587d14fcfd15896e879b227e8cb44f5908fac106903cc03fbc0b6b0)
|
|
39561
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39562
|
+
jsii.set(self, "spaceDisplayName", value)
|
|
39563
|
+
|
|
39084
39564
|
@builtins.property
|
|
39085
39565
|
@jsii.member(jsii_name="spaceSettings")
|
|
39086
39566
|
def space_settings(
|
|
@@ -39099,6 +39579,24 @@ class CfnSpace(
|
|
|
39099
39579
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39100
39580
|
jsii.set(self, "spaceSettings", value)
|
|
39101
39581
|
|
|
39582
|
+
@builtins.property
|
|
39583
|
+
@jsii.member(jsii_name="spaceSharingSettings")
|
|
39584
|
+
def space_sharing_settings(
|
|
39585
|
+
self,
|
|
39586
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceSharingSettingsProperty"]]:
|
|
39587
|
+
'''A collection of space sharing settings.'''
|
|
39588
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceSharingSettingsProperty"]], jsii.get(self, "spaceSharingSettings"))
|
|
39589
|
+
|
|
39590
|
+
@space_sharing_settings.setter
|
|
39591
|
+
def space_sharing_settings(
|
|
39592
|
+
self,
|
|
39593
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceSharingSettingsProperty"]],
|
|
39594
|
+
) -> None:
|
|
39595
|
+
if __debug__:
|
|
39596
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f23b26805d9f35d54900c70ee0290c77cf11274f4fb36b2abe523e606e9d0edd)
|
|
39597
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39598
|
+
jsii.set(self, "spaceSharingSettings", value)
|
|
39599
|
+
|
|
39102
39600
|
@builtins.property
|
|
39103
39601
|
@jsii.member(jsii_name="tagsRaw")
|
|
39104
39602
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -39112,6 +39610,119 @@ class CfnSpace(
|
|
|
39112
39610
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39113
39611
|
jsii.set(self, "tagsRaw", value)
|
|
39114
39612
|
|
|
39613
|
+
@jsii.data_type(
|
|
39614
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.CodeRepositoryProperty",
|
|
39615
|
+
jsii_struct_bases=[],
|
|
39616
|
+
name_mapping={"repository_url": "repositoryUrl"},
|
|
39617
|
+
)
|
|
39618
|
+
class CodeRepositoryProperty:
|
|
39619
|
+
def __init__(self, *, repository_url: builtins.str) -> None:
|
|
39620
|
+
'''A Git repository that SageMaker automatically displays to users for cloning in the JupyterServer application.
|
|
39621
|
+
|
|
39622
|
+
:param repository_url: The URL of the Git repository.
|
|
39623
|
+
|
|
39624
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-coderepository.html
|
|
39625
|
+
:exampleMetadata: fixture=_generated
|
|
39626
|
+
|
|
39627
|
+
Example::
|
|
39628
|
+
|
|
39629
|
+
# The code below shows an example of how to instantiate this type.
|
|
39630
|
+
# The values are placeholders you should change.
|
|
39631
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
39632
|
+
|
|
39633
|
+
code_repository_property = sagemaker.CfnSpace.CodeRepositoryProperty(
|
|
39634
|
+
repository_url="repositoryUrl"
|
|
39635
|
+
)
|
|
39636
|
+
'''
|
|
39637
|
+
if __debug__:
|
|
39638
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f9aa7dfa32bab52d4519b42abed08e2e1425842ac98fccc838efb6ab616c593c)
|
|
39639
|
+
check_type(argname="argument repository_url", value=repository_url, expected_type=type_hints["repository_url"])
|
|
39640
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
39641
|
+
"repository_url": repository_url,
|
|
39642
|
+
}
|
|
39643
|
+
|
|
39644
|
+
@builtins.property
|
|
39645
|
+
def repository_url(self) -> builtins.str:
|
|
39646
|
+
'''The URL of the Git repository.
|
|
39647
|
+
|
|
39648
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-coderepository.html#cfn-sagemaker-space-coderepository-repositoryurl
|
|
39649
|
+
'''
|
|
39650
|
+
result = self._values.get("repository_url")
|
|
39651
|
+
assert result is not None, "Required property 'repository_url' is missing"
|
|
39652
|
+
return typing.cast(builtins.str, result)
|
|
39653
|
+
|
|
39654
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
39655
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
39656
|
+
|
|
39657
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
39658
|
+
return not (rhs == self)
|
|
39659
|
+
|
|
39660
|
+
def __repr__(self) -> str:
|
|
39661
|
+
return "CodeRepositoryProperty(%s)" % ", ".join(
|
|
39662
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
39663
|
+
)
|
|
39664
|
+
|
|
39665
|
+
@jsii.data_type(
|
|
39666
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.CustomFileSystemProperty",
|
|
39667
|
+
jsii_struct_bases=[],
|
|
39668
|
+
name_mapping={"efs_file_system": "efsFileSystem"},
|
|
39669
|
+
)
|
|
39670
|
+
class CustomFileSystemProperty:
|
|
39671
|
+
def __init__(
|
|
39672
|
+
self,
|
|
39673
|
+
*,
|
|
39674
|
+
efs_file_system: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.EFSFileSystemProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39675
|
+
) -> None:
|
|
39676
|
+
'''A file system, created by you, that you assign to a user profile or space for an Amazon SageMaker Domain.
|
|
39677
|
+
|
|
39678
|
+
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
39679
|
+
|
|
39680
|
+
:param efs_file_system: A custom file system in Amazon EFS.
|
|
39681
|
+
|
|
39682
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-customfilesystem.html
|
|
39683
|
+
:exampleMetadata: fixture=_generated
|
|
39684
|
+
|
|
39685
|
+
Example::
|
|
39686
|
+
|
|
39687
|
+
# The code below shows an example of how to instantiate this type.
|
|
39688
|
+
# The values are placeholders you should change.
|
|
39689
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
39690
|
+
|
|
39691
|
+
custom_file_system_property = sagemaker.CfnSpace.CustomFileSystemProperty(
|
|
39692
|
+
efs_file_system=sagemaker.CfnSpace.EFSFileSystemProperty(
|
|
39693
|
+
file_system_id="fileSystemId"
|
|
39694
|
+
)
|
|
39695
|
+
)
|
|
39696
|
+
'''
|
|
39697
|
+
if __debug__:
|
|
39698
|
+
type_hints = typing.get_type_hints(_typecheckingstub__176823f1400da84e6a74d99732efcbf76ba89110f7c5a78a8ea1c95faec9ef80)
|
|
39699
|
+
check_type(argname="argument efs_file_system", value=efs_file_system, expected_type=type_hints["efs_file_system"])
|
|
39700
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
39701
|
+
if efs_file_system is not None:
|
|
39702
|
+
self._values["efs_file_system"] = efs_file_system
|
|
39703
|
+
|
|
39704
|
+
@builtins.property
|
|
39705
|
+
def efs_file_system(
|
|
39706
|
+
self,
|
|
39707
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.EFSFileSystemProperty"]]:
|
|
39708
|
+
'''A custom file system in Amazon EFS.
|
|
39709
|
+
|
|
39710
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-customfilesystem.html#cfn-sagemaker-space-customfilesystem-efsfilesystem
|
|
39711
|
+
'''
|
|
39712
|
+
result = self._values.get("efs_file_system")
|
|
39713
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.EFSFileSystemProperty"]], result)
|
|
39714
|
+
|
|
39715
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
39716
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
39717
|
+
|
|
39718
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
39719
|
+
return not (rhs == self)
|
|
39720
|
+
|
|
39721
|
+
def __repr__(self) -> str:
|
|
39722
|
+
return "CustomFileSystemProperty(%s)" % ", ".join(
|
|
39723
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
39724
|
+
)
|
|
39725
|
+
|
|
39115
39726
|
@jsii.data_type(
|
|
39116
39727
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.CustomImageProperty",
|
|
39117
39728
|
jsii_struct_bases=[],
|
|
@@ -39208,6 +39819,112 @@ class CfnSpace(
|
|
|
39208
39819
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
39209
39820
|
)
|
|
39210
39821
|
|
|
39822
|
+
@jsii.data_type(
|
|
39823
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.EFSFileSystemProperty",
|
|
39824
|
+
jsii_struct_bases=[],
|
|
39825
|
+
name_mapping={"file_system_id": "fileSystemId"},
|
|
39826
|
+
)
|
|
39827
|
+
class EFSFileSystemProperty:
|
|
39828
|
+
def __init__(self, *, file_system_id: builtins.str) -> None:
|
|
39829
|
+
'''A file system, created by you in Amazon EFS, that you assign to a user profile or space for an Amazon SageMaker Domain.
|
|
39830
|
+
|
|
39831
|
+
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
39832
|
+
|
|
39833
|
+
:param file_system_id: The ID of your Amazon EFS file system.
|
|
39834
|
+
|
|
39835
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-efsfilesystem.html
|
|
39836
|
+
:exampleMetadata: fixture=_generated
|
|
39837
|
+
|
|
39838
|
+
Example::
|
|
39839
|
+
|
|
39840
|
+
# The code below shows an example of how to instantiate this type.
|
|
39841
|
+
# The values are placeholders you should change.
|
|
39842
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
39843
|
+
|
|
39844
|
+
e_fSFile_system_property = sagemaker.CfnSpace.EFSFileSystemProperty(
|
|
39845
|
+
file_system_id="fileSystemId"
|
|
39846
|
+
)
|
|
39847
|
+
'''
|
|
39848
|
+
if __debug__:
|
|
39849
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b953c9abee2b2e62cefb483bce64e6b3ea8af5be83ba1d0367ad814067ba7617)
|
|
39850
|
+
check_type(argname="argument file_system_id", value=file_system_id, expected_type=type_hints["file_system_id"])
|
|
39851
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
39852
|
+
"file_system_id": file_system_id,
|
|
39853
|
+
}
|
|
39854
|
+
|
|
39855
|
+
@builtins.property
|
|
39856
|
+
def file_system_id(self) -> builtins.str:
|
|
39857
|
+
'''The ID of your Amazon EFS file system.
|
|
39858
|
+
|
|
39859
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-efsfilesystem.html#cfn-sagemaker-space-efsfilesystem-filesystemid
|
|
39860
|
+
'''
|
|
39861
|
+
result = self._values.get("file_system_id")
|
|
39862
|
+
assert result is not None, "Required property 'file_system_id' is missing"
|
|
39863
|
+
return typing.cast(builtins.str, result)
|
|
39864
|
+
|
|
39865
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
39866
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
39867
|
+
|
|
39868
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
39869
|
+
return not (rhs == self)
|
|
39870
|
+
|
|
39871
|
+
def __repr__(self) -> str:
|
|
39872
|
+
return "EFSFileSystemProperty(%s)" % ", ".join(
|
|
39873
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
39874
|
+
)
|
|
39875
|
+
|
|
39876
|
+
@jsii.data_type(
|
|
39877
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.EbsStorageSettingsProperty",
|
|
39878
|
+
jsii_struct_bases=[],
|
|
39879
|
+
name_mapping={"ebs_volume_size_in_gb": "ebsVolumeSizeInGb"},
|
|
39880
|
+
)
|
|
39881
|
+
class EbsStorageSettingsProperty:
|
|
39882
|
+
def __init__(self, *, ebs_volume_size_in_gb: jsii.Number) -> None:
|
|
39883
|
+
'''A collection of EBS storage settings that applies to private spaces.
|
|
39884
|
+
|
|
39885
|
+
:param ebs_volume_size_in_gb: The size of an EBS storage volume for a private space.
|
|
39886
|
+
|
|
39887
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ebsstoragesettings.html
|
|
39888
|
+
:exampleMetadata: fixture=_generated
|
|
39889
|
+
|
|
39890
|
+
Example::
|
|
39891
|
+
|
|
39892
|
+
# The code below shows an example of how to instantiate this type.
|
|
39893
|
+
# The values are placeholders you should change.
|
|
39894
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
39895
|
+
|
|
39896
|
+
ebs_storage_settings_property = sagemaker.CfnSpace.EbsStorageSettingsProperty(
|
|
39897
|
+
ebs_volume_size_in_gb=123
|
|
39898
|
+
)
|
|
39899
|
+
'''
|
|
39900
|
+
if __debug__:
|
|
39901
|
+
type_hints = typing.get_type_hints(_typecheckingstub__922d7202488e113b0556c43fbe71bd5aaccb81bf7a5ff6fb306cf83fcf6e8b2d)
|
|
39902
|
+
check_type(argname="argument ebs_volume_size_in_gb", value=ebs_volume_size_in_gb, expected_type=type_hints["ebs_volume_size_in_gb"])
|
|
39903
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
39904
|
+
"ebs_volume_size_in_gb": ebs_volume_size_in_gb,
|
|
39905
|
+
}
|
|
39906
|
+
|
|
39907
|
+
@builtins.property
|
|
39908
|
+
def ebs_volume_size_in_gb(self) -> jsii.Number:
|
|
39909
|
+
'''The size of an EBS storage volume for a private space.
|
|
39910
|
+
|
|
39911
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ebsstoragesettings.html#cfn-sagemaker-space-ebsstoragesettings-ebsvolumesizeingb
|
|
39912
|
+
'''
|
|
39913
|
+
result = self._values.get("ebs_volume_size_in_gb")
|
|
39914
|
+
assert result is not None, "Required property 'ebs_volume_size_in_gb' is missing"
|
|
39915
|
+
return typing.cast(jsii.Number, result)
|
|
39916
|
+
|
|
39917
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
39918
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
39919
|
+
|
|
39920
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
39921
|
+
return not (rhs == self)
|
|
39922
|
+
|
|
39923
|
+
def __repr__(self) -> str:
|
|
39924
|
+
return "EbsStorageSettingsProperty(%s)" % ", ".join(
|
|
39925
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
39926
|
+
)
|
|
39927
|
+
|
|
39211
39928
|
@jsii.data_type(
|
|
39212
39929
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.JupyterServerAppSettingsProperty",
|
|
39213
39930
|
jsii_struct_bases=[],
|
|
@@ -39289,7 +40006,7 @@ class CfnSpace(
|
|
|
39289
40006
|
'''The KernelGateway app settings.
|
|
39290
40007
|
|
|
39291
40008
|
:param custom_images: A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
|
39292
|
-
: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
|
|
40009
|
+
: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.
|
|
39293
40010
|
|
|
39294
40011
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-kernelgatewayappsettings.html
|
|
39295
40012
|
:exampleMetadata: fixture=_generated
|
|
@@ -39344,7 +40061,7 @@ class CfnSpace(
|
|
|
39344
40061
|
|
|
39345
40062
|
.. epigraph::
|
|
39346
40063
|
|
|
39347
|
-
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
|
|
40064
|
+
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.
|
|
39348
40065
|
|
|
39349
40066
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-kernelgatewayappsettings.html#cfn-sagemaker-space-kernelgatewayappsettings-defaultresourcespec
|
|
39350
40067
|
'''
|
|
@@ -39362,6 +40079,58 @@ class CfnSpace(
|
|
|
39362
40079
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
39363
40080
|
)
|
|
39364
40081
|
|
|
40082
|
+
@jsii.data_type(
|
|
40083
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.OwnershipSettingsProperty",
|
|
40084
|
+
jsii_struct_bases=[],
|
|
40085
|
+
name_mapping={"owner_user_profile_name": "ownerUserProfileName"},
|
|
40086
|
+
)
|
|
40087
|
+
class OwnershipSettingsProperty:
|
|
40088
|
+
def __init__(self, *, owner_user_profile_name: builtins.str) -> None:
|
|
40089
|
+
'''The collection of ownership settings for a space.
|
|
40090
|
+
|
|
40091
|
+
:param owner_user_profile_name: The user profile who is the owner of the private space.
|
|
40092
|
+
|
|
40093
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ownershipsettings.html
|
|
40094
|
+
:exampleMetadata: fixture=_generated
|
|
40095
|
+
|
|
40096
|
+
Example::
|
|
40097
|
+
|
|
40098
|
+
# The code below shows an example of how to instantiate this type.
|
|
40099
|
+
# The values are placeholders you should change.
|
|
40100
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
40101
|
+
|
|
40102
|
+
ownership_settings_property = sagemaker.CfnSpace.OwnershipSettingsProperty(
|
|
40103
|
+
owner_user_profile_name="ownerUserProfileName"
|
|
40104
|
+
)
|
|
40105
|
+
'''
|
|
40106
|
+
if __debug__:
|
|
40107
|
+
type_hints = typing.get_type_hints(_typecheckingstub__572cd73377912b839f96a9b5a6e497ecca550c4a7bf718624b1cf8f9d297caf9)
|
|
40108
|
+
check_type(argname="argument owner_user_profile_name", value=owner_user_profile_name, expected_type=type_hints["owner_user_profile_name"])
|
|
40109
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
40110
|
+
"owner_user_profile_name": owner_user_profile_name,
|
|
40111
|
+
}
|
|
40112
|
+
|
|
40113
|
+
@builtins.property
|
|
40114
|
+
def owner_user_profile_name(self) -> builtins.str:
|
|
40115
|
+
'''The user profile who is the owner of the private space.
|
|
40116
|
+
|
|
40117
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ownershipsettings.html#cfn-sagemaker-space-ownershipsettings-owneruserprofilename
|
|
40118
|
+
'''
|
|
40119
|
+
result = self._values.get("owner_user_profile_name")
|
|
40120
|
+
assert result is not None, "Required property 'owner_user_profile_name' is missing"
|
|
40121
|
+
return typing.cast(builtins.str, result)
|
|
40122
|
+
|
|
40123
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
40124
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
40125
|
+
|
|
40126
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
40127
|
+
return not (rhs == self)
|
|
40128
|
+
|
|
40129
|
+
def __repr__(self) -> str:
|
|
40130
|
+
return "OwnershipSettingsProperty(%s)" % ", ".join(
|
|
40131
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
40132
|
+
)
|
|
40133
|
+
|
|
39365
40134
|
@jsii.data_type(
|
|
39366
40135
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.ResourceSpecProperty",
|
|
39367
40136
|
jsii_struct_bases=[],
|
|
@@ -39457,25 +40226,184 @@ class CfnSpace(
|
|
|
39457
40226
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
39458
40227
|
)
|
|
39459
40228
|
|
|
40229
|
+
@jsii.data_type(
|
|
40230
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty",
|
|
40231
|
+
jsii_struct_bases=[],
|
|
40232
|
+
name_mapping={"default_resource_spec": "defaultResourceSpec"},
|
|
40233
|
+
)
|
|
40234
|
+
class SpaceCodeEditorAppSettingsProperty:
|
|
40235
|
+
def __init__(
|
|
40236
|
+
self,
|
|
40237
|
+
*,
|
|
40238
|
+
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
40239
|
+
) -> None:
|
|
40240
|
+
'''The application settings for a Code Editor space.
|
|
40241
|
+
|
|
40242
|
+
:param default_resource_spec: Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
40243
|
+
|
|
40244
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacecodeeditorappsettings.html
|
|
40245
|
+
:exampleMetadata: fixture=_generated
|
|
40246
|
+
|
|
40247
|
+
Example::
|
|
40248
|
+
|
|
40249
|
+
# The code below shows an example of how to instantiate this type.
|
|
40250
|
+
# The values are placeholders you should change.
|
|
40251
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
40252
|
+
|
|
40253
|
+
space_code_editor_app_settings_property = sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty(
|
|
40254
|
+
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
40255
|
+
instance_type="instanceType",
|
|
40256
|
+
sage_maker_image_arn="sageMakerImageArn",
|
|
40257
|
+
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
40258
|
+
)
|
|
40259
|
+
)
|
|
40260
|
+
'''
|
|
40261
|
+
if __debug__:
|
|
40262
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1ccdbe16ad464b21c1c01c798a58ed7a704f69ec08bdbedc54b19a13b70b847a)
|
|
40263
|
+
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
40264
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
40265
|
+
if default_resource_spec is not None:
|
|
40266
|
+
self._values["default_resource_spec"] = default_resource_spec
|
|
40267
|
+
|
|
40268
|
+
@builtins.property
|
|
40269
|
+
def default_resource_spec(
|
|
40270
|
+
self,
|
|
40271
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.ResourceSpecProperty"]]:
|
|
40272
|
+
'''Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
40273
|
+
|
|
40274
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacecodeeditorappsettings.html#cfn-sagemaker-space-spacecodeeditorappsettings-defaultresourcespec
|
|
40275
|
+
'''
|
|
40276
|
+
result = self._values.get("default_resource_spec")
|
|
40277
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.ResourceSpecProperty"]], result)
|
|
40278
|
+
|
|
40279
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
40280
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
40281
|
+
|
|
40282
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
40283
|
+
return not (rhs == self)
|
|
40284
|
+
|
|
40285
|
+
def __repr__(self) -> str:
|
|
40286
|
+
return "SpaceCodeEditorAppSettingsProperty(%s)" % ", ".join(
|
|
40287
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
40288
|
+
)
|
|
40289
|
+
|
|
40290
|
+
@jsii.data_type(
|
|
40291
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty",
|
|
40292
|
+
jsii_struct_bases=[],
|
|
40293
|
+
name_mapping={
|
|
40294
|
+
"code_repositories": "codeRepositories",
|
|
40295
|
+
"default_resource_spec": "defaultResourceSpec",
|
|
40296
|
+
},
|
|
40297
|
+
)
|
|
40298
|
+
class SpaceJupyterLabAppSettingsProperty:
|
|
40299
|
+
def __init__(
|
|
40300
|
+
self,
|
|
40301
|
+
*,
|
|
40302
|
+
code_repositories: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.CodeRepositoryProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
40303
|
+
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
40304
|
+
) -> None:
|
|
40305
|
+
'''The settings for the JupyterLab application within a space.
|
|
40306
|
+
|
|
40307
|
+
:param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
40308
|
+
:param default_resource_spec: Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
40309
|
+
|
|
40310
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacejupyterlabappsettings.html
|
|
40311
|
+
:exampleMetadata: fixture=_generated
|
|
40312
|
+
|
|
40313
|
+
Example::
|
|
40314
|
+
|
|
40315
|
+
# The code below shows an example of how to instantiate this type.
|
|
40316
|
+
# The values are placeholders you should change.
|
|
40317
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
40318
|
+
|
|
40319
|
+
space_jupyter_lab_app_settings_property = sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
|
|
40320
|
+
code_repositories=[sagemaker.CfnSpace.CodeRepositoryProperty(
|
|
40321
|
+
repository_url="repositoryUrl"
|
|
40322
|
+
)],
|
|
40323
|
+
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
40324
|
+
instance_type="instanceType",
|
|
40325
|
+
sage_maker_image_arn="sageMakerImageArn",
|
|
40326
|
+
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
40327
|
+
)
|
|
40328
|
+
)
|
|
40329
|
+
'''
|
|
40330
|
+
if __debug__:
|
|
40331
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a41dc337f9d1d8489c3a20e3b4e83371071cb50a7748a0d97f725a95f5f41aca)
|
|
40332
|
+
check_type(argname="argument code_repositories", value=code_repositories, expected_type=type_hints["code_repositories"])
|
|
40333
|
+
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
40334
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
40335
|
+
if code_repositories is not None:
|
|
40336
|
+
self._values["code_repositories"] = code_repositories
|
|
40337
|
+
if default_resource_spec is not None:
|
|
40338
|
+
self._values["default_resource_spec"] = default_resource_spec
|
|
40339
|
+
|
|
40340
|
+
@builtins.property
|
|
40341
|
+
def code_repositories(
|
|
40342
|
+
self,
|
|
40343
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSpace.CodeRepositoryProperty"]]]]:
|
|
40344
|
+
'''A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
40345
|
+
|
|
40346
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacejupyterlabappsettings.html#cfn-sagemaker-space-spacejupyterlabappsettings-coderepositories
|
|
40347
|
+
'''
|
|
40348
|
+
result = self._values.get("code_repositories")
|
|
40349
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSpace.CodeRepositoryProperty"]]]], result)
|
|
40350
|
+
|
|
40351
|
+
@builtins.property
|
|
40352
|
+
def default_resource_spec(
|
|
40353
|
+
self,
|
|
40354
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.ResourceSpecProperty"]]:
|
|
40355
|
+
'''Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
|
|
40356
|
+
|
|
40357
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacejupyterlabappsettings.html#cfn-sagemaker-space-spacejupyterlabappsettings-defaultresourcespec
|
|
40358
|
+
'''
|
|
40359
|
+
result = self._values.get("default_resource_spec")
|
|
40360
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.ResourceSpecProperty"]], result)
|
|
40361
|
+
|
|
40362
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
40363
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
40364
|
+
|
|
40365
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
40366
|
+
return not (rhs == self)
|
|
40367
|
+
|
|
40368
|
+
def __repr__(self) -> str:
|
|
40369
|
+
return "SpaceJupyterLabAppSettingsProperty(%s)" % ", ".join(
|
|
40370
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
40371
|
+
)
|
|
40372
|
+
|
|
39460
40373
|
@jsii.data_type(
|
|
39461
40374
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.SpaceSettingsProperty",
|
|
39462
40375
|
jsii_struct_bases=[],
|
|
39463
40376
|
name_mapping={
|
|
40377
|
+
"app_type": "appType",
|
|
40378
|
+
"code_editor_app_settings": "codeEditorAppSettings",
|
|
40379
|
+
"custom_file_systems": "customFileSystems",
|
|
40380
|
+
"jupyter_lab_app_settings": "jupyterLabAppSettings",
|
|
39464
40381
|
"jupyter_server_app_settings": "jupyterServerAppSettings",
|
|
39465
40382
|
"kernel_gateway_app_settings": "kernelGatewayAppSettings",
|
|
40383
|
+
"space_storage_settings": "spaceStorageSettings",
|
|
39466
40384
|
},
|
|
39467
40385
|
)
|
|
39468
40386
|
class SpaceSettingsProperty:
|
|
39469
40387
|
def __init__(
|
|
39470
40388
|
self,
|
|
39471
40389
|
*,
|
|
40390
|
+
app_type: typing.Optional[builtins.str] = None,
|
|
40391
|
+
code_editor_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.SpaceCodeEditorAppSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
40392
|
+
custom_file_systems: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.CustomFileSystemProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
40393
|
+
jupyter_lab_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.SpaceJupyterLabAppSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39472
40394
|
jupyter_server_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.JupyterServerAppSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39473
40395
|
kernel_gateway_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.KernelGatewayAppSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
40396
|
+
space_storage_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.SpaceStorageSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39474
40397
|
) -> None:
|
|
39475
40398
|
'''A collection of space settings.
|
|
39476
40399
|
|
|
40400
|
+
:param app_type: The type of app created within the space.
|
|
40401
|
+
:param code_editor_app_settings: The Code Editor application settings.
|
|
40402
|
+
: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.
|
|
40403
|
+
:param jupyter_lab_app_settings: The settings for the JupyterLab application.
|
|
39477
40404
|
:param jupyter_server_app_settings: The JupyterServer app settings.
|
|
39478
40405
|
:param kernel_gateway_app_settings: The KernelGateway app settings.
|
|
40406
|
+
:param space_storage_settings: The storage settings for a private space.
|
|
39479
40407
|
|
|
39480
40408
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html
|
|
39481
40409
|
:exampleMetadata: fixture=_generated
|
|
@@ -39487,6 +40415,29 @@ class CfnSpace(
|
|
|
39487
40415
|
from aws_cdk import aws_sagemaker as sagemaker
|
|
39488
40416
|
|
|
39489
40417
|
space_settings_property = sagemaker.CfnSpace.SpaceSettingsProperty(
|
|
40418
|
+
app_type="appType",
|
|
40419
|
+
code_editor_app_settings=sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty(
|
|
40420
|
+
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
40421
|
+
instance_type="instanceType",
|
|
40422
|
+
sage_maker_image_arn="sageMakerImageArn",
|
|
40423
|
+
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
40424
|
+
)
|
|
40425
|
+
),
|
|
40426
|
+
custom_file_systems=[sagemaker.CfnSpace.CustomFileSystemProperty(
|
|
40427
|
+
efs_file_system=sagemaker.CfnSpace.EFSFileSystemProperty(
|
|
40428
|
+
file_system_id="fileSystemId"
|
|
40429
|
+
)
|
|
40430
|
+
)],
|
|
40431
|
+
jupyter_lab_app_settings=sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
|
|
40432
|
+
code_repositories=[sagemaker.CfnSpace.CodeRepositoryProperty(
|
|
40433
|
+
repository_url="repositoryUrl"
|
|
40434
|
+
)],
|
|
40435
|
+
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
40436
|
+
instance_type="instanceType",
|
|
40437
|
+
sage_maker_image_arn="sageMakerImageArn",
|
|
40438
|
+
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
40439
|
+
)
|
|
40440
|
+
),
|
|
39490
40441
|
jupyter_server_app_settings=sagemaker.CfnSpace.JupyterServerAppSettingsProperty(
|
|
39491
40442
|
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
39492
40443
|
instance_type="instanceType",
|
|
@@ -39507,18 +40458,82 @@ class CfnSpace(
|
|
|
39507
40458
|
sage_maker_image_arn="sageMakerImageArn",
|
|
39508
40459
|
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
39509
40460
|
)
|
|
40461
|
+
),
|
|
40462
|
+
space_storage_settings=sagemaker.CfnSpace.SpaceStorageSettingsProperty(
|
|
40463
|
+
ebs_storage_settings=sagemaker.CfnSpace.EbsStorageSettingsProperty(
|
|
40464
|
+
ebs_volume_size_in_gb=123
|
|
40465
|
+
)
|
|
39510
40466
|
)
|
|
39511
40467
|
)
|
|
39512
40468
|
'''
|
|
39513
40469
|
if __debug__:
|
|
39514
40470
|
type_hints = typing.get_type_hints(_typecheckingstub__20403c26618d8fc71e879e92b0c5ef05fbfe71e99cf6ee51d918b935f23702aa)
|
|
40471
|
+
check_type(argname="argument app_type", value=app_type, expected_type=type_hints["app_type"])
|
|
40472
|
+
check_type(argname="argument code_editor_app_settings", value=code_editor_app_settings, expected_type=type_hints["code_editor_app_settings"])
|
|
40473
|
+
check_type(argname="argument custom_file_systems", value=custom_file_systems, expected_type=type_hints["custom_file_systems"])
|
|
40474
|
+
check_type(argname="argument jupyter_lab_app_settings", value=jupyter_lab_app_settings, expected_type=type_hints["jupyter_lab_app_settings"])
|
|
39515
40475
|
check_type(argname="argument jupyter_server_app_settings", value=jupyter_server_app_settings, expected_type=type_hints["jupyter_server_app_settings"])
|
|
39516
40476
|
check_type(argname="argument kernel_gateway_app_settings", value=kernel_gateway_app_settings, expected_type=type_hints["kernel_gateway_app_settings"])
|
|
40477
|
+
check_type(argname="argument space_storage_settings", value=space_storage_settings, expected_type=type_hints["space_storage_settings"])
|
|
39517
40478
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
40479
|
+
if app_type is not None:
|
|
40480
|
+
self._values["app_type"] = app_type
|
|
40481
|
+
if code_editor_app_settings is not None:
|
|
40482
|
+
self._values["code_editor_app_settings"] = code_editor_app_settings
|
|
40483
|
+
if custom_file_systems is not None:
|
|
40484
|
+
self._values["custom_file_systems"] = custom_file_systems
|
|
40485
|
+
if jupyter_lab_app_settings is not None:
|
|
40486
|
+
self._values["jupyter_lab_app_settings"] = jupyter_lab_app_settings
|
|
39518
40487
|
if jupyter_server_app_settings is not None:
|
|
39519
40488
|
self._values["jupyter_server_app_settings"] = jupyter_server_app_settings
|
|
39520
40489
|
if kernel_gateway_app_settings is not None:
|
|
39521
40490
|
self._values["kernel_gateway_app_settings"] = kernel_gateway_app_settings
|
|
40491
|
+
if space_storage_settings is not None:
|
|
40492
|
+
self._values["space_storage_settings"] = space_storage_settings
|
|
40493
|
+
|
|
40494
|
+
@builtins.property
|
|
40495
|
+
def app_type(self) -> typing.Optional[builtins.str]:
|
|
40496
|
+
'''The type of app created within the space.
|
|
40497
|
+
|
|
40498
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html#cfn-sagemaker-space-spacesettings-apptype
|
|
40499
|
+
'''
|
|
40500
|
+
result = self._values.get("app_type")
|
|
40501
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
40502
|
+
|
|
40503
|
+
@builtins.property
|
|
40504
|
+
def code_editor_app_settings(
|
|
40505
|
+
self,
|
|
40506
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceCodeEditorAppSettingsProperty"]]:
|
|
40507
|
+
'''The Code Editor application settings.
|
|
40508
|
+
|
|
40509
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html#cfn-sagemaker-space-spacesettings-codeeditorappsettings
|
|
40510
|
+
'''
|
|
40511
|
+
result = self._values.get("code_editor_app_settings")
|
|
40512
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceCodeEditorAppSettingsProperty"]], result)
|
|
40513
|
+
|
|
40514
|
+
@builtins.property
|
|
40515
|
+
def custom_file_systems(
|
|
40516
|
+
self,
|
|
40517
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSpace.CustomFileSystemProperty"]]]]:
|
|
40518
|
+
'''A file system, created by you, that you assign to a space for an Amazon SageMaker Domain.
|
|
40519
|
+
|
|
40520
|
+
Permitted users can access this file system in Amazon SageMaker Studio.
|
|
40521
|
+
|
|
40522
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html#cfn-sagemaker-space-spacesettings-customfilesystems
|
|
40523
|
+
'''
|
|
40524
|
+
result = self._values.get("custom_file_systems")
|
|
40525
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnSpace.CustomFileSystemProperty"]]]], result)
|
|
40526
|
+
|
|
40527
|
+
@builtins.property
|
|
40528
|
+
def jupyter_lab_app_settings(
|
|
40529
|
+
self,
|
|
40530
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceJupyterLabAppSettingsProperty"]]:
|
|
40531
|
+
'''The settings for the JupyterLab application.
|
|
40532
|
+
|
|
40533
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html#cfn-sagemaker-space-spacesettings-jupyterlabappsettings
|
|
40534
|
+
'''
|
|
40535
|
+
result = self._values.get("jupyter_lab_app_settings")
|
|
40536
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceJupyterLabAppSettingsProperty"]], result)
|
|
39522
40537
|
|
|
39523
40538
|
@builtins.property
|
|
39524
40539
|
def jupyter_server_app_settings(
|
|
@@ -39542,6 +40557,17 @@ class CfnSpace(
|
|
|
39542
40557
|
result = self._values.get("kernel_gateway_app_settings")
|
|
39543
40558
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.KernelGatewayAppSettingsProperty"]], result)
|
|
39544
40559
|
|
|
40560
|
+
@builtins.property
|
|
40561
|
+
def space_storage_settings(
|
|
40562
|
+
self,
|
|
40563
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceStorageSettingsProperty"]]:
|
|
40564
|
+
'''The storage settings for a private space.
|
|
40565
|
+
|
|
40566
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html#cfn-sagemaker-space-spacesettings-spacestoragesettings
|
|
40567
|
+
'''
|
|
40568
|
+
result = self._values.get("space_storage_settings")
|
|
40569
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.SpaceStorageSettingsProperty"]], result)
|
|
40570
|
+
|
|
39545
40571
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
39546
40572
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
39547
40573
|
|
|
@@ -39553,6 +40579,117 @@ class CfnSpace(
|
|
|
39553
40579
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
39554
40580
|
)
|
|
39555
40581
|
|
|
40582
|
+
@jsii.data_type(
|
|
40583
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.SpaceSharingSettingsProperty",
|
|
40584
|
+
jsii_struct_bases=[],
|
|
40585
|
+
name_mapping={"sharing_type": "sharingType"},
|
|
40586
|
+
)
|
|
40587
|
+
class SpaceSharingSettingsProperty:
|
|
40588
|
+
def __init__(self, *, sharing_type: builtins.str) -> None:
|
|
40589
|
+
'''A collection of space sharing settings.
|
|
40590
|
+
|
|
40591
|
+
:param sharing_type: Specifies the sharing type of the space.
|
|
40592
|
+
|
|
40593
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesharingsettings.html
|
|
40594
|
+
:exampleMetadata: fixture=_generated
|
|
40595
|
+
|
|
40596
|
+
Example::
|
|
40597
|
+
|
|
40598
|
+
# The code below shows an example of how to instantiate this type.
|
|
40599
|
+
# The values are placeholders you should change.
|
|
40600
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
40601
|
+
|
|
40602
|
+
space_sharing_settings_property = sagemaker.CfnSpace.SpaceSharingSettingsProperty(
|
|
40603
|
+
sharing_type="sharingType"
|
|
40604
|
+
)
|
|
40605
|
+
'''
|
|
40606
|
+
if __debug__:
|
|
40607
|
+
type_hints = typing.get_type_hints(_typecheckingstub__774a533e8b39c9adc15fddeb58ed5995c0e4f3039972fd5ffbf7d1de5a97bfe6)
|
|
40608
|
+
check_type(argname="argument sharing_type", value=sharing_type, expected_type=type_hints["sharing_type"])
|
|
40609
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
40610
|
+
"sharing_type": sharing_type,
|
|
40611
|
+
}
|
|
40612
|
+
|
|
40613
|
+
@builtins.property
|
|
40614
|
+
def sharing_type(self) -> builtins.str:
|
|
40615
|
+
'''Specifies the sharing type of the space.
|
|
40616
|
+
|
|
40617
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesharingsettings.html#cfn-sagemaker-space-spacesharingsettings-sharingtype
|
|
40618
|
+
'''
|
|
40619
|
+
result = self._values.get("sharing_type")
|
|
40620
|
+
assert result is not None, "Required property 'sharing_type' is missing"
|
|
40621
|
+
return typing.cast(builtins.str, result)
|
|
40622
|
+
|
|
40623
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
40624
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
40625
|
+
|
|
40626
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
40627
|
+
return not (rhs == self)
|
|
40628
|
+
|
|
40629
|
+
def __repr__(self) -> str:
|
|
40630
|
+
return "SpaceSharingSettingsProperty(%s)" % ", ".join(
|
|
40631
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
40632
|
+
)
|
|
40633
|
+
|
|
40634
|
+
@jsii.data_type(
|
|
40635
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpace.SpaceStorageSettingsProperty",
|
|
40636
|
+
jsii_struct_bases=[],
|
|
40637
|
+
name_mapping={"ebs_storage_settings": "ebsStorageSettings"},
|
|
40638
|
+
)
|
|
40639
|
+
class SpaceStorageSettingsProperty:
|
|
40640
|
+
def __init__(
|
|
40641
|
+
self,
|
|
40642
|
+
*,
|
|
40643
|
+
ebs_storage_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSpace.EbsStorageSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
40644
|
+
) -> None:
|
|
40645
|
+
'''The storage settings for a private space.
|
|
40646
|
+
|
|
40647
|
+
:param ebs_storage_settings: A collection of EBS storage settings for a private space.
|
|
40648
|
+
|
|
40649
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacestoragesettings.html
|
|
40650
|
+
:exampleMetadata: fixture=_generated
|
|
40651
|
+
|
|
40652
|
+
Example::
|
|
40653
|
+
|
|
40654
|
+
# The code below shows an example of how to instantiate this type.
|
|
40655
|
+
# The values are placeholders you should change.
|
|
40656
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
40657
|
+
|
|
40658
|
+
space_storage_settings_property = sagemaker.CfnSpace.SpaceStorageSettingsProperty(
|
|
40659
|
+
ebs_storage_settings=sagemaker.CfnSpace.EbsStorageSettingsProperty(
|
|
40660
|
+
ebs_volume_size_in_gb=123
|
|
40661
|
+
)
|
|
40662
|
+
)
|
|
40663
|
+
'''
|
|
40664
|
+
if __debug__:
|
|
40665
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2f94420dcd1694550d1171a0d2eb7c85a9d135f23b30e70684fabf8c292100b3)
|
|
40666
|
+
check_type(argname="argument ebs_storage_settings", value=ebs_storage_settings, expected_type=type_hints["ebs_storage_settings"])
|
|
40667
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
40668
|
+
if ebs_storage_settings is not None:
|
|
40669
|
+
self._values["ebs_storage_settings"] = ebs_storage_settings
|
|
40670
|
+
|
|
40671
|
+
@builtins.property
|
|
40672
|
+
def ebs_storage_settings(
|
|
40673
|
+
self,
|
|
40674
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.EbsStorageSettingsProperty"]]:
|
|
40675
|
+
'''A collection of EBS storage settings for a private space.
|
|
40676
|
+
|
|
40677
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacestoragesettings.html#cfn-sagemaker-space-spacestoragesettings-ebsstoragesettings
|
|
40678
|
+
'''
|
|
40679
|
+
result = self._values.get("ebs_storage_settings")
|
|
40680
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSpace.EbsStorageSettingsProperty"]], result)
|
|
40681
|
+
|
|
40682
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
40683
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
40684
|
+
|
|
40685
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
40686
|
+
return not (rhs == self)
|
|
40687
|
+
|
|
40688
|
+
def __repr__(self) -> str:
|
|
40689
|
+
return "SpaceStorageSettingsProperty(%s)" % ", ".join(
|
|
40690
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
40691
|
+
)
|
|
40692
|
+
|
|
39556
40693
|
|
|
39557
40694
|
@jsii.data_type(
|
|
39558
40695
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnSpaceProps",
|
|
@@ -39560,7 +40697,10 @@ class CfnSpace(
|
|
|
39560
40697
|
name_mapping={
|
|
39561
40698
|
"domain_id": "domainId",
|
|
39562
40699
|
"space_name": "spaceName",
|
|
40700
|
+
"ownership_settings": "ownershipSettings",
|
|
40701
|
+
"space_display_name": "spaceDisplayName",
|
|
39563
40702
|
"space_settings": "spaceSettings",
|
|
40703
|
+
"space_sharing_settings": "spaceSharingSettings",
|
|
39564
40704
|
"tags": "tags",
|
|
39565
40705
|
},
|
|
39566
40706
|
)
|
|
@@ -39570,14 +40710,20 @@ class CfnSpaceProps:
|
|
|
39570
40710
|
*,
|
|
39571
40711
|
domain_id: builtins.str,
|
|
39572
40712
|
space_name: builtins.str,
|
|
40713
|
+
ownership_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.OwnershipSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
40714
|
+
space_display_name: typing.Optional[builtins.str] = None,
|
|
39573
40715
|
space_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
40716
|
+
space_sharing_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceSharingSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39574
40717
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39575
40718
|
) -> None:
|
|
39576
40719
|
'''Properties for defining a ``CfnSpace``.
|
|
39577
40720
|
|
|
39578
|
-
:param domain_id: The ID of the associated
|
|
40721
|
+
:param domain_id: The ID of the associated domain.
|
|
39579
40722
|
:param space_name: The name of the space.
|
|
40723
|
+
:param ownership_settings: The collection of ownership settings for a space.
|
|
40724
|
+
:param space_display_name: The name of the space that appears in the Studio UI.
|
|
39580
40725
|
:param space_settings: A collection of space settings.
|
|
40726
|
+
:param space_sharing_settings: A collection of space sharing settings.
|
|
39581
40727
|
: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>`_ .
|
|
39582
40728
|
|
|
39583
40729
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html
|
|
@@ -39594,7 +40740,34 @@ class CfnSpaceProps:
|
|
|
39594
40740
|
space_name="spaceName",
|
|
39595
40741
|
|
|
39596
40742
|
# the properties below are optional
|
|
40743
|
+
ownership_settings=sagemaker.CfnSpace.OwnershipSettingsProperty(
|
|
40744
|
+
owner_user_profile_name="ownerUserProfileName"
|
|
40745
|
+
),
|
|
40746
|
+
space_display_name="spaceDisplayName",
|
|
39597
40747
|
space_settings=sagemaker.CfnSpace.SpaceSettingsProperty(
|
|
40748
|
+
app_type="appType",
|
|
40749
|
+
code_editor_app_settings=sagemaker.CfnSpace.SpaceCodeEditorAppSettingsProperty(
|
|
40750
|
+
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
40751
|
+
instance_type="instanceType",
|
|
40752
|
+
sage_maker_image_arn="sageMakerImageArn",
|
|
40753
|
+
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
40754
|
+
)
|
|
40755
|
+
),
|
|
40756
|
+
custom_file_systems=[sagemaker.CfnSpace.CustomFileSystemProperty(
|
|
40757
|
+
efs_file_system=sagemaker.CfnSpace.EFSFileSystemProperty(
|
|
40758
|
+
file_system_id="fileSystemId"
|
|
40759
|
+
)
|
|
40760
|
+
)],
|
|
40761
|
+
jupyter_lab_app_settings=sagemaker.CfnSpace.SpaceJupyterLabAppSettingsProperty(
|
|
40762
|
+
code_repositories=[sagemaker.CfnSpace.CodeRepositoryProperty(
|
|
40763
|
+
repository_url="repositoryUrl"
|
|
40764
|
+
)],
|
|
40765
|
+
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
40766
|
+
instance_type="instanceType",
|
|
40767
|
+
sage_maker_image_arn="sageMakerImageArn",
|
|
40768
|
+
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
40769
|
+
)
|
|
40770
|
+
),
|
|
39598
40771
|
jupyter_server_app_settings=sagemaker.CfnSpace.JupyterServerAppSettingsProperty(
|
|
39599
40772
|
default_resource_spec=sagemaker.CfnSpace.ResourceSpecProperty(
|
|
39600
40773
|
instance_type="instanceType",
|
|
@@ -39615,8 +40788,16 @@ class CfnSpaceProps:
|
|
|
39615
40788
|
sage_maker_image_arn="sageMakerImageArn",
|
|
39616
40789
|
sage_maker_image_version_arn="sageMakerImageVersionArn"
|
|
39617
40790
|
)
|
|
40791
|
+
),
|
|
40792
|
+
space_storage_settings=sagemaker.CfnSpace.SpaceStorageSettingsProperty(
|
|
40793
|
+
ebs_storage_settings=sagemaker.CfnSpace.EbsStorageSettingsProperty(
|
|
40794
|
+
ebs_volume_size_in_gb=123
|
|
40795
|
+
)
|
|
39618
40796
|
)
|
|
39619
40797
|
),
|
|
40798
|
+
space_sharing_settings=sagemaker.CfnSpace.SpaceSharingSettingsProperty(
|
|
40799
|
+
sharing_type="sharingType"
|
|
40800
|
+
),
|
|
39620
40801
|
tags=[CfnTag(
|
|
39621
40802
|
key="key",
|
|
39622
40803
|
value="value"
|
|
@@ -39627,20 +40808,29 @@ class CfnSpaceProps:
|
|
|
39627
40808
|
type_hints = typing.get_type_hints(_typecheckingstub__8f5699fa94392026ecd18cd10e7b2f958dfdf2e28a0ccce76bd35684435f42d8)
|
|
39628
40809
|
check_type(argname="argument domain_id", value=domain_id, expected_type=type_hints["domain_id"])
|
|
39629
40810
|
check_type(argname="argument space_name", value=space_name, expected_type=type_hints["space_name"])
|
|
40811
|
+
check_type(argname="argument ownership_settings", value=ownership_settings, expected_type=type_hints["ownership_settings"])
|
|
40812
|
+
check_type(argname="argument space_display_name", value=space_display_name, expected_type=type_hints["space_display_name"])
|
|
39630
40813
|
check_type(argname="argument space_settings", value=space_settings, expected_type=type_hints["space_settings"])
|
|
40814
|
+
check_type(argname="argument space_sharing_settings", value=space_sharing_settings, expected_type=type_hints["space_sharing_settings"])
|
|
39631
40815
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
39632
40816
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
39633
40817
|
"domain_id": domain_id,
|
|
39634
40818
|
"space_name": space_name,
|
|
39635
40819
|
}
|
|
40820
|
+
if ownership_settings is not None:
|
|
40821
|
+
self._values["ownership_settings"] = ownership_settings
|
|
40822
|
+
if space_display_name is not None:
|
|
40823
|
+
self._values["space_display_name"] = space_display_name
|
|
39636
40824
|
if space_settings is not None:
|
|
39637
40825
|
self._values["space_settings"] = space_settings
|
|
40826
|
+
if space_sharing_settings is not None:
|
|
40827
|
+
self._values["space_sharing_settings"] = space_sharing_settings
|
|
39638
40828
|
if tags is not None:
|
|
39639
40829
|
self._values["tags"] = tags
|
|
39640
40830
|
|
|
39641
40831
|
@builtins.property
|
|
39642
40832
|
def domain_id(self) -> builtins.str:
|
|
39643
|
-
'''The ID of the associated
|
|
40833
|
+
'''The ID of the associated domain.
|
|
39644
40834
|
|
|
39645
40835
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html#cfn-sagemaker-space-domainid
|
|
39646
40836
|
'''
|
|
@@ -39658,6 +40848,26 @@ class CfnSpaceProps:
|
|
|
39658
40848
|
assert result is not None, "Required property 'space_name' is missing"
|
|
39659
40849
|
return typing.cast(builtins.str, result)
|
|
39660
40850
|
|
|
40851
|
+
@builtins.property
|
|
40852
|
+
def ownership_settings(
|
|
40853
|
+
self,
|
|
40854
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSpace.OwnershipSettingsProperty]]:
|
|
40855
|
+
'''The collection of ownership settings for a space.
|
|
40856
|
+
|
|
40857
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html#cfn-sagemaker-space-ownershipsettings
|
|
40858
|
+
'''
|
|
40859
|
+
result = self._values.get("ownership_settings")
|
|
40860
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSpace.OwnershipSettingsProperty]], result)
|
|
40861
|
+
|
|
40862
|
+
@builtins.property
|
|
40863
|
+
def space_display_name(self) -> typing.Optional[builtins.str]:
|
|
40864
|
+
'''The name of the space that appears in the Studio UI.
|
|
40865
|
+
|
|
40866
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html#cfn-sagemaker-space-spacedisplayname
|
|
40867
|
+
'''
|
|
40868
|
+
result = self._values.get("space_display_name")
|
|
40869
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
40870
|
+
|
|
39661
40871
|
@builtins.property
|
|
39662
40872
|
def space_settings(
|
|
39663
40873
|
self,
|
|
@@ -39669,6 +40879,17 @@ class CfnSpaceProps:
|
|
|
39669
40879
|
result = self._values.get("space_settings")
|
|
39670
40880
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSpace.SpaceSettingsProperty]], result)
|
|
39671
40881
|
|
|
40882
|
+
@builtins.property
|
|
40883
|
+
def space_sharing_settings(
|
|
40884
|
+
self,
|
|
40885
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSpace.SpaceSharingSettingsProperty]]:
|
|
40886
|
+
'''A collection of space sharing settings.
|
|
40887
|
+
|
|
40888
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html#cfn-sagemaker-space-spacesharingsettings
|
|
40889
|
+
'''
|
|
40890
|
+
result = self._values.get("space_sharing_settings")
|
|
40891
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSpace.SpaceSharingSettingsProperty]], result)
|
|
40892
|
+
|
|
39672
40893
|
@builtins.property
|
|
39673
40894
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
39674
40895
|
'''An array of key-value pairs to apply to this resource.
|
|
@@ -39879,7 +41100,7 @@ class CfnUserProfile(
|
|
|
39879
41100
|
@builtins.property
|
|
39880
41101
|
@jsii.member(jsii_name="attrUserProfileArn")
|
|
39881
41102
|
def attr_user_profile_arn(self) -> builtins.str:
|
|
39882
|
-
'''The Amazon Resource Name (ARN) of the user profile, such as ``arn:aws:sagemaker:
|
|
41103
|
+
'''The Amazon Resource Name (ARN) of the user profile, such as ``arn:aws:sagemaker:region:account-id:user-profile/domain-id/user-profile-name`` .
|
|
39883
41104
|
|
|
39884
41105
|
:cloudformationAttribute: UserProfileArn
|
|
39885
41106
|
'''
|
|
@@ -40001,7 +41222,7 @@ class CfnUserProfile(
|
|
|
40001
41222
|
|
|
40002
41223
|
For more information about Code Editor, see `Get started with Code Editor in Amazon SageMaker <https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html>`_ .
|
|
40003
41224
|
|
|
40004
|
-
:param default_resource_spec:
|
|
41225
|
+
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.
|
|
40005
41226
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
40006
41227
|
|
|
40007
41228
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html
|
|
@@ -40036,7 +41257,8 @@ class CfnUserProfile(
|
|
|
40036
41257
|
def default_resource_spec(
|
|
40037
41258
|
self,
|
|
40038
41259
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.ResourceSpecProperty"]]:
|
|
40039
|
-
'''
|
|
41260
|
+
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.
|
|
41261
|
+
|
|
40040
41262
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-defaultresourcespec
|
|
40041
41263
|
'''
|
|
40042
41264
|
result = self._values.get("default_resource_spec")
|
|
@@ -40575,7 +41797,7 @@ class CfnUserProfile(
|
|
|
40575
41797
|
|
|
40576
41798
|
:param code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
40577
41799
|
:param custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
|
|
40578
|
-
:param default_resource_spec:
|
|
41800
|
+
:param default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
|
|
40579
41801
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must set ``LifecycleConfigArns`` to an empty list.
|
|
40580
41802
|
|
|
40581
41803
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html
|
|
@@ -40648,7 +41870,8 @@ class CfnUserProfile(
|
|
|
40648
41870
|
def default_resource_spec(
|
|
40649
41871
|
self,
|
|
40650
41872
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.ResourceSpecProperty"]]:
|
|
40651
|
-
'''
|
|
41873
|
+
'''The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
|
|
41874
|
+
|
|
40652
41875
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-defaultresourcespec
|
|
40653
41876
|
'''
|
|
40654
41877
|
result = self._values.get("default_resource_spec")
|
|
@@ -40755,7 +41978,7 @@ class CfnUserProfile(
|
|
|
40755
41978
|
'''The KernelGateway app settings.
|
|
40756
41979
|
|
|
40757
41980
|
:param custom_images: A list of custom SageMaker images that are configured to run as a KernelGateway app.
|
|
40758
|
-
: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
|
|
41981
|
+
: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.
|
|
40759
41982
|
|
|
40760
41983
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html
|
|
40761
41984
|
:exampleMetadata: fixture=_generated
|
|
@@ -40810,7 +42033,7 @@ class CfnUserProfile(
|
|
|
40810
42033
|
|
|
40811
42034
|
.. epigraph::
|
|
40812
42035
|
|
|
40813
|
-
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
|
|
42036
|
+
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.
|
|
40814
42037
|
|
|
40815
42038
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html#cfn-sagemaker-userprofile-kernelgatewayappsettings-defaultresourcespec
|
|
40816
42039
|
'''
|
|
@@ -41736,7 +42959,7 @@ class CfnWorkteam(
|
|
|
41736
42959
|
:param member_definitions: A list of ``MemberDefinition`` objects that contains objects that identify the workers that make up the work team. Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP). For private workforces created using Amazon Cognito use ``CognitoMemberDefinition`` . For workforces created using your own OIDC identity provider (IdP) use ``OidcMemberDefinition`` .
|
|
41737
42960
|
:param notification_configuration: Configures SNS notifications of available or expiring work items for work teams.
|
|
41738
42961
|
:param tags: An array of key-value pairs.
|
|
41739
|
-
:param workforce_name:
|
|
42962
|
+
:param workforce_name: The name of the workforce.
|
|
41740
42963
|
:param workteam_name: The name of the work team.
|
|
41741
42964
|
'''
|
|
41742
42965
|
if __debug__:
|
|
@@ -41877,6 +43100,7 @@ class CfnWorkteam(
|
|
|
41877
43100
|
@builtins.property
|
|
41878
43101
|
@jsii.member(jsii_name="workforceName")
|
|
41879
43102
|
def workforce_name(self) -> typing.Optional[builtins.str]:
|
|
43103
|
+
'''The name of the workforce.'''
|
|
41880
43104
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "workforceName"))
|
|
41881
43105
|
|
|
41882
43106
|
@workforce_name.setter
|
|
@@ -42215,7 +43439,7 @@ class CfnWorkteamProps:
|
|
|
42215
43439
|
:param member_definitions: A list of ``MemberDefinition`` objects that contains objects that identify the workers that make up the work team. Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP). For private workforces created using Amazon Cognito use ``CognitoMemberDefinition`` . For workforces created using your own OIDC identity provider (IdP) use ``OidcMemberDefinition`` .
|
|
42216
43440
|
:param notification_configuration: Configures SNS notifications of available or expiring work items for work teams.
|
|
42217
43441
|
:param tags: An array of key-value pairs.
|
|
42218
|
-
:param workforce_name:
|
|
43442
|
+
:param workforce_name: The name of the workforce.
|
|
42219
43443
|
:param workteam_name: The name of the work team.
|
|
42220
43444
|
|
|
42221
43445
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html
|
|
@@ -42316,7 +43540,8 @@ class CfnWorkteamProps:
|
|
|
42316
43540
|
|
|
42317
43541
|
@builtins.property
|
|
42318
43542
|
def workforce_name(self) -> typing.Optional[builtins.str]:
|
|
42319
|
-
'''
|
|
43543
|
+
'''The name of the workforce.
|
|
43544
|
+
|
|
42320
43545
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-workforcename
|
|
42321
43546
|
'''
|
|
42322
43547
|
result = self._values.get("workforce_name")
|
|
@@ -42554,6 +43779,7 @@ def _typecheckingstub__a5bddad57cf4d60d052f199fa18e6d92660d1097d0ea8d783dbde99f9
|
|
|
42554
43779
|
id: builtins.str,
|
|
42555
43780
|
*,
|
|
42556
43781
|
app_image_config_name: builtins.str,
|
|
43782
|
+
jupyter_lab_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.JupyterLabAppImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42557
43783
|
kernel_gateway_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.KernelGatewayImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42558
43784
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42559
43785
|
) -> None:
|
|
@@ -42578,6 +43804,12 @@ def _typecheckingstub__01fc550542699aeed5dd2d9ae695d23b69d475612dabef44e560292d0
|
|
|
42578
43804
|
"""Type checking stubs"""
|
|
42579
43805
|
pass
|
|
42580
43806
|
|
|
43807
|
+
def _typecheckingstub__aef39f4d8911200135ee7fdb47a08f8fa45069c4180729da9af97fa961d49e1a(
|
|
43808
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppImageConfig.JupyterLabAppImageConfigProperty]],
|
|
43809
|
+
) -> None:
|
|
43810
|
+
"""Type checking stubs"""
|
|
43811
|
+
pass
|
|
43812
|
+
|
|
42581
43813
|
def _typecheckingstub__5129d030fcca687bbeeb2006415186516bbfe40d0eb84e4e1b19bda9233d80f0(
|
|
42582
43814
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppImageConfig.KernelGatewayImageConfigProperty]],
|
|
42583
43815
|
) -> None:
|
|
@@ -42590,6 +43822,23 @@ def _typecheckingstub__4462443074ff405184cbe7f0da1ea76390388cd02ffca07d1fbaf2ef6
|
|
|
42590
43822
|
"""Type checking stubs"""
|
|
42591
43823
|
pass
|
|
42592
43824
|
|
|
43825
|
+
def _typecheckingstub__8b3f36d6876284a715882d9b4c7e6a8165d5d73b8f920f2b775524b827da5e17(
|
|
43826
|
+
*,
|
|
43827
|
+
container_arguments: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
43828
|
+
container_entrypoint: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
43829
|
+
container_environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
43830
|
+
) -> None:
|
|
43831
|
+
"""Type checking stubs"""
|
|
43832
|
+
pass
|
|
43833
|
+
|
|
43834
|
+
def _typecheckingstub__98e74d81e240bc1b803f8637c6283046025ad0daa03d87091e2b1084f0f3d2c6(
|
|
43835
|
+
*,
|
|
43836
|
+
key: builtins.str,
|
|
43837
|
+
value: builtins.str,
|
|
43838
|
+
) -> None:
|
|
43839
|
+
"""Type checking stubs"""
|
|
43840
|
+
pass
|
|
43841
|
+
|
|
42593
43842
|
def _typecheckingstub__1bf5a54cea483597930e2acc9a52917d8d76e77acdbacf9c4d89c223259b37b0(
|
|
42594
43843
|
*,
|
|
42595
43844
|
default_gid: typing.Optional[jsii.Number] = None,
|
|
@@ -42599,6 +43848,13 @@ def _typecheckingstub__1bf5a54cea483597930e2acc9a52917d8d76e77acdbacf9c4d89c2232
|
|
|
42599
43848
|
"""Type checking stubs"""
|
|
42600
43849
|
pass
|
|
42601
43850
|
|
|
43851
|
+
def _typecheckingstub__bd5d67bc2196b2c23cd1a90bafc8959e0e0ab648e5d9b1751de6e158c015b17d(
|
|
43852
|
+
*,
|
|
43853
|
+
container_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.ContainerConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43854
|
+
) -> None:
|
|
43855
|
+
"""Type checking stubs"""
|
|
43856
|
+
pass
|
|
43857
|
+
|
|
42602
43858
|
def _typecheckingstub__c86ddd58dc2d271d40ac6b9fe05c0ef722eda13bfa91f644e01a4fc42586ef1e(
|
|
42603
43859
|
*,
|
|
42604
43860
|
kernel_specs: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.KernelSpecProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
@@ -42618,6 +43874,7 @@ def _typecheckingstub__ca51ca3546507d1ce51158d74b8fb17c6958c2747cd16f3b75aceb61d
|
|
|
42618
43874
|
def _typecheckingstub__ff2672f4d222b0d6bb376871aa42ac2f1c78c70d0a1aa2fd3f19e08fcbb07857(
|
|
42619
43875
|
*,
|
|
42620
43876
|
app_image_config_name: builtins.str,
|
|
43877
|
+
jupyter_lab_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.JupyterLabAppImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42621
43878
|
kernel_gateway_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.KernelGatewayImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42622
43879
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
42623
43880
|
) -> None:
|
|
@@ -43257,8 +44514,17 @@ def _typecheckingstub__65b37e511dc3aca202a4950f1f8750ff3beb0c7745987fbeac5766d66
|
|
|
43257
44514
|
"""Type checking stubs"""
|
|
43258
44515
|
pass
|
|
43259
44516
|
|
|
44517
|
+
def _typecheckingstub__1936e7c64bbc1c0c5b8c086a1111acac047651d9cb6495a9c2f8961d2ede3cd7(
|
|
44518
|
+
*,
|
|
44519
|
+
enable_docker_access: typing.Optional[builtins.str] = None,
|
|
44520
|
+
vpc_only_trusted_accounts: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
44521
|
+
) -> None:
|
|
44522
|
+
"""Type checking stubs"""
|
|
44523
|
+
pass
|
|
44524
|
+
|
|
43260
44525
|
def _typecheckingstub__b23323cc301476d59d77a279da88bfc3d14a3c21fb8709a0ecc6db6074a56cf9(
|
|
43261
44526
|
*,
|
|
44527
|
+
docker_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.DockerSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43262
44528
|
r_studio_server_pro_domain_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.RStudioServerProDomainSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43263
44529
|
security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
43264
44530
|
) -> None:
|
|
@@ -47038,7 +48304,10 @@ def _typecheckingstub__f4cf36c039bdacba2a059b01ad6ca85e87e6d521f09ca1f75b0131027
|
|
|
47038
48304
|
*,
|
|
47039
48305
|
domain_id: builtins.str,
|
|
47040
48306
|
space_name: builtins.str,
|
|
48307
|
+
ownership_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.OwnershipSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48308
|
+
space_display_name: typing.Optional[builtins.str] = None,
|
|
47041
48309
|
space_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48310
|
+
space_sharing_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceSharingSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47042
48311
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47043
48312
|
) -> None:
|
|
47044
48313
|
"""Type checking stubs"""
|
|
@@ -47068,18 +48337,50 @@ def _typecheckingstub__01a66fc19cb8199a9c43aeac236d2f1881bb9b78f1ce1ac686d5a9a59
|
|
|
47068
48337
|
"""Type checking stubs"""
|
|
47069
48338
|
pass
|
|
47070
48339
|
|
|
48340
|
+
def _typecheckingstub__303f7b19debd767eb2213564bca72a32ab6e57cb29cb38bf219dc9207ec13e3f(
|
|
48341
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSpace.OwnershipSettingsProperty]],
|
|
48342
|
+
) -> None:
|
|
48343
|
+
"""Type checking stubs"""
|
|
48344
|
+
pass
|
|
48345
|
+
|
|
48346
|
+
def _typecheckingstub__852947fc8587d14fcfd15896e879b227e8cb44f5908fac106903cc03fbc0b6b0(
|
|
48347
|
+
value: typing.Optional[builtins.str],
|
|
48348
|
+
) -> None:
|
|
48349
|
+
"""Type checking stubs"""
|
|
48350
|
+
pass
|
|
48351
|
+
|
|
47071
48352
|
def _typecheckingstub__264f1be432aaf86bc93f0672254d79855cc493af6e34ef50cd1505e249de6b5d(
|
|
47072
48353
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSpace.SpaceSettingsProperty]],
|
|
47073
48354
|
) -> None:
|
|
47074
48355
|
"""Type checking stubs"""
|
|
47075
48356
|
pass
|
|
47076
48357
|
|
|
48358
|
+
def _typecheckingstub__f23b26805d9f35d54900c70ee0290c77cf11274f4fb36b2abe523e606e9d0edd(
|
|
48359
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnSpace.SpaceSharingSettingsProperty]],
|
|
48360
|
+
) -> None:
|
|
48361
|
+
"""Type checking stubs"""
|
|
48362
|
+
pass
|
|
48363
|
+
|
|
47077
48364
|
def _typecheckingstub__2fb997db93555cf7868ac4f87100c327aadec8d6df473fe2c1a64189d900ad3c(
|
|
47078
48365
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
47079
48366
|
) -> None:
|
|
47080
48367
|
"""Type checking stubs"""
|
|
47081
48368
|
pass
|
|
47082
48369
|
|
|
48370
|
+
def _typecheckingstub__f9aa7dfa32bab52d4519b42abed08e2e1425842ac98fccc838efb6ab616c593c(
|
|
48371
|
+
*,
|
|
48372
|
+
repository_url: builtins.str,
|
|
48373
|
+
) -> None:
|
|
48374
|
+
"""Type checking stubs"""
|
|
48375
|
+
pass
|
|
48376
|
+
|
|
48377
|
+
def _typecheckingstub__176823f1400da84e6a74d99732efcbf76ba89110f7c5a78a8ea1c95faec9ef80(
|
|
48378
|
+
*,
|
|
48379
|
+
efs_file_system: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.EFSFileSystemProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48380
|
+
) -> None:
|
|
48381
|
+
"""Type checking stubs"""
|
|
48382
|
+
pass
|
|
48383
|
+
|
|
47083
48384
|
def _typecheckingstub__153516bc9ff4edaada8209c108f074d6ec6bcbeec18558659518ec7028cbb836(
|
|
47084
48385
|
*,
|
|
47085
48386
|
app_image_config_name: builtins.str,
|
|
@@ -47089,6 +48390,20 @@ def _typecheckingstub__153516bc9ff4edaada8209c108f074d6ec6bcbeec18558659518ec702
|
|
|
47089
48390
|
"""Type checking stubs"""
|
|
47090
48391
|
pass
|
|
47091
48392
|
|
|
48393
|
+
def _typecheckingstub__b953c9abee2b2e62cefb483bce64e6b3ea8af5be83ba1d0367ad814067ba7617(
|
|
48394
|
+
*,
|
|
48395
|
+
file_system_id: builtins.str,
|
|
48396
|
+
) -> None:
|
|
48397
|
+
"""Type checking stubs"""
|
|
48398
|
+
pass
|
|
48399
|
+
|
|
48400
|
+
def _typecheckingstub__922d7202488e113b0556c43fbe71bd5aaccb81bf7a5ff6fb306cf83fcf6e8b2d(
|
|
48401
|
+
*,
|
|
48402
|
+
ebs_volume_size_in_gb: jsii.Number,
|
|
48403
|
+
) -> None:
|
|
48404
|
+
"""Type checking stubs"""
|
|
48405
|
+
pass
|
|
48406
|
+
|
|
47092
48407
|
def _typecheckingstub__41c77062d743943bf9fdd4eb4d3d0369cc1794bdb7dd97873d2ed4e1f32a9449(
|
|
47093
48408
|
*,
|
|
47094
48409
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -47104,6 +48419,13 @@ def _typecheckingstub__562ccb13fdd971a232d6c09771df96f39bf8c03a1dd5dc4dbe750dafb
|
|
|
47104
48419
|
"""Type checking stubs"""
|
|
47105
48420
|
pass
|
|
47106
48421
|
|
|
48422
|
+
def _typecheckingstub__572cd73377912b839f96a9b5a6e497ecca550c4a7bf718624b1cf8f9d297caf9(
|
|
48423
|
+
*,
|
|
48424
|
+
owner_user_profile_name: builtins.str,
|
|
48425
|
+
) -> None:
|
|
48426
|
+
"""Type checking stubs"""
|
|
48427
|
+
pass
|
|
48428
|
+
|
|
47107
48429
|
def _typecheckingstub__79b889d20ec4ee307fedce4172f7c39782dc99bf76625acfdf5b00983a54fd2b(
|
|
47108
48430
|
*,
|
|
47109
48431
|
instance_type: typing.Optional[builtins.str] = None,
|
|
@@ -47113,10 +48435,44 @@ def _typecheckingstub__79b889d20ec4ee307fedce4172f7c39782dc99bf76625acfdf5b00983
|
|
|
47113
48435
|
"""Type checking stubs"""
|
|
47114
48436
|
pass
|
|
47115
48437
|
|
|
48438
|
+
def _typecheckingstub__1ccdbe16ad464b21c1c01c798a58ed7a704f69ec08bdbedc54b19a13b70b847a(
|
|
48439
|
+
*,
|
|
48440
|
+
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48441
|
+
) -> None:
|
|
48442
|
+
"""Type checking stubs"""
|
|
48443
|
+
pass
|
|
48444
|
+
|
|
48445
|
+
def _typecheckingstub__a41dc337f9d1d8489c3a20e3b4e83371071cb50a7748a0d97f725a95f5f41aca(
|
|
48446
|
+
*,
|
|
48447
|
+
code_repositories: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.CodeRepositoryProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
48448
|
+
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48449
|
+
) -> None:
|
|
48450
|
+
"""Type checking stubs"""
|
|
48451
|
+
pass
|
|
48452
|
+
|
|
47116
48453
|
def _typecheckingstub__20403c26618d8fc71e879e92b0c5ef05fbfe71e99cf6ee51d918b935f23702aa(
|
|
47117
48454
|
*,
|
|
48455
|
+
app_type: typing.Optional[builtins.str] = None,
|
|
48456
|
+
code_editor_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceCodeEditorAppSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48457
|
+
custom_file_systems: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.CustomFileSystemProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
48458
|
+
jupyter_lab_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceJupyterLabAppSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47118
48459
|
jupyter_server_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.JupyterServerAppSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47119
48460
|
kernel_gateway_app_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.KernelGatewayAppSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48461
|
+
space_storage_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceStorageSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48462
|
+
) -> None:
|
|
48463
|
+
"""Type checking stubs"""
|
|
48464
|
+
pass
|
|
48465
|
+
|
|
48466
|
+
def _typecheckingstub__774a533e8b39c9adc15fddeb58ed5995c0e4f3039972fd5ffbf7d1de5a97bfe6(
|
|
48467
|
+
*,
|
|
48468
|
+
sharing_type: builtins.str,
|
|
48469
|
+
) -> None:
|
|
48470
|
+
"""Type checking stubs"""
|
|
48471
|
+
pass
|
|
48472
|
+
|
|
48473
|
+
def _typecheckingstub__2f94420dcd1694550d1171a0d2eb7c85a9d135f23b30e70684fabf8c292100b3(
|
|
48474
|
+
*,
|
|
48475
|
+
ebs_storage_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.EbsStorageSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47120
48476
|
) -> None:
|
|
47121
48477
|
"""Type checking stubs"""
|
|
47122
48478
|
pass
|
|
@@ -47125,7 +48481,10 @@ def _typecheckingstub__8f5699fa94392026ecd18cd10e7b2f958dfdf2e28a0ccce76bd356844
|
|
|
47125
48481
|
*,
|
|
47126
48482
|
domain_id: builtins.str,
|
|
47127
48483
|
space_name: builtins.str,
|
|
48484
|
+
ownership_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.OwnershipSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48485
|
+
space_display_name: typing.Optional[builtins.str] = None,
|
|
47128
48486
|
space_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48487
|
+
space_sharing_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSpace.SpaceSharingSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47129
48488
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
47130
48489
|
) -> None:
|
|
47131
48490
|
"""Type checking stubs"""
|