aws-cdk-lib 2.137.0__py3-none-any.whl → 2.138.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 +8 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.137.0.jsii.tgz → aws-cdk-lib@2.138.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +29 -113
- aws_cdk/aws_appconfig/__init__.py +26 -33
- aws_cdk/aws_apprunner/__init__.py +5 -2
- aws_cdk/aws_appsync/__init__.py +400 -13
- aws_cdk/aws_aps/__init__.py +64 -47
- aws_cdk/aws_b2bi/__init__.py +2 -6
- aws_cdk/aws_backup/__init__.py +27 -23
- aws_cdk/aws_batch/__init__.py +103 -0
- aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
- aws_cdk/aws_chatbot/__init__.py +6 -4
- aws_cdk/aws_cleanrooms/__init__.py +526 -3
- aws_cdk/aws_cleanroomsml/__init__.py +960 -0
- aws_cdk/aws_cloudtrail/__init__.py +10 -10
- aws_cdk/aws_cloudwatch/__init__.py +124 -8
- aws_cdk/aws_codebuild/__init__.py +27 -22
- aws_cdk/aws_codeconnections/__init__.py +435 -0
- aws_cdk/aws_cognito/__init__.py +175 -79
- aws_cdk/aws_deadline/__init__.py +5394 -0
- aws_cdk/aws_ec2/__init__.py +279 -163
- aws_cdk/aws_ecs/__init__.py +240 -1
- aws_cdk/aws_efs/__init__.py +2 -2
- aws_cdk/aws_elasticache/__init__.py +86 -32
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +52 -2
- aws_cdk/aws_emr/__init__.py +2 -2
- aws_cdk/aws_entityresolution/__init__.py +1982 -773
- aws_cdk/aws_globalaccelerator/__init__.py +443 -0
- aws_cdk/aws_iam/__init__.py +1 -2
- aws_cdk/aws_internetmonitor/__init__.py +14 -6
- aws_cdk/aws_ivs/__init__.py +1273 -71
- aws_cdk/aws_mediatailor/__init__.py +41 -0
- aws_cdk/aws_personalize/__init__.py +8 -6
- aws_cdk/aws_pinpoint/__init__.py +5 -3
- aws_cdk/aws_pipes/__init__.py +5 -1
- aws_cdk/aws_quicksight/__init__.py +12 -6
- aws_cdk/aws_rds/__init__.py +355 -85
- aws_cdk/aws_route53/__init__.py +587 -14
- aws_cdk/aws_sagemaker/__init__.py +233 -2
- aws_cdk/aws_securityhub/__init__.py +4940 -102
- aws_cdk/aws_securitylake/__init__.py +1237 -55
- aws_cdk/aws_sns/__init__.py +61 -4
- aws_cdk/aws_ssmcontacts/__init__.py +11 -4
- aws_cdk/aws_stepfunctions/__init__.py +8 -16
- aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
- aws_cdk/aws_transfer/__init__.py +4 -4
- aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
- aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
- aws_cdk/custom_resources/__init__.py +248 -26
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/RECORD +56 -52
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/top_level.txt +0 -0
|
@@ -391,6 +391,16 @@ class CfnAppImageConfig(
|
|
|
391
391
|
app_image_config_name="appImageConfigName",
|
|
392
392
|
|
|
393
393
|
# the properties below are optional
|
|
394
|
+
code_editor_app_image_config=sagemaker.CfnAppImageConfig.CodeEditorAppImageConfigProperty(
|
|
395
|
+
container_config=sagemaker.CfnAppImageConfig.ContainerConfigProperty(
|
|
396
|
+
container_arguments=["containerArguments"],
|
|
397
|
+
container_entrypoint=["containerEntrypoint"],
|
|
398
|
+
container_environment_variables=[sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty(
|
|
399
|
+
key="key",
|
|
400
|
+
value="value"
|
|
401
|
+
)]
|
|
402
|
+
)
|
|
403
|
+
),
|
|
394
404
|
jupyter_lab_app_image_config=sagemaker.CfnAppImageConfig.JupyterLabAppImageConfigProperty(
|
|
395
405
|
container_config=sagemaker.CfnAppImageConfig.ContainerConfigProperty(
|
|
396
406
|
container_arguments=["containerArguments"],
|
|
@@ -429,6 +439,7 @@ class CfnAppImageConfig(
|
|
|
429
439
|
id: builtins.str,
|
|
430
440
|
*,
|
|
431
441
|
app_image_config_name: builtins.str,
|
|
442
|
+
code_editor_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.CodeEditorAppImageConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
432
443
|
jupyter_lab_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.JupyterLabAppImageConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
433
444
|
kernel_gateway_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.KernelGatewayImageConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
434
445
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -437,6 +448,7 @@ class CfnAppImageConfig(
|
|
|
437
448
|
:param scope: Scope in which this resource is defined.
|
|
438
449
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
439
450
|
:param app_image_config_name: The name of the AppImageConfig. Must be unique to your account.
|
|
451
|
+
:param code_editor_app_image_config: The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
440
452
|
:param jupyter_lab_app_image_config: The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
441
453
|
:param kernel_gateway_image_config: The configuration for the file system and kernels in the SageMaker image.
|
|
442
454
|
: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>`_ .
|
|
@@ -447,6 +459,7 @@ class CfnAppImageConfig(
|
|
|
447
459
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
448
460
|
props = CfnAppImageConfigProps(
|
|
449
461
|
app_image_config_name=app_image_config_name,
|
|
462
|
+
code_editor_app_image_config=code_editor_app_image_config,
|
|
450
463
|
jupyter_lab_app_image_config=jupyter_lab_app_image_config,
|
|
451
464
|
kernel_gateway_image_config=kernel_gateway_image_config,
|
|
452
465
|
tags=tags,
|
|
@@ -517,6 +530,24 @@ class CfnAppImageConfig(
|
|
|
517
530
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
518
531
|
jsii.set(self, "appImageConfigName", value)
|
|
519
532
|
|
|
533
|
+
@builtins.property
|
|
534
|
+
@jsii.member(jsii_name="codeEditorAppImageConfig")
|
|
535
|
+
def code_editor_app_image_config(
|
|
536
|
+
self,
|
|
537
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.CodeEditorAppImageConfigProperty"]]:
|
|
538
|
+
'''The configuration for the file system and the runtime, such as the environment variables and entry point.'''
|
|
539
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.CodeEditorAppImageConfigProperty"]], jsii.get(self, "codeEditorAppImageConfig"))
|
|
540
|
+
|
|
541
|
+
@code_editor_app_image_config.setter
|
|
542
|
+
def code_editor_app_image_config(
|
|
543
|
+
self,
|
|
544
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.CodeEditorAppImageConfigProperty"]],
|
|
545
|
+
) -> None:
|
|
546
|
+
if __debug__:
|
|
547
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f4617d62c0b1a3643141e728729474c90e7cdd3d83d472bca3d71922b3b3ff93)
|
|
548
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
549
|
+
jsii.set(self, "codeEditorAppImageConfig", value)
|
|
550
|
+
|
|
520
551
|
@builtins.property
|
|
521
552
|
@jsii.member(jsii_name="jupyterLabAppImageConfig")
|
|
522
553
|
def jupyter_lab_app_image_config(
|
|
@@ -566,6 +597,72 @@ class CfnAppImageConfig(
|
|
|
566
597
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
567
598
|
jsii.set(self, "tagsRaw", value)
|
|
568
599
|
|
|
600
|
+
@jsii.data_type(
|
|
601
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnAppImageConfig.CodeEditorAppImageConfigProperty",
|
|
602
|
+
jsii_struct_bases=[],
|
|
603
|
+
name_mapping={"container_config": "containerConfig"},
|
|
604
|
+
)
|
|
605
|
+
class CodeEditorAppImageConfigProperty:
|
|
606
|
+
def __init__(
|
|
607
|
+
self,
|
|
608
|
+
*,
|
|
609
|
+
container_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppImageConfig.ContainerConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
610
|
+
) -> None:
|
|
611
|
+
'''The configuration for the file system and kernels in a SageMaker image running as a Code Editor app.
|
|
612
|
+
|
|
613
|
+
The ``FileSystemConfig`` object is not supported.
|
|
614
|
+
|
|
615
|
+
:param container_config: The container configuration for a SageMaker image.
|
|
616
|
+
|
|
617
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-codeeditorappimageconfig.html
|
|
618
|
+
:exampleMetadata: fixture=_generated
|
|
619
|
+
|
|
620
|
+
Example::
|
|
621
|
+
|
|
622
|
+
# The code below shows an example of how to instantiate this type.
|
|
623
|
+
# The values are placeholders you should change.
|
|
624
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
625
|
+
|
|
626
|
+
code_editor_app_image_config_property = sagemaker.CfnAppImageConfig.CodeEditorAppImageConfigProperty(
|
|
627
|
+
container_config=sagemaker.CfnAppImageConfig.ContainerConfigProperty(
|
|
628
|
+
container_arguments=["containerArguments"],
|
|
629
|
+
container_entrypoint=["containerEntrypoint"],
|
|
630
|
+
container_environment_variables=[sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty(
|
|
631
|
+
key="key",
|
|
632
|
+
value="value"
|
|
633
|
+
)]
|
|
634
|
+
)
|
|
635
|
+
)
|
|
636
|
+
'''
|
|
637
|
+
if __debug__:
|
|
638
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9713ac75d63f3b659167fd7cd74d47b6ee84a2fa67cb9c59d4b991ead74b7536)
|
|
639
|
+
check_type(argname="argument container_config", value=container_config, expected_type=type_hints["container_config"])
|
|
640
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
641
|
+
if container_config is not None:
|
|
642
|
+
self._values["container_config"] = container_config
|
|
643
|
+
|
|
644
|
+
@builtins.property
|
|
645
|
+
def container_config(
|
|
646
|
+
self,
|
|
647
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.ContainerConfigProperty"]]:
|
|
648
|
+
'''The container configuration for a SageMaker image.
|
|
649
|
+
|
|
650
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-codeeditorappimageconfig.html#cfn-sagemaker-appimageconfig-codeeditorappimageconfig-containerconfig
|
|
651
|
+
'''
|
|
652
|
+
result = self._values.get("container_config")
|
|
653
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppImageConfig.ContainerConfigProperty"]], result)
|
|
654
|
+
|
|
655
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
656
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
657
|
+
|
|
658
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
659
|
+
return not (rhs == self)
|
|
660
|
+
|
|
661
|
+
def __repr__(self) -> str:
|
|
662
|
+
return "CodeEditorAppImageConfigProperty(%s)" % ", ".join(
|
|
663
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
664
|
+
)
|
|
665
|
+
|
|
569
666
|
@jsii.data_type(
|
|
570
667
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnAppImageConfig.ContainerConfigProperty",
|
|
571
668
|
jsii_struct_bases=[],
|
|
@@ -1057,6 +1154,7 @@ class CfnAppImageConfig(
|
|
|
1057
1154
|
jsii_struct_bases=[],
|
|
1058
1155
|
name_mapping={
|
|
1059
1156
|
"app_image_config_name": "appImageConfigName",
|
|
1157
|
+
"code_editor_app_image_config": "codeEditorAppImageConfig",
|
|
1060
1158
|
"jupyter_lab_app_image_config": "jupyterLabAppImageConfig",
|
|
1061
1159
|
"kernel_gateway_image_config": "kernelGatewayImageConfig",
|
|
1062
1160
|
"tags": "tags",
|
|
@@ -1067,6 +1165,7 @@ class CfnAppImageConfigProps:
|
|
|
1067
1165
|
self,
|
|
1068
1166
|
*,
|
|
1069
1167
|
app_image_config_name: builtins.str,
|
|
1168
|
+
code_editor_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.CodeEditorAppImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1070
1169
|
jupyter_lab_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.JupyterLabAppImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1071
1170
|
kernel_gateway_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.KernelGatewayImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1072
1171
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -1074,6 +1173,7 @@ class CfnAppImageConfigProps:
|
|
|
1074
1173
|
'''Properties for defining a ``CfnAppImageConfig``.
|
|
1075
1174
|
|
|
1076
1175
|
:param app_image_config_name: The name of the AppImageConfig. Must be unique to your account.
|
|
1176
|
+
:param code_editor_app_image_config: The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
1077
1177
|
:param jupyter_lab_app_image_config: The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
1078
1178
|
:param kernel_gateway_image_config: The configuration for the file system and kernels in the SageMaker image.
|
|
1079
1179
|
: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>`_ .
|
|
@@ -1091,6 +1191,16 @@ class CfnAppImageConfigProps:
|
|
|
1091
1191
|
app_image_config_name="appImageConfigName",
|
|
1092
1192
|
|
|
1093
1193
|
# the properties below are optional
|
|
1194
|
+
code_editor_app_image_config=sagemaker.CfnAppImageConfig.CodeEditorAppImageConfigProperty(
|
|
1195
|
+
container_config=sagemaker.CfnAppImageConfig.ContainerConfigProperty(
|
|
1196
|
+
container_arguments=["containerArguments"],
|
|
1197
|
+
container_entrypoint=["containerEntrypoint"],
|
|
1198
|
+
container_environment_variables=[sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty(
|
|
1199
|
+
key="key",
|
|
1200
|
+
value="value"
|
|
1201
|
+
)]
|
|
1202
|
+
)
|
|
1203
|
+
),
|
|
1094
1204
|
jupyter_lab_app_image_config=sagemaker.CfnAppImageConfig.JupyterLabAppImageConfigProperty(
|
|
1095
1205
|
container_config=sagemaker.CfnAppImageConfig.ContainerConfigProperty(
|
|
1096
1206
|
container_arguments=["containerArguments"],
|
|
@@ -1125,12 +1235,15 @@ class CfnAppImageConfigProps:
|
|
|
1125
1235
|
if __debug__:
|
|
1126
1236
|
type_hints = typing.get_type_hints(_typecheckingstub__ff2672f4d222b0d6bb376871aa42ac2f1c78c70d0a1aa2fd3f19e08fcbb07857)
|
|
1127
1237
|
check_type(argname="argument app_image_config_name", value=app_image_config_name, expected_type=type_hints["app_image_config_name"])
|
|
1238
|
+
check_type(argname="argument code_editor_app_image_config", value=code_editor_app_image_config, expected_type=type_hints["code_editor_app_image_config"])
|
|
1128
1239
|
check_type(argname="argument jupyter_lab_app_image_config", value=jupyter_lab_app_image_config, expected_type=type_hints["jupyter_lab_app_image_config"])
|
|
1129
1240
|
check_type(argname="argument kernel_gateway_image_config", value=kernel_gateway_image_config, expected_type=type_hints["kernel_gateway_image_config"])
|
|
1130
1241
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1131
1242
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1132
1243
|
"app_image_config_name": app_image_config_name,
|
|
1133
1244
|
}
|
|
1245
|
+
if code_editor_app_image_config is not None:
|
|
1246
|
+
self._values["code_editor_app_image_config"] = code_editor_app_image_config
|
|
1134
1247
|
if jupyter_lab_app_image_config is not None:
|
|
1135
1248
|
self._values["jupyter_lab_app_image_config"] = jupyter_lab_app_image_config
|
|
1136
1249
|
if kernel_gateway_image_config is not None:
|
|
@@ -1150,6 +1263,17 @@ class CfnAppImageConfigProps:
|
|
|
1150
1263
|
assert result is not None, "Required property 'app_image_config_name' is missing"
|
|
1151
1264
|
return typing.cast(builtins.str, result)
|
|
1152
1265
|
|
|
1266
|
+
@builtins.property
|
|
1267
|
+
def code_editor_app_image_config(
|
|
1268
|
+
self,
|
|
1269
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppImageConfig.CodeEditorAppImageConfigProperty]]:
|
|
1270
|
+
'''The configuration for the file system and the runtime, such as the environment variables and entry point.
|
|
1271
|
+
|
|
1272
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html#cfn-sagemaker-appimageconfig-codeeditorappimageconfig
|
|
1273
|
+
'''
|
|
1274
|
+
result = self._values.get("code_editor_app_image_config")
|
|
1275
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppImageConfig.CodeEditorAppImageConfigProperty]], result)
|
|
1276
|
+
|
|
1153
1277
|
@builtins.property
|
|
1154
1278
|
def jupyter_lab_app_image_config(
|
|
1155
1279
|
self,
|
|
@@ -4854,6 +4978,13 @@ class CfnDomain(
|
|
|
4854
4978
|
|
|
4855
4979
|
# the properties below are optional
|
|
4856
4980
|
code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
|
|
4981
|
+
custom_images=[sagemaker.CfnDomain.CustomImageProperty(
|
|
4982
|
+
app_image_config_name="appImageConfigName",
|
|
4983
|
+
image_name="imageName",
|
|
4984
|
+
|
|
4985
|
+
# the properties below are optional
|
|
4986
|
+
image_version_number=123
|
|
4987
|
+
)],
|
|
4857
4988
|
default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
|
|
4858
4989
|
instance_type="instanceType",
|
|
4859
4990
|
lifecycle_config_arn="lifecycleConfigArn",
|
|
@@ -5340,6 +5471,7 @@ class CfnDomain(
|
|
|
5340
5471
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.CodeEditorAppSettingsProperty",
|
|
5341
5472
|
jsii_struct_bases=[],
|
|
5342
5473
|
name_mapping={
|
|
5474
|
+
"custom_images": "customImages",
|
|
5343
5475
|
"default_resource_spec": "defaultResourceSpec",
|
|
5344
5476
|
"lifecycle_config_arns": "lifecycleConfigArns",
|
|
5345
5477
|
},
|
|
@@ -5348,6 +5480,7 @@ class CfnDomain(
|
|
|
5348
5480
|
def __init__(
|
|
5349
5481
|
self,
|
|
5350
5482
|
*,
|
|
5483
|
+
custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CustomImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5351
5484
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5352
5485
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5353
5486
|
) -> None:
|
|
@@ -5355,6 +5488,7 @@ class CfnDomain(
|
|
|
5355
5488
|
|
|
5356
5489
|
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>`_ .
|
|
5357
5490
|
|
|
5491
|
+
:param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
5358
5492
|
: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.
|
|
5359
5493
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
5360
5494
|
|
|
@@ -5368,6 +5502,13 @@ class CfnDomain(
|
|
|
5368
5502
|
from aws_cdk import aws_sagemaker as sagemaker
|
|
5369
5503
|
|
|
5370
5504
|
code_editor_app_settings_property = sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
|
|
5505
|
+
custom_images=[sagemaker.CfnDomain.CustomImageProperty(
|
|
5506
|
+
app_image_config_name="appImageConfigName",
|
|
5507
|
+
image_name="imageName",
|
|
5508
|
+
|
|
5509
|
+
# the properties below are optional
|
|
5510
|
+
image_version_number=123
|
|
5511
|
+
)],
|
|
5371
5512
|
default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
|
|
5372
5513
|
instance_type="instanceType",
|
|
5373
5514
|
lifecycle_config_arn="lifecycleConfigArn",
|
|
@@ -5379,14 +5520,28 @@ class CfnDomain(
|
|
|
5379
5520
|
'''
|
|
5380
5521
|
if __debug__:
|
|
5381
5522
|
type_hints = typing.get_type_hints(_typecheckingstub__fc744bb58e49877db429fbdcea73e31d9e5326375463940bb48321473f97dfaa)
|
|
5523
|
+
check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
|
|
5382
5524
|
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
5383
5525
|
check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
|
|
5384
5526
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5527
|
+
if custom_images is not None:
|
|
5528
|
+
self._values["custom_images"] = custom_images
|
|
5385
5529
|
if default_resource_spec is not None:
|
|
5386
5530
|
self._values["default_resource_spec"] = default_resource_spec
|
|
5387
5531
|
if lifecycle_config_arns is not None:
|
|
5388
5532
|
self._values["lifecycle_config_arns"] = lifecycle_config_arns
|
|
5389
5533
|
|
|
5534
|
+
@builtins.property
|
|
5535
|
+
def custom_images(
|
|
5536
|
+
self,
|
|
5537
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.CustomImageProperty"]]]]:
|
|
5538
|
+
'''A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
5539
|
+
|
|
5540
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-codeeditorappsettings.html#cfn-sagemaker-domain-codeeditorappsettings-customimages
|
|
5541
|
+
'''
|
|
5542
|
+
result = self._values.get("custom_images")
|
|
5543
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.CustomImageProperty"]]]], result)
|
|
5544
|
+
|
|
5390
5545
|
@builtins.property
|
|
5391
5546
|
def default_resource_spec(
|
|
5392
5547
|
self,
|
|
@@ -7059,6 +7214,13 @@ class CfnDomain(
|
|
|
7059
7214
|
|
|
7060
7215
|
# the properties below are optional
|
|
7061
7216
|
code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
|
|
7217
|
+
custom_images=[sagemaker.CfnDomain.CustomImageProperty(
|
|
7218
|
+
app_image_config_name="appImageConfigName",
|
|
7219
|
+
image_name="imageName",
|
|
7220
|
+
|
|
7221
|
+
# the properties below are optional
|
|
7222
|
+
image_version_number=123
|
|
7223
|
+
)],
|
|
7062
7224
|
default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
|
|
7063
7225
|
instance_type="instanceType",
|
|
7064
7226
|
lifecycle_config_arn="lifecycleConfigArn",
|
|
@@ -7437,6 +7599,13 @@ class CfnDomainProps:
|
|
|
7437
7599
|
|
|
7438
7600
|
# the properties below are optional
|
|
7439
7601
|
code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
|
|
7602
|
+
custom_images=[sagemaker.CfnDomain.CustomImageProperty(
|
|
7603
|
+
app_image_config_name="appImageConfigName",
|
|
7604
|
+
image_name="imageName",
|
|
7605
|
+
|
|
7606
|
+
# the properties below are optional
|
|
7607
|
+
image_version_number=123
|
|
7608
|
+
)],
|
|
7440
7609
|
default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
|
|
7441
7610
|
instance_type="instanceType",
|
|
7442
7611
|
lifecycle_config_arn="lifecycleConfigArn",
|
|
@@ -12297,7 +12466,7 @@ class CfnFeatureGroup(
|
|
|
12297
12466
|
|
|
12298
12467
|
You must include ``FeatureName`` and ``FeatureType`` . Valid feature ``FeatureType`` s are ``Integral`` , ``Fractional`` and ``String`` .
|
|
12299
12468
|
|
|
12300
|
-
:param feature_name: The name of a feature. The type must be a string. ``FeatureName`` cannot be any of the following: ``is_deleted`` , ``write_time`` , ``api_invocation_time`` . The name: - Must start
|
|
12469
|
+
:param feature_name: The name of a feature. The type must be a string. ``FeatureName`` cannot be any of the following: ``is_deleted`` , ``write_time`` , ``api_invocation_time`` . The name: - Must start with an alphanumeric character. - Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
|
|
12301
12470
|
:param feature_type: The value type of a feature. Valid values are Integral, Fractional, or String.
|
|
12302
12471
|
|
|
12303
12472
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-featuredefinition.html
|
|
@@ -12331,7 +12500,7 @@ class CfnFeatureGroup(
|
|
|
12331
12500
|
|
|
12332
12501
|
The name:
|
|
12333
12502
|
|
|
12334
|
-
- Must start
|
|
12503
|
+
- Must start with an alphanumeric character.
|
|
12335
12504
|
- Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
|
|
12336
12505
|
|
|
12337
12506
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-featuredefinition.html#cfn-sagemaker-featuregroup-featuredefinition-featurename
|
|
@@ -41076,6 +41245,13 @@ class CfnUserProfile(
|
|
|
41076
41245
|
)],
|
|
41077
41246
|
user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
41078
41247
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
41248
|
+
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
41249
|
+
app_image_config_name="appImageConfigName",
|
|
41250
|
+
image_name="imageName",
|
|
41251
|
+
|
|
41252
|
+
# the properties below are optional
|
|
41253
|
+
image_version_number=123
|
|
41254
|
+
)],
|
|
41079
41255
|
default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
|
|
41080
41256
|
instance_type="instanceType",
|
|
41081
41257
|
sage_maker_image_arn="sageMakerImageArn",
|
|
@@ -41334,6 +41510,7 @@ class CfnUserProfile(
|
|
|
41334
41510
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty",
|
|
41335
41511
|
jsii_struct_bases=[],
|
|
41336
41512
|
name_mapping={
|
|
41513
|
+
"custom_images": "customImages",
|
|
41337
41514
|
"default_resource_spec": "defaultResourceSpec",
|
|
41338
41515
|
"lifecycle_config_arns": "lifecycleConfigArns",
|
|
41339
41516
|
},
|
|
@@ -41342,6 +41519,7 @@ class CfnUserProfile(
|
|
|
41342
41519
|
def __init__(
|
|
41343
41520
|
self,
|
|
41344
41521
|
*,
|
|
41522
|
+
custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CustomImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
41345
41523
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41346
41524
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
41347
41525
|
) -> None:
|
|
@@ -41349,6 +41527,7 @@ class CfnUserProfile(
|
|
|
41349
41527
|
|
|
41350
41528
|
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>`_ .
|
|
41351
41529
|
|
|
41530
|
+
:param custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
41352
41531
|
: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.
|
|
41353
41532
|
:param lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
41354
41533
|
|
|
@@ -41362,6 +41541,13 @@ class CfnUserProfile(
|
|
|
41362
41541
|
from aws_cdk import aws_sagemaker as sagemaker
|
|
41363
41542
|
|
|
41364
41543
|
code_editor_app_settings_property = sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
41544
|
+
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
41545
|
+
app_image_config_name="appImageConfigName",
|
|
41546
|
+
image_name="imageName",
|
|
41547
|
+
|
|
41548
|
+
# the properties below are optional
|
|
41549
|
+
image_version_number=123
|
|
41550
|
+
)],
|
|
41365
41551
|
default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
|
|
41366
41552
|
instance_type="instanceType",
|
|
41367
41553
|
sage_maker_image_arn="sageMakerImageArn",
|
|
@@ -41372,14 +41558,28 @@ class CfnUserProfile(
|
|
|
41372
41558
|
'''
|
|
41373
41559
|
if __debug__:
|
|
41374
41560
|
type_hints = typing.get_type_hints(_typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5)
|
|
41561
|
+
check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
|
|
41375
41562
|
check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
|
|
41376
41563
|
check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
|
|
41377
41564
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
41565
|
+
if custom_images is not None:
|
|
41566
|
+
self._values["custom_images"] = custom_images
|
|
41378
41567
|
if default_resource_spec is not None:
|
|
41379
41568
|
self._values["default_resource_spec"] = default_resource_spec
|
|
41380
41569
|
if lifecycle_config_arns is not None:
|
|
41381
41570
|
self._values["lifecycle_config_arns"] = lifecycle_config_arns
|
|
41382
41571
|
|
|
41572
|
+
@builtins.property
|
|
41573
|
+
def custom_images(
|
|
41574
|
+
self,
|
|
41575
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.CustomImageProperty"]]]]:
|
|
41576
|
+
'''A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
41577
|
+
|
|
41578
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-customimages
|
|
41579
|
+
'''
|
|
41580
|
+
result = self._values.get("custom_images")
|
|
41581
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.CustomImageProperty"]]]], result)
|
|
41582
|
+
|
|
41383
41583
|
@builtins.property
|
|
41384
41584
|
def default_resource_spec(
|
|
41385
41585
|
self,
|
|
@@ -42506,6 +42706,13 @@ class CfnUserProfile(
|
|
|
42506
42706
|
|
|
42507
42707
|
user_settings_property = sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
42508
42708
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
42709
|
+
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
42710
|
+
app_image_config_name="appImageConfigName",
|
|
42711
|
+
image_name="imageName",
|
|
42712
|
+
|
|
42713
|
+
# the properties below are optional
|
|
42714
|
+
image_version_number=123
|
|
42715
|
+
)],
|
|
42509
42716
|
default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
|
|
42510
42717
|
instance_type="instanceType",
|
|
42511
42718
|
sage_maker_image_arn="sageMakerImageArn",
|
|
@@ -42842,6 +43049,13 @@ class CfnUserProfileProps:
|
|
|
42842
43049
|
)],
|
|
42843
43050
|
user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
|
|
42844
43051
|
code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
|
|
43052
|
+
custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
|
|
43053
|
+
app_image_config_name="appImageConfigName",
|
|
43054
|
+
image_name="imageName",
|
|
43055
|
+
|
|
43056
|
+
# the properties below are optional
|
|
43057
|
+
image_version_number=123
|
|
43058
|
+
)],
|
|
42845
43059
|
default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
|
|
42846
43060
|
instance_type="instanceType",
|
|
42847
43061
|
sage_maker_image_arn="sageMakerImageArn",
|
|
@@ -43984,6 +44198,7 @@ def _typecheckingstub__a5bddad57cf4d60d052f199fa18e6d92660d1097d0ea8d783dbde99f9
|
|
|
43984
44198
|
id: builtins.str,
|
|
43985
44199
|
*,
|
|
43986
44200
|
app_image_config_name: builtins.str,
|
|
44201
|
+
code_editor_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.CodeEditorAppImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43987
44202
|
jupyter_lab_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.JupyterLabAppImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43988
44203
|
kernel_gateway_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.KernelGatewayImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43989
44204
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -44009,6 +44224,12 @@ def _typecheckingstub__01fc550542699aeed5dd2d9ae695d23b69d475612dabef44e560292d0
|
|
|
44009
44224
|
"""Type checking stubs"""
|
|
44010
44225
|
pass
|
|
44011
44226
|
|
|
44227
|
+
def _typecheckingstub__f4617d62c0b1a3643141e728729474c90e7cdd3d83d472bca3d71922b3b3ff93(
|
|
44228
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppImageConfig.CodeEditorAppImageConfigProperty]],
|
|
44229
|
+
) -> None:
|
|
44230
|
+
"""Type checking stubs"""
|
|
44231
|
+
pass
|
|
44232
|
+
|
|
44012
44233
|
def _typecheckingstub__aef39f4d8911200135ee7fdb47a08f8fa45069c4180729da9af97fa961d49e1a(
|
|
44013
44234
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppImageConfig.JupyterLabAppImageConfigProperty]],
|
|
44014
44235
|
) -> None:
|
|
@@ -44027,6 +44248,13 @@ def _typecheckingstub__4462443074ff405184cbe7f0da1ea76390388cd02ffca07d1fbaf2ef6
|
|
|
44027
44248
|
"""Type checking stubs"""
|
|
44028
44249
|
pass
|
|
44029
44250
|
|
|
44251
|
+
def _typecheckingstub__9713ac75d63f3b659167fd7cd74d47b6ee84a2fa67cb9c59d4b991ead74b7536(
|
|
44252
|
+
*,
|
|
44253
|
+
container_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.ContainerConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
44254
|
+
) -> None:
|
|
44255
|
+
"""Type checking stubs"""
|
|
44256
|
+
pass
|
|
44257
|
+
|
|
44030
44258
|
def _typecheckingstub__8b3f36d6876284a715882d9b4c7e6a8165d5d73b8f920f2b775524b827da5e17(
|
|
44031
44259
|
*,
|
|
44032
44260
|
container_arguments: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -44079,6 +44307,7 @@ def _typecheckingstub__ca51ca3546507d1ce51158d74b8fb17c6958c2747cd16f3b75aceb61d
|
|
|
44079
44307
|
def _typecheckingstub__ff2672f4d222b0d6bb376871aa42ac2f1c78c70d0a1aa2fd3f19e08fcbb07857(
|
|
44080
44308
|
*,
|
|
44081
44309
|
app_image_config_name: builtins.str,
|
|
44310
|
+
code_editor_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.CodeEditorAppImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
44082
44311
|
jupyter_lab_app_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.JupyterLabAppImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
44083
44312
|
kernel_gateway_image_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppImageConfig.KernelGatewayImageConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
44084
44313
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -44657,6 +44886,7 @@ def _typecheckingstub__6d1a70c209913231f1eb30dba814eb3a3bc58f6f4341ea1392c5061d8
|
|
|
44657
44886
|
|
|
44658
44887
|
def _typecheckingstub__fc744bb58e49877db429fbdcea73e31d9e5326375463940bb48321473f97dfaa(
|
|
44659
44888
|
*,
|
|
44889
|
+
custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CustomImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
44660
44890
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
44661
44891
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
44662
44892
|
) -> None:
|
|
@@ -48768,6 +48998,7 @@ def _typecheckingstub__406091aa6a2a94d5bbf06575babcd4456ed92c8bbf6d0265ac1061bf9
|
|
|
48768
48998
|
|
|
48769
48999
|
def _typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5(
|
|
48770
49000
|
*,
|
|
49001
|
+
custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CustomImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
48771
49002
|
default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48772
49003
|
lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48773
49004
|
) -> None:
|