aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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 +528 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +40 -40
- aws_cdk/aws_apigateway/__init__.py +1357 -120
- aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
- aws_cdk/aws_appsync/__init__.py +163 -139
- aws_cdk/aws_autoscaling/__init__.py +96 -30
- aws_cdk/aws_bedrock/__init__.py +80 -44
- aws_cdk/aws_chatbot/__init__.py +803 -2
- aws_cdk/aws_cleanrooms/__init__.py +4 -6
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +15 -7
- aws_cdk/aws_cloudtrail/__init__.py +802 -13
- aws_cdk/aws_cloudwatch/__init__.py +51 -14
- aws_cdk/aws_codebuild/__init__.py +39 -0
- aws_cdk/aws_codepipeline/__init__.py +4 -4
- aws_cdk/aws_cognito/__init__.py +1032 -43
- aws_cdk/aws_config/__init__.py +13 -10
- aws_cdk/aws_connect/__init__.py +454 -23
- aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_docdb/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +256 -0
- aws_cdk/aws_ec2/__init__.py +976 -27
- aws_cdk/aws_ecs/__init__.py +37 -20
- aws_cdk/aws_eks/__init__.py +771 -0
- aws_cdk/aws_elasticache/__init__.py +22 -22
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
- aws_cdk/aws_events/__init__.py +550 -30
- aws_cdk/aws_fsx/__init__.py +134 -10
- aws_cdk/aws_imagebuilder/__init__.py +8 -8
- aws_cdk/aws_invoicing/__init__.py +651 -0
- aws_cdk/aws_iot/__init__.py +70 -26
- aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
- aws_cdk/aws_iotsitewise/__init__.py +158 -0
- aws_cdk/aws_ivs/__init__.py +43 -31
- aws_cdk/aws_kendra/__init__.py +4 -0
- aws_cdk/aws_lakeformation/__init__.py +2 -1
- aws_cdk/aws_lambda/__init__.py +272 -164
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_logs/__init__.py +532 -0
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mediaconnect/__init__.py +24 -14
- aws_cdk/aws_medialive/__init__.py +2359 -5
- aws_cdk/aws_mediapackage/__init__.py +3 -9
- aws_cdk/aws_mediapackagev2/__init__.py +19 -17
- aws_cdk/aws_memorydb/__init__.py +664 -4
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +2021 -67
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +170 -8
- aws_cdk/aws_resourcegroups/__init__.py +362 -4
- aws_cdk/aws_route53/__init__.py +1177 -10
- aws_cdk/aws_route53_targets/__init__.py +297 -91
- aws_cdk/aws_route53resolver/__init__.py +19 -8
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3express/__init__.py +421 -9
- aws_cdk/aws_sagemaker/__init__.py +905 -119
- aws_cdk/aws_secretsmanager/__init__.py +20 -6
- aws_cdk/aws_securityhub/__init__.py +64 -32
- aws_cdk/aws_servicediscovery/__init__.py +43 -0
- aws_cdk/aws_ses/__init__.py +188 -41
- aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
- aws_cdk/aws_synthetics/__init__.py +7 -5
- aws_cdk/aws_vpclattice/__init__.py +1479 -122
- aws_cdk/aws_wisdom/__init__.py +8509 -1502
- aws_cdk/aws_workspacesweb/__init__.py +1081 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
|
@@ -1876,7 +1876,7 @@ class CfnCluster(
|
|
|
1876
1876
|
:param current_count: The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
|
|
1877
1877
|
:param instance_storage_configs: The configurations of additional storage specified to the instance group where the instance (node) is launched.
|
|
1878
1878
|
:param on_start_deep_health_checks: A flag indicating whether deep health checks should be performed when the HyperPod cluster instance group is created or updated. Deep health checks are comprehensive, invasive tests that validate the health of the underlying hardware and infrastructure components.
|
|
1879
|
-
:param override_vpc_config:
|
|
1879
|
+
:param override_vpc_config: When specified, overrides the subnet and security group configuration for a specific instance group.
|
|
1880
1880
|
:param threads_per_core: The number of threads per CPU core you specified under ``CreateCluster`` .
|
|
1881
1881
|
|
|
1882
1882
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html
|
|
@@ -2032,9 +2032,7 @@ class CfnCluster(
|
|
|
2032
2032
|
def override_vpc_config(
|
|
2033
2033
|
self,
|
|
2034
2034
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConfigProperty"]]:
|
|
2035
|
-
'''
|
|
2036
|
-
|
|
2037
|
-
You can control access to and from your resources by configuring a VPC.
|
|
2035
|
+
'''When specified, overrides the subnet and security group configuration for a specific instance group.
|
|
2038
2036
|
|
|
2039
2037
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-overridevpcconfig
|
|
2040
2038
|
'''
|
|
@@ -16076,20 +16074,14 @@ class CfnInferenceComponent(
|
|
|
16076
16074
|
|
|
16077
16075
|
cfn_inference_component = sagemaker.CfnInferenceComponent(self, "MyCfnInferenceComponent",
|
|
16078
16076
|
endpoint_name="endpointName",
|
|
16079
|
-
runtime_config=sagemaker.CfnInferenceComponent.InferenceComponentRuntimeConfigProperty(
|
|
16080
|
-
copy_count=123,
|
|
16081
|
-
current_copy_count=123,
|
|
16082
|
-
desired_copy_count=123
|
|
16083
|
-
),
|
|
16084
16077
|
specification=sagemaker.CfnInferenceComponent.InferenceComponentSpecificationProperty(
|
|
16078
|
+
base_inference_component_name="baseInferenceComponentName",
|
|
16085
16079
|
compute_resource_requirements=sagemaker.CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty(
|
|
16086
16080
|
max_memory_required_in_mb=123,
|
|
16087
16081
|
min_memory_required_in_mb=123,
|
|
16088
16082
|
number_of_accelerator_devices_required=123,
|
|
16089
16083
|
number_of_cpu_cores_required=123
|
|
16090
16084
|
),
|
|
16091
|
-
|
|
16092
|
-
# the properties below are optional
|
|
16093
16085
|
container=sagemaker.CfnInferenceComponent.InferenceComponentContainerSpecificationProperty(
|
|
16094
16086
|
artifact_url="artifactUrl",
|
|
16095
16087
|
deployed_image=sagemaker.CfnInferenceComponent.DeployedImageProperty(
|
|
@@ -16108,15 +16100,20 @@ class CfnInferenceComponent(
|
|
|
16108
16100
|
model_data_download_timeout_in_seconds=123
|
|
16109
16101
|
)
|
|
16110
16102
|
),
|
|
16111
|
-
variant_name="variantName",
|
|
16112
16103
|
|
|
16113
16104
|
# the properties below are optional
|
|
16114
16105
|
endpoint_arn="endpointArn",
|
|
16115
16106
|
inference_component_name="inferenceComponentName",
|
|
16107
|
+
runtime_config=sagemaker.CfnInferenceComponent.InferenceComponentRuntimeConfigProperty(
|
|
16108
|
+
copy_count=123,
|
|
16109
|
+
current_copy_count=123,
|
|
16110
|
+
desired_copy_count=123
|
|
16111
|
+
),
|
|
16116
16112
|
tags=[CfnTag(
|
|
16117
16113
|
key="key",
|
|
16118
16114
|
value="value"
|
|
16119
|
-
)]
|
|
16115
|
+
)],
|
|
16116
|
+
variant_name="variantName"
|
|
16120
16117
|
)
|
|
16121
16118
|
'''
|
|
16122
16119
|
|
|
@@ -16126,23 +16123,23 @@ class CfnInferenceComponent(
|
|
|
16126
16123
|
id: builtins.str,
|
|
16127
16124
|
*,
|
|
16128
16125
|
endpoint_name: builtins.str,
|
|
16129
|
-
runtime_config: typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentRuntimeConfigProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
16130
16126
|
specification: typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentSpecificationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
16131
|
-
variant_name: builtins.str,
|
|
16132
16127
|
endpoint_arn: typing.Optional[builtins.str] = None,
|
|
16133
16128
|
inference_component_name: typing.Optional[builtins.str] = None,
|
|
16129
|
+
runtime_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentRuntimeConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16134
16130
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16131
|
+
variant_name: typing.Optional[builtins.str] = None,
|
|
16135
16132
|
) -> None:
|
|
16136
16133
|
'''
|
|
16137
16134
|
:param scope: Scope in which this resource is defined.
|
|
16138
16135
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
16139
16136
|
:param endpoint_name: The name of the endpoint that hosts the inference component.
|
|
16140
|
-
:param runtime_config: The runtime config for the inference component.
|
|
16141
16137
|
:param specification: The specification for the inference component.
|
|
16142
|
-
:param variant_name: The name of the production variant that hosts the inference component.
|
|
16143
16138
|
:param endpoint_arn: The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
|
|
16144
16139
|
:param inference_component_name: The name of the inference component.
|
|
16140
|
+
:param runtime_config: The runtime config for the inference component.
|
|
16145
16141
|
:param tags: An array of tags to apply to the resource.
|
|
16142
|
+
:param variant_name: The name of the production variant that hosts the inference component.
|
|
16146
16143
|
'''
|
|
16147
16144
|
if __debug__:
|
|
16148
16145
|
type_hints = typing.get_type_hints(_typecheckingstub__3f4e5766b29b94468be54bb573abdb408c06e9ece9272100939b3c0180556e58)
|
|
@@ -16150,12 +16147,12 @@ class CfnInferenceComponent(
|
|
|
16150
16147
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
16151
16148
|
props = CfnInferenceComponentProps(
|
|
16152
16149
|
endpoint_name=endpoint_name,
|
|
16153
|
-
runtime_config=runtime_config,
|
|
16154
16150
|
specification=specification,
|
|
16155
|
-
variant_name=variant_name,
|
|
16156
16151
|
endpoint_arn=endpoint_arn,
|
|
16157
16152
|
inference_component_name=inference_component_name,
|
|
16153
|
+
runtime_config=runtime_config,
|
|
16158
16154
|
tags=tags,
|
|
16155
|
+
variant_name=variant_name,
|
|
16159
16156
|
)
|
|
16160
16157
|
|
|
16161
16158
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -16285,24 +16282,6 @@ class CfnInferenceComponent(
|
|
|
16285
16282
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16286
16283
|
jsii.set(self, "endpointName", value) # pyright: ignore[reportArgumentType]
|
|
16287
16284
|
|
|
16288
|
-
@builtins.property
|
|
16289
|
-
@jsii.member(jsii_name="runtimeConfig")
|
|
16290
|
-
def runtime_config(
|
|
16291
|
-
self,
|
|
16292
|
-
) -> typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentRuntimeConfigProperty"]:
|
|
16293
|
-
'''The runtime config for the inference component.'''
|
|
16294
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentRuntimeConfigProperty"], jsii.get(self, "runtimeConfig"))
|
|
16295
|
-
|
|
16296
|
-
@runtime_config.setter
|
|
16297
|
-
def runtime_config(
|
|
16298
|
-
self,
|
|
16299
|
-
value: typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentRuntimeConfigProperty"],
|
|
16300
|
-
) -> None:
|
|
16301
|
-
if __debug__:
|
|
16302
|
-
type_hints = typing.get_type_hints(_typecheckingstub__4e7c351a25e5bcfa57adb1a6effe98407a73bd29e017ee9e9dea5d09a2106d9c)
|
|
16303
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16304
|
-
jsii.set(self, "runtimeConfig", value) # pyright: ignore[reportArgumentType]
|
|
16305
|
-
|
|
16306
16285
|
@builtins.property
|
|
16307
16286
|
@jsii.member(jsii_name="specification")
|
|
16308
16287
|
def specification(
|
|
@@ -16321,19 +16300,6 @@ class CfnInferenceComponent(
|
|
|
16321
16300
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16322
16301
|
jsii.set(self, "specification", value) # pyright: ignore[reportArgumentType]
|
|
16323
16302
|
|
|
16324
|
-
@builtins.property
|
|
16325
|
-
@jsii.member(jsii_name="variantName")
|
|
16326
|
-
def variant_name(self) -> builtins.str:
|
|
16327
|
-
'''The name of the production variant that hosts the inference component.'''
|
|
16328
|
-
return typing.cast(builtins.str, jsii.get(self, "variantName"))
|
|
16329
|
-
|
|
16330
|
-
@variant_name.setter
|
|
16331
|
-
def variant_name(self, value: builtins.str) -> None:
|
|
16332
|
-
if __debug__:
|
|
16333
|
-
type_hints = typing.get_type_hints(_typecheckingstub__ca03af9ff83216f8a0636af33c0e4a7a2eb600513b2eed7eb75f082151eb70e5)
|
|
16334
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16335
|
-
jsii.set(self, "variantName", value) # pyright: ignore[reportArgumentType]
|
|
16336
|
-
|
|
16337
16303
|
@builtins.property
|
|
16338
16304
|
@jsii.member(jsii_name="endpointArn")
|
|
16339
16305
|
def endpoint_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -16360,6 +16326,24 @@ class CfnInferenceComponent(
|
|
|
16360
16326
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16361
16327
|
jsii.set(self, "inferenceComponentName", value) # pyright: ignore[reportArgumentType]
|
|
16362
16328
|
|
|
16329
|
+
@builtins.property
|
|
16330
|
+
@jsii.member(jsii_name="runtimeConfig")
|
|
16331
|
+
def runtime_config(
|
|
16332
|
+
self,
|
|
16333
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentRuntimeConfigProperty"]]:
|
|
16334
|
+
'''The runtime config for the inference component.'''
|
|
16335
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentRuntimeConfigProperty"]], jsii.get(self, "runtimeConfig"))
|
|
16336
|
+
|
|
16337
|
+
@runtime_config.setter
|
|
16338
|
+
def runtime_config(
|
|
16339
|
+
self,
|
|
16340
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentRuntimeConfigProperty"]],
|
|
16341
|
+
) -> None:
|
|
16342
|
+
if __debug__:
|
|
16343
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4e7c351a25e5bcfa57adb1a6effe98407a73bd29e017ee9e9dea5d09a2106d9c)
|
|
16344
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16345
|
+
jsii.set(self, "runtimeConfig", value) # pyright: ignore[reportArgumentType]
|
|
16346
|
+
|
|
16363
16347
|
@builtins.property
|
|
16364
16348
|
@jsii.member(jsii_name="tags")
|
|
16365
16349
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -16373,6 +16357,19 @@ class CfnInferenceComponent(
|
|
|
16373
16357
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16374
16358
|
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
16375
16359
|
|
|
16360
|
+
@builtins.property
|
|
16361
|
+
@jsii.member(jsii_name="variantName")
|
|
16362
|
+
def variant_name(self) -> typing.Optional[builtins.str]:
|
|
16363
|
+
'''The name of the production variant that hosts the inference component.'''
|
|
16364
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "variantName"))
|
|
16365
|
+
|
|
16366
|
+
@variant_name.setter
|
|
16367
|
+
def variant_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
16368
|
+
if __debug__:
|
|
16369
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ca03af9ff83216f8a0636af33c0e4a7a2eb600513b2eed7eb75f082151eb70e5)
|
|
16370
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
16371
|
+
jsii.set(self, "variantName", value) # pyright: ignore[reportArgumentType]
|
|
16372
|
+
|
|
16376
16373
|
@jsii.data_type(
|
|
16377
16374
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.DeployedImageProperty",
|
|
16378
16375
|
jsii_struct_bases=[],
|
|
@@ -16483,7 +16480,7 @@ class CfnInferenceComponent(
|
|
|
16483
16480
|
number_of_accelerator_devices_required: typing.Optional[jsii.Number] = None,
|
|
16484
16481
|
number_of_cpu_cores_required: typing.Optional[jsii.Number] = None,
|
|
16485
16482
|
) -> None:
|
|
16486
|
-
'''Defines the compute resources to allocate to run a model that you assign to an inference component.
|
|
16483
|
+
'''Defines the compute resources to allocate to run a model, plus any adapter models, that you assign to an inference component.
|
|
16487
16484
|
|
|
16488
16485
|
These resources include CPU cores, accelerators, and memory.
|
|
16489
16486
|
|
|
@@ -16788,6 +16785,7 @@ class CfnInferenceComponent(
|
|
|
16788
16785
|
jsii_type="aws-cdk-lib.aws_sagemaker.CfnInferenceComponent.InferenceComponentSpecificationProperty",
|
|
16789
16786
|
jsii_struct_bases=[],
|
|
16790
16787
|
name_mapping={
|
|
16788
|
+
"base_inference_component_name": "baseInferenceComponentName",
|
|
16791
16789
|
"compute_resource_requirements": "computeResourceRequirements",
|
|
16792
16790
|
"container": "container",
|
|
16793
16791
|
"model_name": "modelName",
|
|
@@ -16798,14 +16796,16 @@ class CfnInferenceComponent(
|
|
|
16798
16796
|
def __init__(
|
|
16799
16797
|
self,
|
|
16800
16798
|
*,
|
|
16801
|
-
|
|
16799
|
+
base_inference_component_name: typing.Optional[builtins.str] = None,
|
|
16800
|
+
compute_resource_requirements: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16802
16801
|
container: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentContainerSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16803
16802
|
model_name: typing.Optional[builtins.str] = None,
|
|
16804
16803
|
startup_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInferenceComponent.InferenceComponentStartupParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16805
16804
|
) -> None:
|
|
16806
16805
|
'''Details about the resources to deploy with this inference component, including the model, container, and compute resources.
|
|
16807
16806
|
|
|
16808
|
-
:param
|
|
16807
|
+
:param base_inference_component_name: The name of an existing inference component that is to contain the inference component that you're creating with your request. Specify this parameter only if your request is meant to create an adapter inference component. An adapter inference component contains the path to an adapter model. The purpose of the adapter model is to tailor the inference output of a base foundation model, which is hosted by the base inference component. The adapter inference component uses the compute resources that you assigned to the base inference component. When you create an adapter inference component, use the ``Container`` parameter to specify the location of the adapter artifacts. In the parameter value, use the ``ArtifactUrl`` parameter of the ``InferenceComponentContainerSpecification`` data type. Before you can create an adapter inference component, you must have an existing inference component that contains the foundation model that you want to adapt.
|
|
16808
|
+
:param compute_resource_requirements: The compute resources allocated to run the model, plus any adapter models, that you assign to the inference component. Omit this parameter if your request is meant to create an adapter inference component. An adapter inference component is loaded by a base inference component, and it uses the compute resources of the base inference component.
|
|
16809
16809
|
:param container: Defines a container that provides the runtime environment for a model that you deploy with an inference component.
|
|
16810
16810
|
:param model_name: The name of an existing SageMaker model object in your account that you want to deploy with the inference component.
|
|
16811
16811
|
:param startup_parameters: Settings that take effect while the model container starts up.
|
|
@@ -16820,14 +16820,13 @@ class CfnInferenceComponent(
|
|
|
16820
16820
|
from aws_cdk import aws_sagemaker as sagemaker
|
|
16821
16821
|
|
|
16822
16822
|
inference_component_specification_property = sagemaker.CfnInferenceComponent.InferenceComponentSpecificationProperty(
|
|
16823
|
+
base_inference_component_name="baseInferenceComponentName",
|
|
16823
16824
|
compute_resource_requirements=sagemaker.CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty(
|
|
16824
16825
|
max_memory_required_in_mb=123,
|
|
16825
16826
|
min_memory_required_in_mb=123,
|
|
16826
16827
|
number_of_accelerator_devices_required=123,
|
|
16827
16828
|
number_of_cpu_cores_required=123
|
|
16828
16829
|
),
|
|
16829
|
-
|
|
16830
|
-
# the properties below are optional
|
|
16831
16830
|
container=sagemaker.CfnInferenceComponent.InferenceComponentContainerSpecificationProperty(
|
|
16832
16831
|
artifact_url="artifactUrl",
|
|
16833
16832
|
deployed_image=sagemaker.CfnInferenceComponent.DeployedImageProperty(
|
|
@@ -16849,13 +16848,16 @@ class CfnInferenceComponent(
|
|
|
16849
16848
|
'''
|
|
16850
16849
|
if __debug__:
|
|
16851
16850
|
type_hints = typing.get_type_hints(_typecheckingstub__6a0b62210860358f55c428526365b9cb1755209df1a27a1d8b73278ffe9fe251)
|
|
16851
|
+
check_type(argname="argument base_inference_component_name", value=base_inference_component_name, expected_type=type_hints["base_inference_component_name"])
|
|
16852
16852
|
check_type(argname="argument compute_resource_requirements", value=compute_resource_requirements, expected_type=type_hints["compute_resource_requirements"])
|
|
16853
16853
|
check_type(argname="argument container", value=container, expected_type=type_hints["container"])
|
|
16854
16854
|
check_type(argname="argument model_name", value=model_name, expected_type=type_hints["model_name"])
|
|
16855
16855
|
check_type(argname="argument startup_parameters", value=startup_parameters, expected_type=type_hints["startup_parameters"])
|
|
16856
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
16857
|
-
|
|
16858
|
-
|
|
16856
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
16857
|
+
if base_inference_component_name is not None:
|
|
16858
|
+
self._values["base_inference_component_name"] = base_inference_component_name
|
|
16859
|
+
if compute_resource_requirements is not None:
|
|
16860
|
+
self._values["compute_resource_requirements"] = compute_resource_requirements
|
|
16859
16861
|
if container is not None:
|
|
16860
16862
|
self._values["container"] = container
|
|
16861
16863
|
if model_name is not None:
|
|
@@ -16863,17 +16865,33 @@ class CfnInferenceComponent(
|
|
|
16863
16865
|
if startup_parameters is not None:
|
|
16864
16866
|
self._values["startup_parameters"] = startup_parameters
|
|
16865
16867
|
|
|
16868
|
+
@builtins.property
|
|
16869
|
+
def base_inference_component_name(self) -> typing.Optional[builtins.str]:
|
|
16870
|
+
'''The name of an existing inference component that is to contain the inference component that you're creating with your request.
|
|
16871
|
+
|
|
16872
|
+
Specify this parameter only if your request is meant to create an adapter inference component. An adapter inference component contains the path to an adapter model. The purpose of the adapter model is to tailor the inference output of a base foundation model, which is hosted by the base inference component. The adapter inference component uses the compute resources that you assigned to the base inference component.
|
|
16873
|
+
|
|
16874
|
+
When you create an adapter inference component, use the ``Container`` parameter to specify the location of the adapter artifacts. In the parameter value, use the ``ArtifactUrl`` parameter of the ``InferenceComponentContainerSpecification`` data type.
|
|
16875
|
+
|
|
16876
|
+
Before you can create an adapter inference component, you must have an existing inference component that contains the foundation model that you want to adapt.
|
|
16877
|
+
|
|
16878
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentspecification.html#cfn-sagemaker-inferencecomponent-inferencecomponentspecification-baseinferencecomponentname
|
|
16879
|
+
'''
|
|
16880
|
+
result = self._values.get("base_inference_component_name")
|
|
16881
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
16882
|
+
|
|
16866
16883
|
@builtins.property
|
|
16867
16884
|
def compute_resource_requirements(
|
|
16868
16885
|
self,
|
|
16869
|
-
) -> typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty"]:
|
|
16870
|
-
'''The compute resources allocated to run the model
|
|
16886
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty"]]:
|
|
16887
|
+
'''The compute resources allocated to run the model, plus any adapter models, that you assign to the inference component.
|
|
16888
|
+
|
|
16889
|
+
Omit this parameter if your request is meant to create an adapter inference component. An adapter inference component is loaded by a base inference component, and it uses the compute resources of the base inference component.
|
|
16871
16890
|
|
|
16872
16891
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentspecification.html#cfn-sagemaker-inferencecomponent-inferencecomponentspecification-computeresourcerequirements
|
|
16873
16892
|
'''
|
|
16874
16893
|
result = self._values.get("compute_resource_requirements")
|
|
16875
|
-
|
|
16876
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty"], result)
|
|
16894
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty"]], result)
|
|
16877
16895
|
|
|
16878
16896
|
@builtins.property
|
|
16879
16897
|
def container(
|
|
@@ -17002,12 +17020,12 @@ class CfnInferenceComponent(
|
|
|
17002
17020
|
jsii_struct_bases=[],
|
|
17003
17021
|
name_mapping={
|
|
17004
17022
|
"endpoint_name": "endpointName",
|
|
17005
|
-
"runtime_config": "runtimeConfig",
|
|
17006
17023
|
"specification": "specification",
|
|
17007
|
-
"variant_name": "variantName",
|
|
17008
17024
|
"endpoint_arn": "endpointArn",
|
|
17009
17025
|
"inference_component_name": "inferenceComponentName",
|
|
17026
|
+
"runtime_config": "runtimeConfig",
|
|
17010
17027
|
"tags": "tags",
|
|
17028
|
+
"variant_name": "variantName",
|
|
17011
17029
|
},
|
|
17012
17030
|
)
|
|
17013
17031
|
class CfnInferenceComponentProps:
|
|
@@ -17015,22 +17033,22 @@ class CfnInferenceComponentProps:
|
|
|
17015
17033
|
self,
|
|
17016
17034
|
*,
|
|
17017
17035
|
endpoint_name: builtins.str,
|
|
17018
|
-
runtime_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentRuntimeConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
17019
17036
|
specification: typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentSpecificationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
17020
|
-
variant_name: builtins.str,
|
|
17021
17037
|
endpoint_arn: typing.Optional[builtins.str] = None,
|
|
17022
17038
|
inference_component_name: typing.Optional[builtins.str] = None,
|
|
17039
|
+
runtime_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentRuntimeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17023
17040
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17041
|
+
variant_name: typing.Optional[builtins.str] = None,
|
|
17024
17042
|
) -> None:
|
|
17025
17043
|
'''Properties for defining a ``CfnInferenceComponent``.
|
|
17026
17044
|
|
|
17027
17045
|
:param endpoint_name: The name of the endpoint that hosts the inference component.
|
|
17028
|
-
:param runtime_config: The runtime config for the inference component.
|
|
17029
17046
|
:param specification: The specification for the inference component.
|
|
17030
|
-
:param variant_name: The name of the production variant that hosts the inference component.
|
|
17031
17047
|
:param endpoint_arn: The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
|
|
17032
17048
|
:param inference_component_name: The name of the inference component.
|
|
17049
|
+
:param runtime_config: The runtime config for the inference component.
|
|
17033
17050
|
:param tags: An array of tags to apply to the resource.
|
|
17051
|
+
:param variant_name: The name of the production variant that hosts the inference component.
|
|
17034
17052
|
|
|
17035
17053
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferencecomponent.html
|
|
17036
17054
|
:exampleMetadata: fixture=_generated
|
|
@@ -17043,20 +17061,14 @@ class CfnInferenceComponentProps:
|
|
|
17043
17061
|
|
|
17044
17062
|
cfn_inference_component_props = sagemaker.CfnInferenceComponentProps(
|
|
17045
17063
|
endpoint_name="endpointName",
|
|
17046
|
-
runtime_config=sagemaker.CfnInferenceComponent.InferenceComponentRuntimeConfigProperty(
|
|
17047
|
-
copy_count=123,
|
|
17048
|
-
current_copy_count=123,
|
|
17049
|
-
desired_copy_count=123
|
|
17050
|
-
),
|
|
17051
17064
|
specification=sagemaker.CfnInferenceComponent.InferenceComponentSpecificationProperty(
|
|
17065
|
+
base_inference_component_name="baseInferenceComponentName",
|
|
17052
17066
|
compute_resource_requirements=sagemaker.CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty(
|
|
17053
17067
|
max_memory_required_in_mb=123,
|
|
17054
17068
|
min_memory_required_in_mb=123,
|
|
17055
17069
|
number_of_accelerator_devices_required=123,
|
|
17056
17070
|
number_of_cpu_cores_required=123
|
|
17057
17071
|
),
|
|
17058
|
-
|
|
17059
|
-
# the properties below are optional
|
|
17060
17072
|
container=sagemaker.CfnInferenceComponent.InferenceComponentContainerSpecificationProperty(
|
|
17061
17073
|
artifact_url="artifactUrl",
|
|
17062
17074
|
deployed_image=sagemaker.CfnInferenceComponent.DeployedImageProperty(
|
|
@@ -17075,38 +17087,45 @@ class CfnInferenceComponentProps:
|
|
|
17075
17087
|
model_data_download_timeout_in_seconds=123
|
|
17076
17088
|
)
|
|
17077
17089
|
),
|
|
17078
|
-
variant_name="variantName",
|
|
17079
17090
|
|
|
17080
17091
|
# the properties below are optional
|
|
17081
17092
|
endpoint_arn="endpointArn",
|
|
17082
17093
|
inference_component_name="inferenceComponentName",
|
|
17094
|
+
runtime_config=sagemaker.CfnInferenceComponent.InferenceComponentRuntimeConfigProperty(
|
|
17095
|
+
copy_count=123,
|
|
17096
|
+
current_copy_count=123,
|
|
17097
|
+
desired_copy_count=123
|
|
17098
|
+
),
|
|
17083
17099
|
tags=[CfnTag(
|
|
17084
17100
|
key="key",
|
|
17085
17101
|
value="value"
|
|
17086
|
-
)]
|
|
17102
|
+
)],
|
|
17103
|
+
variant_name="variantName"
|
|
17087
17104
|
)
|
|
17088
17105
|
'''
|
|
17089
17106
|
if __debug__:
|
|
17090
17107
|
type_hints = typing.get_type_hints(_typecheckingstub__3926edf39d044760bb8195e9466dfa81ab70056fcc1e3a9053c6c3d90bcaaafa)
|
|
17091
17108
|
check_type(argname="argument endpoint_name", value=endpoint_name, expected_type=type_hints["endpoint_name"])
|
|
17092
|
-
check_type(argname="argument runtime_config", value=runtime_config, expected_type=type_hints["runtime_config"])
|
|
17093
17109
|
check_type(argname="argument specification", value=specification, expected_type=type_hints["specification"])
|
|
17094
|
-
check_type(argname="argument variant_name", value=variant_name, expected_type=type_hints["variant_name"])
|
|
17095
17110
|
check_type(argname="argument endpoint_arn", value=endpoint_arn, expected_type=type_hints["endpoint_arn"])
|
|
17096
17111
|
check_type(argname="argument inference_component_name", value=inference_component_name, expected_type=type_hints["inference_component_name"])
|
|
17112
|
+
check_type(argname="argument runtime_config", value=runtime_config, expected_type=type_hints["runtime_config"])
|
|
17097
17113
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
17114
|
+
check_type(argname="argument variant_name", value=variant_name, expected_type=type_hints["variant_name"])
|
|
17098
17115
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
17099
17116
|
"endpoint_name": endpoint_name,
|
|
17100
|
-
"runtime_config": runtime_config,
|
|
17101
17117
|
"specification": specification,
|
|
17102
|
-
"variant_name": variant_name,
|
|
17103
17118
|
}
|
|
17104
17119
|
if endpoint_arn is not None:
|
|
17105
17120
|
self._values["endpoint_arn"] = endpoint_arn
|
|
17106
17121
|
if inference_component_name is not None:
|
|
17107
17122
|
self._values["inference_component_name"] = inference_component_name
|
|
17123
|
+
if runtime_config is not None:
|
|
17124
|
+
self._values["runtime_config"] = runtime_config
|
|
17108
17125
|
if tags is not None:
|
|
17109
17126
|
self._values["tags"] = tags
|
|
17127
|
+
if variant_name is not None:
|
|
17128
|
+
self._values["variant_name"] = variant_name
|
|
17110
17129
|
|
|
17111
17130
|
@builtins.property
|
|
17112
17131
|
def endpoint_name(self) -> builtins.str:
|
|
@@ -17118,18 +17137,6 @@ class CfnInferenceComponentProps:
|
|
|
17118
17137
|
assert result is not None, "Required property 'endpoint_name' is missing"
|
|
17119
17138
|
return typing.cast(builtins.str, result)
|
|
17120
17139
|
|
|
17121
|
-
@builtins.property
|
|
17122
|
-
def runtime_config(
|
|
17123
|
-
self,
|
|
17124
|
-
) -> typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentRuntimeConfigProperty]:
|
|
17125
|
-
'''The runtime config for the inference component.
|
|
17126
|
-
|
|
17127
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferencecomponent.html#cfn-sagemaker-inferencecomponent-runtimeconfig
|
|
17128
|
-
'''
|
|
17129
|
-
result = self._values.get("runtime_config")
|
|
17130
|
-
assert result is not None, "Required property 'runtime_config' is missing"
|
|
17131
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentRuntimeConfigProperty], result)
|
|
17132
|
-
|
|
17133
17140
|
@builtins.property
|
|
17134
17141
|
def specification(
|
|
17135
17142
|
self,
|
|
@@ -17142,16 +17149,6 @@ class CfnInferenceComponentProps:
|
|
|
17142
17149
|
assert result is not None, "Required property 'specification' is missing"
|
|
17143
17150
|
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentSpecificationProperty], result)
|
|
17144
17151
|
|
|
17145
|
-
@builtins.property
|
|
17146
|
-
def variant_name(self) -> builtins.str:
|
|
17147
|
-
'''The name of the production variant that hosts the inference component.
|
|
17148
|
-
|
|
17149
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferencecomponent.html#cfn-sagemaker-inferencecomponent-variantname
|
|
17150
|
-
'''
|
|
17151
|
-
result = self._values.get("variant_name")
|
|
17152
|
-
assert result is not None, "Required property 'variant_name' is missing"
|
|
17153
|
-
return typing.cast(builtins.str, result)
|
|
17154
|
-
|
|
17155
17152
|
@builtins.property
|
|
17156
17153
|
def endpoint_arn(self) -> typing.Optional[builtins.str]:
|
|
17157
17154
|
'''The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
|
|
@@ -17170,6 +17167,17 @@ class CfnInferenceComponentProps:
|
|
|
17170
17167
|
result = self._values.get("inference_component_name")
|
|
17171
17168
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
17172
17169
|
|
|
17170
|
+
@builtins.property
|
|
17171
|
+
def runtime_config(
|
|
17172
|
+
self,
|
|
17173
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentRuntimeConfigProperty]]:
|
|
17174
|
+
'''The runtime config for the inference component.
|
|
17175
|
+
|
|
17176
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferencecomponent.html#cfn-sagemaker-inferencecomponent-runtimeconfig
|
|
17177
|
+
'''
|
|
17178
|
+
result = self._values.get("runtime_config")
|
|
17179
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentRuntimeConfigProperty]], result)
|
|
17180
|
+
|
|
17173
17181
|
@builtins.property
|
|
17174
17182
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
17175
17183
|
'''An array of tags to apply to the resource.
|
|
@@ -17179,6 +17187,15 @@ class CfnInferenceComponentProps:
|
|
|
17179
17187
|
result = self._values.get("tags")
|
|
17180
17188
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
17181
17189
|
|
|
17190
|
+
@builtins.property
|
|
17191
|
+
def variant_name(self) -> typing.Optional[builtins.str]:
|
|
17192
|
+
'''The name of the production variant that hosts the inference component.
|
|
17193
|
+
|
|
17194
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferencecomponent.html#cfn-sagemaker-inferencecomponent-variantname
|
|
17195
|
+
'''
|
|
17196
|
+
result = self._values.get("variant_name")
|
|
17197
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
17198
|
+
|
|
17182
17199
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
17183
17200
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
17184
17201
|
|
|
@@ -41322,6 +41339,651 @@ class CfnNotebookInstanceProps:
|
|
|
41322
41339
|
)
|
|
41323
41340
|
|
|
41324
41341
|
|
|
41342
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
41343
|
+
class CfnPartnerApp(
|
|
41344
|
+
_CfnResource_9df397a6,
|
|
41345
|
+
metaclass=jsii.JSIIMeta,
|
|
41346
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnPartnerApp",
|
|
41347
|
+
):
|
|
41348
|
+
'''Resource Type definition for AWS::SageMaker::PartnerApp.
|
|
41349
|
+
|
|
41350
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html
|
|
41351
|
+
:cloudformationResource: AWS::SageMaker::PartnerApp
|
|
41352
|
+
:exampleMetadata: fixture=_generated
|
|
41353
|
+
|
|
41354
|
+
Example::
|
|
41355
|
+
|
|
41356
|
+
# The code below shows an example of how to instantiate this type.
|
|
41357
|
+
# The values are placeholders you should change.
|
|
41358
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
41359
|
+
|
|
41360
|
+
cfn_partner_app = sagemaker.CfnPartnerApp(self, "MyCfnPartnerApp",
|
|
41361
|
+
auth_type="authType",
|
|
41362
|
+
execution_role_arn="executionRoleArn",
|
|
41363
|
+
name="name",
|
|
41364
|
+
tier="tier",
|
|
41365
|
+
type="type",
|
|
41366
|
+
|
|
41367
|
+
# the properties below are optional
|
|
41368
|
+
application_config=sagemaker.CfnPartnerApp.PartnerAppConfigProperty(
|
|
41369
|
+
admin_users=["adminUsers"],
|
|
41370
|
+
arguments={
|
|
41371
|
+
"arguments_key": "arguments"
|
|
41372
|
+
}
|
|
41373
|
+
),
|
|
41374
|
+
client_token="clientToken",
|
|
41375
|
+
enable_iam_session_based_identity=False,
|
|
41376
|
+
maintenance_config=sagemaker.CfnPartnerApp.PartnerAppMaintenanceConfigProperty(
|
|
41377
|
+
maintenance_window_start="maintenanceWindowStart"
|
|
41378
|
+
),
|
|
41379
|
+
tags=[CfnTag(
|
|
41380
|
+
key="key",
|
|
41381
|
+
value="value"
|
|
41382
|
+
)]
|
|
41383
|
+
)
|
|
41384
|
+
'''
|
|
41385
|
+
|
|
41386
|
+
def __init__(
|
|
41387
|
+
self,
|
|
41388
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
41389
|
+
id: builtins.str,
|
|
41390
|
+
*,
|
|
41391
|
+
auth_type: builtins.str,
|
|
41392
|
+
execution_role_arn: builtins.str,
|
|
41393
|
+
name: builtins.str,
|
|
41394
|
+
tier: builtins.str,
|
|
41395
|
+
type: builtins.str,
|
|
41396
|
+
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnerApp.PartnerAppConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41397
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
41398
|
+
enable_iam_session_based_identity: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
41399
|
+
maintenance_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPartnerApp.PartnerAppMaintenanceConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41400
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41401
|
+
) -> None:
|
|
41402
|
+
'''
|
|
41403
|
+
:param scope: Scope in which this resource is defined.
|
|
41404
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
41405
|
+
:param auth_type: The Auth type of PartnerApp.
|
|
41406
|
+
:param execution_role_arn: The execution role for the user.
|
|
41407
|
+
:param name: A name for the PartnerApp.
|
|
41408
|
+
:param tier: The tier of the PartnerApp.
|
|
41409
|
+
:param type: The type of PartnerApp.
|
|
41410
|
+
:param application_config: A collection of configuration settings for the PartnerApp.
|
|
41411
|
+
:param client_token: The client token for the PartnerApp.
|
|
41412
|
+
:param enable_iam_session_based_identity: Enables IAM Session based Identity for PartnerApp.
|
|
41413
|
+
:param maintenance_config: A collection of settings that specify the maintenance schedule for the PartnerApp.
|
|
41414
|
+
:param tags: A list of tags to apply to the PartnerApp.
|
|
41415
|
+
'''
|
|
41416
|
+
if __debug__:
|
|
41417
|
+
type_hints = typing.get_type_hints(_typecheckingstub__149fe137328534a718f6ce551ee72371d9e2f7ac901d129321d3ff3277a507a2)
|
|
41418
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
41419
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
41420
|
+
props = CfnPartnerAppProps(
|
|
41421
|
+
auth_type=auth_type,
|
|
41422
|
+
execution_role_arn=execution_role_arn,
|
|
41423
|
+
name=name,
|
|
41424
|
+
tier=tier,
|
|
41425
|
+
type=type,
|
|
41426
|
+
application_config=application_config,
|
|
41427
|
+
client_token=client_token,
|
|
41428
|
+
enable_iam_session_based_identity=enable_iam_session_based_identity,
|
|
41429
|
+
maintenance_config=maintenance_config,
|
|
41430
|
+
tags=tags,
|
|
41431
|
+
)
|
|
41432
|
+
|
|
41433
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
41434
|
+
|
|
41435
|
+
@jsii.member(jsii_name="inspect")
|
|
41436
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
41437
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
41438
|
+
|
|
41439
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
41440
|
+
'''
|
|
41441
|
+
if __debug__:
|
|
41442
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f9d0adaefc4dc7f7f5875685f60014293b560a4cbd78e9355f4973f19713560d)
|
|
41443
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
41444
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
41445
|
+
|
|
41446
|
+
@jsii.member(jsii_name="renderProperties")
|
|
41447
|
+
def _render_properties(
|
|
41448
|
+
self,
|
|
41449
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
41450
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
41451
|
+
'''
|
|
41452
|
+
:param props: -
|
|
41453
|
+
'''
|
|
41454
|
+
if __debug__:
|
|
41455
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0722f1b411fb3ed1687c288ab916ced4d5c993b98ec6106095db4b6218f94a94)
|
|
41456
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
41457
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
41458
|
+
|
|
41459
|
+
@jsii.python.classproperty
|
|
41460
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
41461
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
41462
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
41463
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
41464
|
+
|
|
41465
|
+
@builtins.property
|
|
41466
|
+
@jsii.member(jsii_name="attrArn")
|
|
41467
|
+
def attr_arn(self) -> builtins.str:
|
|
41468
|
+
'''The Amazon Resource Name (ARN) of the created PartnerApp.
|
|
41469
|
+
|
|
41470
|
+
:cloudformationAttribute: Arn
|
|
41471
|
+
'''
|
|
41472
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
41473
|
+
|
|
41474
|
+
@builtins.property
|
|
41475
|
+
@jsii.member(jsii_name="attrBaseUrl")
|
|
41476
|
+
def attr_base_url(self) -> builtins.str:
|
|
41477
|
+
'''The AppServerUrl based on app and account-info.
|
|
41478
|
+
|
|
41479
|
+
:cloudformationAttribute: BaseUrl
|
|
41480
|
+
'''
|
|
41481
|
+
return typing.cast(builtins.str, jsii.get(self, "attrBaseUrl"))
|
|
41482
|
+
|
|
41483
|
+
@builtins.property
|
|
41484
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
41485
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
41486
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
41487
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
41488
|
+
|
|
41489
|
+
@builtins.property
|
|
41490
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
41491
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
41492
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
41493
|
+
|
|
41494
|
+
@builtins.property
|
|
41495
|
+
@jsii.member(jsii_name="authType")
|
|
41496
|
+
def auth_type(self) -> builtins.str:
|
|
41497
|
+
'''The Auth type of PartnerApp.'''
|
|
41498
|
+
return typing.cast(builtins.str, jsii.get(self, "authType"))
|
|
41499
|
+
|
|
41500
|
+
@auth_type.setter
|
|
41501
|
+
def auth_type(self, value: builtins.str) -> None:
|
|
41502
|
+
if __debug__:
|
|
41503
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e1471b3185873591d8fd1c0783497d1174d4b83ee837d4cf173f2f81e82c9685)
|
|
41504
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41505
|
+
jsii.set(self, "authType", value) # pyright: ignore[reportArgumentType]
|
|
41506
|
+
|
|
41507
|
+
@builtins.property
|
|
41508
|
+
@jsii.member(jsii_name="executionRoleArn")
|
|
41509
|
+
def execution_role_arn(self) -> builtins.str:
|
|
41510
|
+
'''The execution role for the user.'''
|
|
41511
|
+
return typing.cast(builtins.str, jsii.get(self, "executionRoleArn"))
|
|
41512
|
+
|
|
41513
|
+
@execution_role_arn.setter
|
|
41514
|
+
def execution_role_arn(self, value: builtins.str) -> None:
|
|
41515
|
+
if __debug__:
|
|
41516
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9b794840689293fa1443a1007848cddfd6b7379b477b5e86b8fb21a7e86da829)
|
|
41517
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41518
|
+
jsii.set(self, "executionRoleArn", value) # pyright: ignore[reportArgumentType]
|
|
41519
|
+
|
|
41520
|
+
@builtins.property
|
|
41521
|
+
@jsii.member(jsii_name="name")
|
|
41522
|
+
def name(self) -> builtins.str:
|
|
41523
|
+
'''A name for the PartnerApp.'''
|
|
41524
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
41525
|
+
|
|
41526
|
+
@name.setter
|
|
41527
|
+
def name(self, value: builtins.str) -> None:
|
|
41528
|
+
if __debug__:
|
|
41529
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e575ff5acc41dbf0f4e37087eedf5bf0ae9096392096461cd905d6bd27dccd2f)
|
|
41530
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41531
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
41532
|
+
|
|
41533
|
+
@builtins.property
|
|
41534
|
+
@jsii.member(jsii_name="tier")
|
|
41535
|
+
def tier(self) -> builtins.str:
|
|
41536
|
+
'''The tier of the PartnerApp.'''
|
|
41537
|
+
return typing.cast(builtins.str, jsii.get(self, "tier"))
|
|
41538
|
+
|
|
41539
|
+
@tier.setter
|
|
41540
|
+
def tier(self, value: builtins.str) -> None:
|
|
41541
|
+
if __debug__:
|
|
41542
|
+
type_hints = typing.get_type_hints(_typecheckingstub__32762d05fc9078e8e6d0c1e42cf141f05f27f0241efc500e814dd87b9cb6ce9c)
|
|
41543
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41544
|
+
jsii.set(self, "tier", value) # pyright: ignore[reportArgumentType]
|
|
41545
|
+
|
|
41546
|
+
@builtins.property
|
|
41547
|
+
@jsii.member(jsii_name="type")
|
|
41548
|
+
def type(self) -> builtins.str:
|
|
41549
|
+
'''The type of PartnerApp.'''
|
|
41550
|
+
return typing.cast(builtins.str, jsii.get(self, "type"))
|
|
41551
|
+
|
|
41552
|
+
@type.setter
|
|
41553
|
+
def type(self, value: builtins.str) -> None:
|
|
41554
|
+
if __debug__:
|
|
41555
|
+
type_hints = typing.get_type_hints(_typecheckingstub__24050a7078dc338d64e91faa3b26015128396f8abb68146a0b20a69464095db1)
|
|
41556
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41557
|
+
jsii.set(self, "type", value) # pyright: ignore[reportArgumentType]
|
|
41558
|
+
|
|
41559
|
+
@builtins.property
|
|
41560
|
+
@jsii.member(jsii_name="applicationConfig")
|
|
41561
|
+
def application_config(
|
|
41562
|
+
self,
|
|
41563
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnerApp.PartnerAppConfigProperty"]]:
|
|
41564
|
+
'''A collection of configuration settings for the PartnerApp.'''
|
|
41565
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnerApp.PartnerAppConfigProperty"]], jsii.get(self, "applicationConfig"))
|
|
41566
|
+
|
|
41567
|
+
@application_config.setter
|
|
41568
|
+
def application_config(
|
|
41569
|
+
self,
|
|
41570
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnerApp.PartnerAppConfigProperty"]],
|
|
41571
|
+
) -> None:
|
|
41572
|
+
if __debug__:
|
|
41573
|
+
type_hints = typing.get_type_hints(_typecheckingstub__072cf8573e1e4a9e81dc0f2f111b6f8f9ed3db5ae1bc22a2c26f7a5943aaef7b)
|
|
41574
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41575
|
+
jsii.set(self, "applicationConfig", value) # pyright: ignore[reportArgumentType]
|
|
41576
|
+
|
|
41577
|
+
@builtins.property
|
|
41578
|
+
@jsii.member(jsii_name="clientToken")
|
|
41579
|
+
def client_token(self) -> typing.Optional[builtins.str]:
|
|
41580
|
+
'''The client token for the PartnerApp.'''
|
|
41581
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "clientToken"))
|
|
41582
|
+
|
|
41583
|
+
@client_token.setter
|
|
41584
|
+
def client_token(self, value: typing.Optional[builtins.str]) -> None:
|
|
41585
|
+
if __debug__:
|
|
41586
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1c8ec66eb18a5bb742143efcf194c774280f9b65cafeedbdbcab6fd897143208)
|
|
41587
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41588
|
+
jsii.set(self, "clientToken", value) # pyright: ignore[reportArgumentType]
|
|
41589
|
+
|
|
41590
|
+
@builtins.property
|
|
41591
|
+
@jsii.member(jsii_name="enableIamSessionBasedIdentity")
|
|
41592
|
+
def enable_iam_session_based_identity(
|
|
41593
|
+
self,
|
|
41594
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
41595
|
+
'''Enables IAM Session based Identity for PartnerApp.'''
|
|
41596
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enableIamSessionBasedIdentity"))
|
|
41597
|
+
|
|
41598
|
+
@enable_iam_session_based_identity.setter
|
|
41599
|
+
def enable_iam_session_based_identity(
|
|
41600
|
+
self,
|
|
41601
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
41602
|
+
) -> None:
|
|
41603
|
+
if __debug__:
|
|
41604
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ebd74e6776143e94da10e5c2bab1e42ca40468d81bb1db74aa0c1845980441dd)
|
|
41605
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41606
|
+
jsii.set(self, "enableIamSessionBasedIdentity", value) # pyright: ignore[reportArgumentType]
|
|
41607
|
+
|
|
41608
|
+
@builtins.property
|
|
41609
|
+
@jsii.member(jsii_name="maintenanceConfig")
|
|
41610
|
+
def maintenance_config(
|
|
41611
|
+
self,
|
|
41612
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnerApp.PartnerAppMaintenanceConfigProperty"]]:
|
|
41613
|
+
'''A collection of settings that specify the maintenance schedule for the PartnerApp.'''
|
|
41614
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnerApp.PartnerAppMaintenanceConfigProperty"]], jsii.get(self, "maintenanceConfig"))
|
|
41615
|
+
|
|
41616
|
+
@maintenance_config.setter
|
|
41617
|
+
def maintenance_config(
|
|
41618
|
+
self,
|
|
41619
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPartnerApp.PartnerAppMaintenanceConfigProperty"]],
|
|
41620
|
+
) -> None:
|
|
41621
|
+
if __debug__:
|
|
41622
|
+
type_hints = typing.get_type_hints(_typecheckingstub__01904965c7f75553d54adf4ed7dd98da8f98703ddbdf03abdbbfb7056e2bceab)
|
|
41623
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41624
|
+
jsii.set(self, "maintenanceConfig", value) # pyright: ignore[reportArgumentType]
|
|
41625
|
+
|
|
41626
|
+
@builtins.property
|
|
41627
|
+
@jsii.member(jsii_name="tags")
|
|
41628
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
41629
|
+
'''A list of tags to apply to the PartnerApp.'''
|
|
41630
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
41631
|
+
|
|
41632
|
+
@tags.setter
|
|
41633
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
41634
|
+
if __debug__:
|
|
41635
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a0b5e54b4f9355cd8b3f672fa93bf2831dc955eee865a01bd9f51f0c67c645ca)
|
|
41636
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
41637
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
41638
|
+
|
|
41639
|
+
@jsii.data_type(
|
|
41640
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnPartnerApp.PartnerAppConfigProperty",
|
|
41641
|
+
jsii_struct_bases=[],
|
|
41642
|
+
name_mapping={"admin_users": "adminUsers", "arguments": "arguments"},
|
|
41643
|
+
)
|
|
41644
|
+
class PartnerAppConfigProperty:
|
|
41645
|
+
def __init__(
|
|
41646
|
+
self,
|
|
41647
|
+
*,
|
|
41648
|
+
admin_users: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
41649
|
+
arguments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
41650
|
+
) -> None:
|
|
41651
|
+
'''A collection of configuration settings for the PartnerApp.
|
|
41652
|
+
|
|
41653
|
+
:param admin_users: A list of users with administrator privileges for the PartnerApp.
|
|
41654
|
+
:param arguments: A list of arguments to pass to the PartnerApp.
|
|
41655
|
+
|
|
41656
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html
|
|
41657
|
+
:exampleMetadata: fixture=_generated
|
|
41658
|
+
|
|
41659
|
+
Example::
|
|
41660
|
+
|
|
41661
|
+
# The code below shows an example of how to instantiate this type.
|
|
41662
|
+
# The values are placeholders you should change.
|
|
41663
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
41664
|
+
|
|
41665
|
+
partner_app_config_property = sagemaker.CfnPartnerApp.PartnerAppConfigProperty(
|
|
41666
|
+
admin_users=["adminUsers"],
|
|
41667
|
+
arguments={
|
|
41668
|
+
"arguments_key": "arguments"
|
|
41669
|
+
}
|
|
41670
|
+
)
|
|
41671
|
+
'''
|
|
41672
|
+
if __debug__:
|
|
41673
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4fe9c97147b4eae07c6bd61f56a8d78f05229fb88ed99c9642f55d171410989d)
|
|
41674
|
+
check_type(argname="argument admin_users", value=admin_users, expected_type=type_hints["admin_users"])
|
|
41675
|
+
check_type(argname="argument arguments", value=arguments, expected_type=type_hints["arguments"])
|
|
41676
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
41677
|
+
if admin_users is not None:
|
|
41678
|
+
self._values["admin_users"] = admin_users
|
|
41679
|
+
if arguments is not None:
|
|
41680
|
+
self._values["arguments"] = arguments
|
|
41681
|
+
|
|
41682
|
+
@builtins.property
|
|
41683
|
+
def admin_users(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
41684
|
+
'''A list of users with administrator privileges for the PartnerApp.
|
|
41685
|
+
|
|
41686
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html#cfn-sagemaker-partnerapp-partnerappconfig-adminusers
|
|
41687
|
+
'''
|
|
41688
|
+
result = self._values.get("admin_users")
|
|
41689
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
41690
|
+
|
|
41691
|
+
@builtins.property
|
|
41692
|
+
def arguments(
|
|
41693
|
+
self,
|
|
41694
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
41695
|
+
'''A list of arguments to pass to the PartnerApp.
|
|
41696
|
+
|
|
41697
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html#cfn-sagemaker-partnerapp-partnerappconfig-arguments
|
|
41698
|
+
'''
|
|
41699
|
+
result = self._values.get("arguments")
|
|
41700
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
|
|
41701
|
+
|
|
41702
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
41703
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
41704
|
+
|
|
41705
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
41706
|
+
return not (rhs == self)
|
|
41707
|
+
|
|
41708
|
+
def __repr__(self) -> str:
|
|
41709
|
+
return "PartnerAppConfigProperty(%s)" % ", ".join(
|
|
41710
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
41711
|
+
)
|
|
41712
|
+
|
|
41713
|
+
@jsii.data_type(
|
|
41714
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnPartnerApp.PartnerAppMaintenanceConfigProperty",
|
|
41715
|
+
jsii_struct_bases=[],
|
|
41716
|
+
name_mapping={"maintenance_window_start": "maintenanceWindowStart"},
|
|
41717
|
+
)
|
|
41718
|
+
class PartnerAppMaintenanceConfigProperty:
|
|
41719
|
+
def __init__(self, *, maintenance_window_start: builtins.str) -> None:
|
|
41720
|
+
'''A collection of settings that specify the maintenance schedule for the PartnerApp.
|
|
41721
|
+
|
|
41722
|
+
:param maintenance_window_start: The maintenance window start day and time for the PartnerApp.
|
|
41723
|
+
|
|
41724
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappmaintenanceconfig.html
|
|
41725
|
+
:exampleMetadata: fixture=_generated
|
|
41726
|
+
|
|
41727
|
+
Example::
|
|
41728
|
+
|
|
41729
|
+
# The code below shows an example of how to instantiate this type.
|
|
41730
|
+
# The values are placeholders you should change.
|
|
41731
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
41732
|
+
|
|
41733
|
+
partner_app_maintenance_config_property = sagemaker.CfnPartnerApp.PartnerAppMaintenanceConfigProperty(
|
|
41734
|
+
maintenance_window_start="maintenanceWindowStart"
|
|
41735
|
+
)
|
|
41736
|
+
'''
|
|
41737
|
+
if __debug__:
|
|
41738
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b740d1aafe0119189cd050b2fe978233eb33e53f5c405f396755af88c7e4257a)
|
|
41739
|
+
check_type(argname="argument maintenance_window_start", value=maintenance_window_start, expected_type=type_hints["maintenance_window_start"])
|
|
41740
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
41741
|
+
"maintenance_window_start": maintenance_window_start,
|
|
41742
|
+
}
|
|
41743
|
+
|
|
41744
|
+
@builtins.property
|
|
41745
|
+
def maintenance_window_start(self) -> builtins.str:
|
|
41746
|
+
'''The maintenance window start day and time for the PartnerApp.
|
|
41747
|
+
|
|
41748
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappmaintenanceconfig.html#cfn-sagemaker-partnerapp-partnerappmaintenanceconfig-maintenancewindowstart
|
|
41749
|
+
'''
|
|
41750
|
+
result = self._values.get("maintenance_window_start")
|
|
41751
|
+
assert result is not None, "Required property 'maintenance_window_start' is missing"
|
|
41752
|
+
return typing.cast(builtins.str, result)
|
|
41753
|
+
|
|
41754
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
41755
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
41756
|
+
|
|
41757
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
41758
|
+
return not (rhs == self)
|
|
41759
|
+
|
|
41760
|
+
def __repr__(self) -> str:
|
|
41761
|
+
return "PartnerAppMaintenanceConfigProperty(%s)" % ", ".join(
|
|
41762
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
41763
|
+
)
|
|
41764
|
+
|
|
41765
|
+
|
|
41766
|
+
@jsii.data_type(
|
|
41767
|
+
jsii_type="aws-cdk-lib.aws_sagemaker.CfnPartnerAppProps",
|
|
41768
|
+
jsii_struct_bases=[],
|
|
41769
|
+
name_mapping={
|
|
41770
|
+
"auth_type": "authType",
|
|
41771
|
+
"execution_role_arn": "executionRoleArn",
|
|
41772
|
+
"name": "name",
|
|
41773
|
+
"tier": "tier",
|
|
41774
|
+
"type": "type",
|
|
41775
|
+
"application_config": "applicationConfig",
|
|
41776
|
+
"client_token": "clientToken",
|
|
41777
|
+
"enable_iam_session_based_identity": "enableIamSessionBasedIdentity",
|
|
41778
|
+
"maintenance_config": "maintenanceConfig",
|
|
41779
|
+
"tags": "tags",
|
|
41780
|
+
},
|
|
41781
|
+
)
|
|
41782
|
+
class CfnPartnerAppProps:
|
|
41783
|
+
def __init__(
|
|
41784
|
+
self,
|
|
41785
|
+
*,
|
|
41786
|
+
auth_type: builtins.str,
|
|
41787
|
+
execution_role_arn: builtins.str,
|
|
41788
|
+
name: builtins.str,
|
|
41789
|
+
tier: builtins.str,
|
|
41790
|
+
type: builtins.str,
|
|
41791
|
+
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41792
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
41793
|
+
enable_iam_session_based_identity: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
41794
|
+
maintenance_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppMaintenanceConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41795
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41796
|
+
) -> None:
|
|
41797
|
+
'''Properties for defining a ``CfnPartnerApp``.
|
|
41798
|
+
|
|
41799
|
+
:param auth_type: The Auth type of PartnerApp.
|
|
41800
|
+
:param execution_role_arn: The execution role for the user.
|
|
41801
|
+
:param name: A name for the PartnerApp.
|
|
41802
|
+
:param tier: The tier of the PartnerApp.
|
|
41803
|
+
:param type: The type of PartnerApp.
|
|
41804
|
+
:param application_config: A collection of configuration settings for the PartnerApp.
|
|
41805
|
+
:param client_token: The client token for the PartnerApp.
|
|
41806
|
+
:param enable_iam_session_based_identity: Enables IAM Session based Identity for PartnerApp.
|
|
41807
|
+
:param maintenance_config: A collection of settings that specify the maintenance schedule for the PartnerApp.
|
|
41808
|
+
:param tags: A list of tags to apply to the PartnerApp.
|
|
41809
|
+
|
|
41810
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html
|
|
41811
|
+
:exampleMetadata: fixture=_generated
|
|
41812
|
+
|
|
41813
|
+
Example::
|
|
41814
|
+
|
|
41815
|
+
# The code below shows an example of how to instantiate this type.
|
|
41816
|
+
# The values are placeholders you should change.
|
|
41817
|
+
from aws_cdk import aws_sagemaker as sagemaker
|
|
41818
|
+
|
|
41819
|
+
cfn_partner_app_props = sagemaker.CfnPartnerAppProps(
|
|
41820
|
+
auth_type="authType",
|
|
41821
|
+
execution_role_arn="executionRoleArn",
|
|
41822
|
+
name="name",
|
|
41823
|
+
tier="tier",
|
|
41824
|
+
type="type",
|
|
41825
|
+
|
|
41826
|
+
# the properties below are optional
|
|
41827
|
+
application_config=sagemaker.CfnPartnerApp.PartnerAppConfigProperty(
|
|
41828
|
+
admin_users=["adminUsers"],
|
|
41829
|
+
arguments={
|
|
41830
|
+
"arguments_key": "arguments"
|
|
41831
|
+
}
|
|
41832
|
+
),
|
|
41833
|
+
client_token="clientToken",
|
|
41834
|
+
enable_iam_session_based_identity=False,
|
|
41835
|
+
maintenance_config=sagemaker.CfnPartnerApp.PartnerAppMaintenanceConfigProperty(
|
|
41836
|
+
maintenance_window_start="maintenanceWindowStart"
|
|
41837
|
+
),
|
|
41838
|
+
tags=[CfnTag(
|
|
41839
|
+
key="key",
|
|
41840
|
+
value="value"
|
|
41841
|
+
)]
|
|
41842
|
+
)
|
|
41843
|
+
'''
|
|
41844
|
+
if __debug__:
|
|
41845
|
+
type_hints = typing.get_type_hints(_typecheckingstub__23a26f35e63e4c1c82a8885f138a3f6006822c6ecbf7284a7c2ccafae14c728d)
|
|
41846
|
+
check_type(argname="argument auth_type", value=auth_type, expected_type=type_hints["auth_type"])
|
|
41847
|
+
check_type(argname="argument execution_role_arn", value=execution_role_arn, expected_type=type_hints["execution_role_arn"])
|
|
41848
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
41849
|
+
check_type(argname="argument tier", value=tier, expected_type=type_hints["tier"])
|
|
41850
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
41851
|
+
check_type(argname="argument application_config", value=application_config, expected_type=type_hints["application_config"])
|
|
41852
|
+
check_type(argname="argument client_token", value=client_token, expected_type=type_hints["client_token"])
|
|
41853
|
+
check_type(argname="argument enable_iam_session_based_identity", value=enable_iam_session_based_identity, expected_type=type_hints["enable_iam_session_based_identity"])
|
|
41854
|
+
check_type(argname="argument maintenance_config", value=maintenance_config, expected_type=type_hints["maintenance_config"])
|
|
41855
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
41856
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
41857
|
+
"auth_type": auth_type,
|
|
41858
|
+
"execution_role_arn": execution_role_arn,
|
|
41859
|
+
"name": name,
|
|
41860
|
+
"tier": tier,
|
|
41861
|
+
"type": type,
|
|
41862
|
+
}
|
|
41863
|
+
if application_config is not None:
|
|
41864
|
+
self._values["application_config"] = application_config
|
|
41865
|
+
if client_token is not None:
|
|
41866
|
+
self._values["client_token"] = client_token
|
|
41867
|
+
if enable_iam_session_based_identity is not None:
|
|
41868
|
+
self._values["enable_iam_session_based_identity"] = enable_iam_session_based_identity
|
|
41869
|
+
if maintenance_config is not None:
|
|
41870
|
+
self._values["maintenance_config"] = maintenance_config
|
|
41871
|
+
if tags is not None:
|
|
41872
|
+
self._values["tags"] = tags
|
|
41873
|
+
|
|
41874
|
+
@builtins.property
|
|
41875
|
+
def auth_type(self) -> builtins.str:
|
|
41876
|
+
'''The Auth type of PartnerApp.
|
|
41877
|
+
|
|
41878
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-authtype
|
|
41879
|
+
'''
|
|
41880
|
+
result = self._values.get("auth_type")
|
|
41881
|
+
assert result is not None, "Required property 'auth_type' is missing"
|
|
41882
|
+
return typing.cast(builtins.str, result)
|
|
41883
|
+
|
|
41884
|
+
@builtins.property
|
|
41885
|
+
def execution_role_arn(self) -> builtins.str:
|
|
41886
|
+
'''The execution role for the user.
|
|
41887
|
+
|
|
41888
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-executionrolearn
|
|
41889
|
+
'''
|
|
41890
|
+
result = self._values.get("execution_role_arn")
|
|
41891
|
+
assert result is not None, "Required property 'execution_role_arn' is missing"
|
|
41892
|
+
return typing.cast(builtins.str, result)
|
|
41893
|
+
|
|
41894
|
+
@builtins.property
|
|
41895
|
+
def name(self) -> builtins.str:
|
|
41896
|
+
'''A name for the PartnerApp.
|
|
41897
|
+
|
|
41898
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-name
|
|
41899
|
+
'''
|
|
41900
|
+
result = self._values.get("name")
|
|
41901
|
+
assert result is not None, "Required property 'name' is missing"
|
|
41902
|
+
return typing.cast(builtins.str, result)
|
|
41903
|
+
|
|
41904
|
+
@builtins.property
|
|
41905
|
+
def tier(self) -> builtins.str:
|
|
41906
|
+
'''The tier of the PartnerApp.
|
|
41907
|
+
|
|
41908
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-tier
|
|
41909
|
+
'''
|
|
41910
|
+
result = self._values.get("tier")
|
|
41911
|
+
assert result is not None, "Required property 'tier' is missing"
|
|
41912
|
+
return typing.cast(builtins.str, result)
|
|
41913
|
+
|
|
41914
|
+
@builtins.property
|
|
41915
|
+
def type(self) -> builtins.str:
|
|
41916
|
+
'''The type of PartnerApp.
|
|
41917
|
+
|
|
41918
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-type
|
|
41919
|
+
'''
|
|
41920
|
+
result = self._values.get("type")
|
|
41921
|
+
assert result is not None, "Required property 'type' is missing"
|
|
41922
|
+
return typing.cast(builtins.str, result)
|
|
41923
|
+
|
|
41924
|
+
@builtins.property
|
|
41925
|
+
def application_config(
|
|
41926
|
+
self,
|
|
41927
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnerApp.PartnerAppConfigProperty]]:
|
|
41928
|
+
'''A collection of configuration settings for the PartnerApp.
|
|
41929
|
+
|
|
41930
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-applicationconfig
|
|
41931
|
+
'''
|
|
41932
|
+
result = self._values.get("application_config")
|
|
41933
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnerApp.PartnerAppConfigProperty]], result)
|
|
41934
|
+
|
|
41935
|
+
@builtins.property
|
|
41936
|
+
def client_token(self) -> typing.Optional[builtins.str]:
|
|
41937
|
+
'''The client token for the PartnerApp.
|
|
41938
|
+
|
|
41939
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-clienttoken
|
|
41940
|
+
'''
|
|
41941
|
+
result = self._values.get("client_token")
|
|
41942
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
41943
|
+
|
|
41944
|
+
@builtins.property
|
|
41945
|
+
def enable_iam_session_based_identity(
|
|
41946
|
+
self,
|
|
41947
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
41948
|
+
'''Enables IAM Session based Identity for PartnerApp.
|
|
41949
|
+
|
|
41950
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-enableiamsessionbasedidentity
|
|
41951
|
+
'''
|
|
41952
|
+
result = self._values.get("enable_iam_session_based_identity")
|
|
41953
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
41954
|
+
|
|
41955
|
+
@builtins.property
|
|
41956
|
+
def maintenance_config(
|
|
41957
|
+
self,
|
|
41958
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnerApp.PartnerAppMaintenanceConfigProperty]]:
|
|
41959
|
+
'''A collection of settings that specify the maintenance schedule for the PartnerApp.
|
|
41960
|
+
|
|
41961
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-maintenanceconfig
|
|
41962
|
+
'''
|
|
41963
|
+
result = self._values.get("maintenance_config")
|
|
41964
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnerApp.PartnerAppMaintenanceConfigProperty]], result)
|
|
41965
|
+
|
|
41966
|
+
@builtins.property
|
|
41967
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
41968
|
+
'''A list of tags to apply to the PartnerApp.
|
|
41969
|
+
|
|
41970
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#cfn-sagemaker-partnerapp-tags
|
|
41971
|
+
'''
|
|
41972
|
+
result = self._values.get("tags")
|
|
41973
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
41974
|
+
|
|
41975
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
41976
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
41977
|
+
|
|
41978
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
41979
|
+
return not (rhs == self)
|
|
41980
|
+
|
|
41981
|
+
def __repr__(self) -> str:
|
|
41982
|
+
return "CfnPartnerAppProps(%s)" % ", ".join(
|
|
41983
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
41984
|
+
)
|
|
41985
|
+
|
|
41986
|
+
|
|
41325
41987
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
41326
41988
|
class CfnPipeline(
|
|
41327
41989
|
_CfnResource_9df397a6,
|
|
@@ -48105,6 +48767,8 @@ __all__ = [
|
|
|
48105
48767
|
"CfnNotebookInstanceLifecycleConfig",
|
|
48106
48768
|
"CfnNotebookInstanceLifecycleConfigProps",
|
|
48107
48769
|
"CfnNotebookInstanceProps",
|
|
48770
|
+
"CfnPartnerApp",
|
|
48771
|
+
"CfnPartnerAppProps",
|
|
48108
48772
|
"CfnPipeline",
|
|
48109
48773
|
"CfnPipelineProps",
|
|
48110
48774
|
"CfnProject",
|
|
@@ -50057,12 +50721,12 @@ def _typecheckingstub__3f4e5766b29b94468be54bb573abdb408c06e9ece9272100939b3c018
|
|
|
50057
50721
|
id: builtins.str,
|
|
50058
50722
|
*,
|
|
50059
50723
|
endpoint_name: builtins.str,
|
|
50060
|
-
runtime_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentRuntimeConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
50061
50724
|
specification: typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentSpecificationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
50062
|
-
variant_name: builtins.str,
|
|
50063
50725
|
endpoint_arn: typing.Optional[builtins.str] = None,
|
|
50064
50726
|
inference_component_name: typing.Optional[builtins.str] = None,
|
|
50727
|
+
runtime_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentRuntimeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
50065
50728
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
50729
|
+
variant_name: typing.Optional[builtins.str] = None,
|
|
50066
50730
|
) -> None:
|
|
50067
50731
|
"""Type checking stubs"""
|
|
50068
50732
|
pass
|
|
@@ -50085,32 +50749,26 @@ def _typecheckingstub__b5da5a7b9146494fb112ee7d607f46334dc3051d93d50b77735f62bdd
|
|
|
50085
50749
|
"""Type checking stubs"""
|
|
50086
50750
|
pass
|
|
50087
50751
|
|
|
50088
|
-
def _typecheckingstub__4e7c351a25e5bcfa57adb1a6effe98407a73bd29e017ee9e9dea5d09a2106d9c(
|
|
50089
|
-
value: typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentRuntimeConfigProperty],
|
|
50090
|
-
) -> None:
|
|
50091
|
-
"""Type checking stubs"""
|
|
50092
|
-
pass
|
|
50093
|
-
|
|
50094
50752
|
def _typecheckingstub__0adfcd5be0b7e042e0a87c6ccfbe4b53fc4803e5b7da8ad8951b7875f1bc187d(
|
|
50095
50753
|
value: typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentSpecificationProperty],
|
|
50096
50754
|
) -> None:
|
|
50097
50755
|
"""Type checking stubs"""
|
|
50098
50756
|
pass
|
|
50099
50757
|
|
|
50100
|
-
def
|
|
50101
|
-
value: builtins.str,
|
|
50758
|
+
def _typecheckingstub__6177c630f46f5680f400bfc08061f6f7a9f5f1e1736976ebe24194a8378cbb9c(
|
|
50759
|
+
value: typing.Optional[builtins.str],
|
|
50102
50760
|
) -> None:
|
|
50103
50761
|
"""Type checking stubs"""
|
|
50104
50762
|
pass
|
|
50105
50763
|
|
|
50106
|
-
def
|
|
50764
|
+
def _typecheckingstub__3472a30311d416ad067afa5672326f2c73cf974625b4aa6be0907db35a5a4bac(
|
|
50107
50765
|
value: typing.Optional[builtins.str],
|
|
50108
50766
|
) -> None:
|
|
50109
50767
|
"""Type checking stubs"""
|
|
50110
50768
|
pass
|
|
50111
50769
|
|
|
50112
|
-
def
|
|
50113
|
-
value: typing.Optional[
|
|
50770
|
+
def _typecheckingstub__4e7c351a25e5bcfa57adb1a6effe98407a73bd29e017ee9e9dea5d09a2106d9c(
|
|
50771
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInferenceComponent.InferenceComponentRuntimeConfigProperty]],
|
|
50114
50772
|
) -> None:
|
|
50115
50773
|
"""Type checking stubs"""
|
|
50116
50774
|
pass
|
|
@@ -50121,6 +50779,12 @@ def _typecheckingstub__01670e9b8687fbb8bb10369a12d0d3b7f4aba931c3ce72496c12f3a81
|
|
|
50121
50779
|
"""Type checking stubs"""
|
|
50122
50780
|
pass
|
|
50123
50781
|
|
|
50782
|
+
def _typecheckingstub__ca03af9ff83216f8a0636af33c0e4a7a2eb600513b2eed7eb75f082151eb70e5(
|
|
50783
|
+
value: typing.Optional[builtins.str],
|
|
50784
|
+
) -> None:
|
|
50785
|
+
"""Type checking stubs"""
|
|
50786
|
+
pass
|
|
50787
|
+
|
|
50124
50788
|
def _typecheckingstub__c27834d414a93bc1a61027191b0a24b7e6f65578d28266dfd21a6ed1a5a85ee1(
|
|
50125
50789
|
*,
|
|
50126
50790
|
resolution_time: typing.Optional[builtins.str] = None,
|
|
@@ -50161,7 +50825,8 @@ def _typecheckingstub__63c5c7c37d4a557d84dc45694cd00ae845f319a810bc817c50db41e7d
|
|
|
50161
50825
|
|
|
50162
50826
|
def _typecheckingstub__6a0b62210860358f55c428526365b9cb1755209df1a27a1d8b73278ffe9fe251(
|
|
50163
50827
|
*,
|
|
50164
|
-
|
|
50828
|
+
base_inference_component_name: typing.Optional[builtins.str] = None,
|
|
50829
|
+
compute_resource_requirements: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
50165
50830
|
container: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentContainerSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
50166
50831
|
model_name: typing.Optional[builtins.str] = None,
|
|
50167
50832
|
startup_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentStartupParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -50180,12 +50845,12 @@ def _typecheckingstub__51a3a32a227ed8c98901c9a701372df1d229c6ff59152c6bdae0644d1
|
|
|
50180
50845
|
def _typecheckingstub__3926edf39d044760bb8195e9466dfa81ab70056fcc1e3a9053c6c3d90bcaaafa(
|
|
50181
50846
|
*,
|
|
50182
50847
|
endpoint_name: builtins.str,
|
|
50183
|
-
runtime_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentRuntimeConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
50184
50848
|
specification: typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentSpecificationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
50185
|
-
variant_name: builtins.str,
|
|
50186
50849
|
endpoint_arn: typing.Optional[builtins.str] = None,
|
|
50187
50850
|
inference_component_name: typing.Optional[builtins.str] = None,
|
|
50851
|
+
runtime_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInferenceComponent.InferenceComponentRuntimeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
50188
50852
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
50853
|
+
variant_name: typing.Optional[builtins.str] = None,
|
|
50189
50854
|
) -> None:
|
|
50190
50855
|
"""Type checking stubs"""
|
|
50191
50856
|
pass
|
|
@@ -52884,6 +53549,127 @@ def _typecheckingstub__fb4d5452fe3cd0d1665a3889149bbc6d104f132cfd2cfa196a6d745e8
|
|
|
52884
53549
|
"""Type checking stubs"""
|
|
52885
53550
|
pass
|
|
52886
53551
|
|
|
53552
|
+
def _typecheckingstub__149fe137328534a718f6ce551ee72371d9e2f7ac901d129321d3ff3277a507a2(
|
|
53553
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
53554
|
+
id: builtins.str,
|
|
53555
|
+
*,
|
|
53556
|
+
auth_type: builtins.str,
|
|
53557
|
+
execution_role_arn: builtins.str,
|
|
53558
|
+
name: builtins.str,
|
|
53559
|
+
tier: builtins.str,
|
|
53560
|
+
type: builtins.str,
|
|
53561
|
+
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
53562
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
53563
|
+
enable_iam_session_based_identity: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
53564
|
+
maintenance_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppMaintenanceConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
53565
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
53566
|
+
) -> None:
|
|
53567
|
+
"""Type checking stubs"""
|
|
53568
|
+
pass
|
|
53569
|
+
|
|
53570
|
+
def _typecheckingstub__f9d0adaefc4dc7f7f5875685f60014293b560a4cbd78e9355f4973f19713560d(
|
|
53571
|
+
inspector: _TreeInspector_488e0dd5,
|
|
53572
|
+
) -> None:
|
|
53573
|
+
"""Type checking stubs"""
|
|
53574
|
+
pass
|
|
53575
|
+
|
|
53576
|
+
def _typecheckingstub__0722f1b411fb3ed1687c288ab916ced4d5c993b98ec6106095db4b6218f94a94(
|
|
53577
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
53578
|
+
) -> None:
|
|
53579
|
+
"""Type checking stubs"""
|
|
53580
|
+
pass
|
|
53581
|
+
|
|
53582
|
+
def _typecheckingstub__e1471b3185873591d8fd1c0783497d1174d4b83ee837d4cf173f2f81e82c9685(
|
|
53583
|
+
value: builtins.str,
|
|
53584
|
+
) -> None:
|
|
53585
|
+
"""Type checking stubs"""
|
|
53586
|
+
pass
|
|
53587
|
+
|
|
53588
|
+
def _typecheckingstub__9b794840689293fa1443a1007848cddfd6b7379b477b5e86b8fb21a7e86da829(
|
|
53589
|
+
value: builtins.str,
|
|
53590
|
+
) -> None:
|
|
53591
|
+
"""Type checking stubs"""
|
|
53592
|
+
pass
|
|
53593
|
+
|
|
53594
|
+
def _typecheckingstub__e575ff5acc41dbf0f4e37087eedf5bf0ae9096392096461cd905d6bd27dccd2f(
|
|
53595
|
+
value: builtins.str,
|
|
53596
|
+
) -> None:
|
|
53597
|
+
"""Type checking stubs"""
|
|
53598
|
+
pass
|
|
53599
|
+
|
|
53600
|
+
def _typecheckingstub__32762d05fc9078e8e6d0c1e42cf141f05f27f0241efc500e814dd87b9cb6ce9c(
|
|
53601
|
+
value: builtins.str,
|
|
53602
|
+
) -> None:
|
|
53603
|
+
"""Type checking stubs"""
|
|
53604
|
+
pass
|
|
53605
|
+
|
|
53606
|
+
def _typecheckingstub__24050a7078dc338d64e91faa3b26015128396f8abb68146a0b20a69464095db1(
|
|
53607
|
+
value: builtins.str,
|
|
53608
|
+
) -> None:
|
|
53609
|
+
"""Type checking stubs"""
|
|
53610
|
+
pass
|
|
53611
|
+
|
|
53612
|
+
def _typecheckingstub__072cf8573e1e4a9e81dc0f2f111b6f8f9ed3db5ae1bc22a2c26f7a5943aaef7b(
|
|
53613
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnerApp.PartnerAppConfigProperty]],
|
|
53614
|
+
) -> None:
|
|
53615
|
+
"""Type checking stubs"""
|
|
53616
|
+
pass
|
|
53617
|
+
|
|
53618
|
+
def _typecheckingstub__1c8ec66eb18a5bb742143efcf194c774280f9b65cafeedbdbcab6fd897143208(
|
|
53619
|
+
value: typing.Optional[builtins.str],
|
|
53620
|
+
) -> None:
|
|
53621
|
+
"""Type checking stubs"""
|
|
53622
|
+
pass
|
|
53623
|
+
|
|
53624
|
+
def _typecheckingstub__ebd74e6776143e94da10e5c2bab1e42ca40468d81bb1db74aa0c1845980441dd(
|
|
53625
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
53626
|
+
) -> None:
|
|
53627
|
+
"""Type checking stubs"""
|
|
53628
|
+
pass
|
|
53629
|
+
|
|
53630
|
+
def _typecheckingstub__01904965c7f75553d54adf4ed7dd98da8f98703ddbdf03abdbbfb7056e2bceab(
|
|
53631
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPartnerApp.PartnerAppMaintenanceConfigProperty]],
|
|
53632
|
+
) -> None:
|
|
53633
|
+
"""Type checking stubs"""
|
|
53634
|
+
pass
|
|
53635
|
+
|
|
53636
|
+
def _typecheckingstub__a0b5e54b4f9355cd8b3f672fa93bf2831dc955eee865a01bd9f51f0c67c645ca(
|
|
53637
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
53638
|
+
) -> None:
|
|
53639
|
+
"""Type checking stubs"""
|
|
53640
|
+
pass
|
|
53641
|
+
|
|
53642
|
+
def _typecheckingstub__4fe9c97147b4eae07c6bd61f56a8d78f05229fb88ed99c9642f55d171410989d(
|
|
53643
|
+
*,
|
|
53644
|
+
admin_users: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
53645
|
+
arguments: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
53646
|
+
) -> None:
|
|
53647
|
+
"""Type checking stubs"""
|
|
53648
|
+
pass
|
|
53649
|
+
|
|
53650
|
+
def _typecheckingstub__b740d1aafe0119189cd050b2fe978233eb33e53f5c405f396755af88c7e4257a(
|
|
53651
|
+
*,
|
|
53652
|
+
maintenance_window_start: builtins.str,
|
|
53653
|
+
) -> None:
|
|
53654
|
+
"""Type checking stubs"""
|
|
53655
|
+
pass
|
|
53656
|
+
|
|
53657
|
+
def _typecheckingstub__23a26f35e63e4c1c82a8885f138a3f6006822c6ecbf7284a7c2ccafae14c728d(
|
|
53658
|
+
*,
|
|
53659
|
+
auth_type: builtins.str,
|
|
53660
|
+
execution_role_arn: builtins.str,
|
|
53661
|
+
name: builtins.str,
|
|
53662
|
+
tier: builtins.str,
|
|
53663
|
+
type: builtins.str,
|
|
53664
|
+
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
53665
|
+
client_token: typing.Optional[builtins.str] = None,
|
|
53666
|
+
enable_iam_session_based_identity: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
53667
|
+
maintenance_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPartnerApp.PartnerAppMaintenanceConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
53668
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
53669
|
+
) -> None:
|
|
53670
|
+
"""Type checking stubs"""
|
|
53671
|
+
pass
|
|
53672
|
+
|
|
52887
53673
|
def _typecheckingstub__1ad401effd23b8166514a4ae8c124006c7f366e8a04330e88afe117ee38dc759(
|
|
52888
53674
|
scope: _constructs_77d1e7e8.Construct,
|
|
52889
53675
|
id: builtins.str,
|