aws-cdk-lib 2.172.0__py3-none-any.whl → 2.173.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +57 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.172.0.jsii.tgz → aws-cdk-lib@2.173.1.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +40 -40
- aws_cdk/aws_apigateway/__init__.py +111 -64
- aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
- aws_cdk/aws_appsync/__init__.py +4 -3
- aws_cdk/aws_autoscaling/__init__.py +15 -6
- aws_cdk/aws_bedrock/__init__.py +32 -44
- aws_cdk/aws_chatbot/__init__.py +72 -46
- aws_cdk/aws_cleanrooms/__init__.py +4 -6
- aws_cdk/aws_cloudfront/__init__.py +4 -2
- aws_cdk/aws_cloudtrail/__init__.py +104 -68
- 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 +221 -53
- aws_cdk/aws_config/__init__.py +13 -10
- aws_cdk/aws_connect/__init__.py +25 -23
- aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
- aws_cdk/aws_docdb/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +256 -0
- aws_cdk/aws_ec2/__init__.py +130 -48
- aws_cdk/aws_ecs/__init__.py +25 -13
- aws_cdk/aws_eks/__init__.py +86 -24
- aws_cdk/aws_elasticache/__init__.py +22 -22
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +138 -128
- aws_cdk/aws_events/__init__.py +39 -26
- 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 +28 -22
- aws_cdk/aws_iotfleetwise/__init__.py +473 -332
- aws_cdk/aws_iotsitewise/__init__.py +6 -4
- 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 +258 -156
- aws_cdk/aws_logs/__init__.py +532 -0
- aws_cdk/aws_m2/__init__.py +15 -15
- 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_qbusiness/__init__.py +2018 -66
- aws_cdk/aws_rds/__init__.py +30 -0
- aws_cdk/aws_resourcegroups/__init__.py +26 -17
- aws_cdk/aws_route53/__init__.py +1177 -10
- aws_cdk/aws_route53_targets/__init__.py +224 -100
- aws_cdk/aws_route53resolver/__init__.py +4 -2
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3express/__init__.py +30 -19
- aws_cdk/aws_sagemaker/__init__.py +783 -9
- 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 +109 -0
- 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 +2698 -232
- aws_cdk/aws_workspacesweb/__init__.py +118 -61
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/RECORD +69 -68
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.172.0.dist-info → aws_cdk_lib-2.173.1.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
|
'''
|
|
@@ -16482,7 +16480,7 @@ class CfnInferenceComponent(
|
|
|
16482
16480
|
number_of_accelerator_devices_required: typing.Optional[jsii.Number] = None,
|
|
16483
16481
|
number_of_cpu_cores_required: typing.Optional[jsii.Number] = None,
|
|
16484
16482
|
) -> None:
|
|
16485
|
-
'''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.
|
|
16486
16484
|
|
|
16487
16485
|
These resources include CPU cores, accelerators, and memory.
|
|
16488
16486
|
|
|
@@ -16806,8 +16804,8 @@ class CfnInferenceComponent(
|
|
|
16806
16804
|
) -> None:
|
|
16807
16805
|
'''Details about the resources to deploy with this inference component, including the model, container, and compute resources.
|
|
16808
16806
|
|
|
16809
|
-
:param base_inference_component_name: The name of the base inference component.
|
|
16810
|
-
:param compute_resource_requirements: The compute resources allocated to run the model
|
|
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.
|
|
16811
16809
|
:param container: Defines a container that provides the runtime environment for a model that you deploy with an inference component.
|
|
16812
16810
|
:param model_name: The name of an existing SageMaker model object in your account that you want to deploy with the inference component.
|
|
16813
16811
|
:param startup_parameters: Settings that take effect while the model container starts up.
|
|
@@ -16869,7 +16867,13 @@ class CfnInferenceComponent(
|
|
|
16869
16867
|
|
|
16870
16868
|
@builtins.property
|
|
16871
16869
|
def base_inference_component_name(self) -> typing.Optional[builtins.str]:
|
|
16872
|
-
'''The name of
|
|
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.
|
|
16873
16877
|
|
|
16874
16878
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentspecification.html#cfn-sagemaker-inferencecomponent-inferencecomponentspecification-baseinferencecomponentname
|
|
16875
16879
|
'''
|
|
@@ -16880,7 +16884,9 @@ class CfnInferenceComponent(
|
|
|
16880
16884
|
def compute_resource_requirements(
|
|
16881
16885
|
self,
|
|
16882
16886
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInferenceComponent.InferenceComponentComputeResourceRequirementsProperty"]]:
|
|
16883
|
-
'''The compute resources allocated to run the model
|
|
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.
|
|
16884
16890
|
|
|
16885
16891
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentspecification.html#cfn-sagemaker-inferencecomponent-inferencecomponentspecification-computeresourcerequirements
|
|
16886
16892
|
'''
|
|
@@ -41333,6 +41339,651 @@ class CfnNotebookInstanceProps:
|
|
|
41333
41339
|
)
|
|
41334
41340
|
|
|
41335
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
|
+
|
|
41336
41987
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
41337
41988
|
class CfnPipeline(
|
|
41338
41989
|
_CfnResource_9df397a6,
|
|
@@ -48116,6 +48767,8 @@ __all__ = [
|
|
|
48116
48767
|
"CfnNotebookInstanceLifecycleConfig",
|
|
48117
48768
|
"CfnNotebookInstanceLifecycleConfigProps",
|
|
48118
48769
|
"CfnNotebookInstanceProps",
|
|
48770
|
+
"CfnPartnerApp",
|
|
48771
|
+
"CfnPartnerAppProps",
|
|
48119
48772
|
"CfnPipeline",
|
|
48120
48773
|
"CfnPipelineProps",
|
|
48121
48774
|
"CfnProject",
|
|
@@ -52896,6 +53549,127 @@ def _typecheckingstub__fb4d5452fe3cd0d1665a3889149bbc6d104f132cfd2cfa196a6d745e8
|
|
|
52896
53549
|
"""Type checking stubs"""
|
|
52897
53550
|
pass
|
|
52898
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
|
+
|
|
52899
53673
|
def _typecheckingstub__1ad401effd23b8166514a4ae8c124006c7f366e8a04330e88afe117ee38dc759(
|
|
52900
53674
|
scope: _constructs_77d1e7e8.Construct,
|
|
52901
53675
|
id: builtins.str,
|