aws-cdk-lib 2.211.0__py3-none-any.whl → 2.212.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 +398 -43
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.211.0.jsii.tgz → aws-cdk-lib@2.212.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +2 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
- aws_cdk/aws_appintegrations/__init__.py +395 -0
- aws_cdk/aws_arcregionswitch/__init__.py +118 -0
- aws_cdk/aws_batch/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +18 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -3
- aws_cdk/aws_cloudfront/__init__.py +19 -0
- aws_cdk/aws_codebuild/__init__.py +122 -0
- aws_cdk/aws_codepipeline/__init__.py +51 -50
- aws_cdk/aws_connect/__init__.py +40 -15
- aws_cdk/aws_deadline/__init__.py +16 -5
- aws_cdk/aws_dynamodb/__init__.py +86 -16
- aws_cdk/aws_ec2/__init__.py +266 -55
- aws_cdk/aws_ecs/__init__.py +7 -9
- aws_cdk/aws_eks/__init__.py +6 -4
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_gameliftstreams/__init__.py +7 -6
- aws_cdk/aws_glue/__init__.py +18 -9
- aws_cdk/aws_guardduty/__init__.py +1233 -113
- aws_cdk/aws_imagebuilder/__init__.py +34 -20
- aws_cdk/aws_inspectorv2/__init__.py +1516 -0
- aws_cdk/aws_ivs/__init__.py +1 -1
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +6 -6
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +128 -0
- aws_cdk/aws_pcs/__init__.py +16 -8
- aws_cdk/aws_quicksight/__init__.py +81 -83
- aws_cdk/aws_rds/__init__.py +31 -163
- aws_cdk/aws_s3express/__init__.py +7 -3
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +62 -20
- aws_cdk/aws_sqs/__init__.py +4 -3
- aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
- aws_cdk/aws_synthetics/__init__.py +116 -0
- aws_cdk/cx_api/__init__.py +22 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/METADATA +329 -9
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/RECORD +46 -46
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/top_level.txt +0 -0
|
@@ -6451,11 +6451,11 @@ class CfnWebhook(
|
|
|
6451
6451
|
)],
|
|
6452
6452
|
target_action="targetAction",
|
|
6453
6453
|
target_pipeline="targetPipeline",
|
|
6454
|
-
target_pipeline_version=123,
|
|
6455
6454
|
|
|
6456
6455
|
# the properties below are optional
|
|
6457
6456
|
name="name",
|
|
6458
|
-
register_with_third_party=False
|
|
6457
|
+
register_with_third_party=False,
|
|
6458
|
+
target_pipeline_version=123
|
|
6459
6459
|
)
|
|
6460
6460
|
'''
|
|
6461
6461
|
|
|
@@ -6469,9 +6469,9 @@ class CfnWebhook(
|
|
|
6469
6469
|
filters: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWebhook.WebhookFilterRuleProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
6470
6470
|
target_action: builtins.str,
|
|
6471
6471
|
target_pipeline: builtins.str,
|
|
6472
|
-
target_pipeline_version: jsii.Number,
|
|
6473
6472
|
name: typing.Optional[builtins.str] = None,
|
|
6474
6473
|
register_with_third_party: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6474
|
+
target_pipeline_version: typing.Optional[jsii.Number] = None,
|
|
6475
6475
|
) -> None:
|
|
6476
6476
|
'''
|
|
6477
6477
|
:param scope: Scope in which this resource is defined.
|
|
@@ -6481,9 +6481,9 @@ class CfnWebhook(
|
|
|
6481
6481
|
:param filters: A list of rules applied to the body/payload sent in the POST request to a webhook URL. All defined rules must pass for the request to be accepted and the pipeline started.
|
|
6482
6482
|
:param target_action: The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
|
|
6483
6483
|
:param target_pipeline: The name of the pipeline you want to connect to the webhook.
|
|
6484
|
-
:param target_pipeline_version: The version number of the pipeline to be connected to the trigger request. Required: Yes Type: Integer Update requires: `No interruption <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt>`_
|
|
6485
6484
|
:param name: The name of the webhook.
|
|
6486
6485
|
:param register_with_third_party: Configures a connection between the webhook that was created and the external tool with events to be detected.
|
|
6486
|
+
:param target_pipeline_version: The version number of the pipeline to be connected to the trigger request. Required: Yes Type: Integer Update requires: `No interruption <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt>`_
|
|
6487
6487
|
'''
|
|
6488
6488
|
if __debug__:
|
|
6489
6489
|
type_hints = typing.get_type_hints(_typecheckingstub__bf02f564438140d92570cd41d3abeeb991e242929571b6de0035b8a8b4ecff55)
|
|
@@ -6495,9 +6495,9 @@ class CfnWebhook(
|
|
|
6495
6495
|
filters=filters,
|
|
6496
6496
|
target_action=target_action,
|
|
6497
6497
|
target_pipeline=target_pipeline,
|
|
6498
|
-
target_pipeline_version=target_pipeline_version,
|
|
6499
6498
|
name=name,
|
|
6500
6499
|
register_with_third_party=register_with_third_party,
|
|
6500
|
+
target_pipeline_version=target_pipeline_version,
|
|
6501
6501
|
)
|
|
6502
6502
|
|
|
6503
6503
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -6535,7 +6535,8 @@ class CfnWebhook(
|
|
|
6535
6535
|
@builtins.property
|
|
6536
6536
|
@jsii.member(jsii_name="attrId")
|
|
6537
6537
|
def attr_id(self) -> builtins.str:
|
|
6538
|
-
'''
|
|
6538
|
+
'''logical id of the webhook.
|
|
6539
|
+
|
|
6539
6540
|
:cloudformationAttribute: Id
|
|
6540
6541
|
'''
|
|
6541
6542
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -6629,19 +6630,6 @@ class CfnWebhook(
|
|
|
6629
6630
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6630
6631
|
jsii.set(self, "targetPipeline", value) # pyright: ignore[reportArgumentType]
|
|
6631
6632
|
|
|
6632
|
-
@builtins.property
|
|
6633
|
-
@jsii.member(jsii_name="targetPipelineVersion")
|
|
6634
|
-
def target_pipeline_version(self) -> jsii.Number:
|
|
6635
|
-
'''The version number of the pipeline to be connected to the trigger request.'''
|
|
6636
|
-
return typing.cast(jsii.Number, jsii.get(self, "targetPipelineVersion"))
|
|
6637
|
-
|
|
6638
|
-
@target_pipeline_version.setter
|
|
6639
|
-
def target_pipeline_version(self, value: jsii.Number) -> None:
|
|
6640
|
-
if __debug__:
|
|
6641
|
-
type_hints = typing.get_type_hints(_typecheckingstub__1b5cd8d4c4d8034c3ab1dd1b987c191aa6f08532707cff99ad05b96198aff585)
|
|
6642
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6643
|
-
jsii.set(self, "targetPipelineVersion", value) # pyright: ignore[reportArgumentType]
|
|
6644
|
-
|
|
6645
6633
|
@builtins.property
|
|
6646
6634
|
@jsii.member(jsii_name="name")
|
|
6647
6635
|
def name(self) -> typing.Optional[builtins.str]:
|
|
@@ -6673,6 +6661,19 @@ class CfnWebhook(
|
|
|
6673
6661
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6674
6662
|
jsii.set(self, "registerWithThirdParty", value) # pyright: ignore[reportArgumentType]
|
|
6675
6663
|
|
|
6664
|
+
@builtins.property
|
|
6665
|
+
@jsii.member(jsii_name="targetPipelineVersion")
|
|
6666
|
+
def target_pipeline_version(self) -> typing.Optional[jsii.Number]:
|
|
6667
|
+
'''The version number of the pipeline to be connected to the trigger request.'''
|
|
6668
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "targetPipelineVersion"))
|
|
6669
|
+
|
|
6670
|
+
@target_pipeline_version.setter
|
|
6671
|
+
def target_pipeline_version(self, value: typing.Optional[jsii.Number]) -> None:
|
|
6672
|
+
if __debug__:
|
|
6673
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1b5cd8d4c4d8034c3ab1dd1b987c191aa6f08532707cff99ad05b96198aff585)
|
|
6674
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6675
|
+
jsii.set(self, "targetPipelineVersion", value) # pyright: ignore[reportArgumentType]
|
|
6676
|
+
|
|
6676
6677
|
@jsii.data_type(
|
|
6677
6678
|
jsii_type="aws-cdk-lib.aws_codepipeline.CfnWebhook.WebhookAuthConfigurationProperty",
|
|
6678
6679
|
jsii_struct_bases=[],
|
|
@@ -6839,9 +6840,9 @@ class CfnWebhook(
|
|
|
6839
6840
|
"filters": "filters",
|
|
6840
6841
|
"target_action": "targetAction",
|
|
6841
6842
|
"target_pipeline": "targetPipeline",
|
|
6842
|
-
"target_pipeline_version": "targetPipelineVersion",
|
|
6843
6843
|
"name": "name",
|
|
6844
6844
|
"register_with_third_party": "registerWithThirdParty",
|
|
6845
|
+
"target_pipeline_version": "targetPipelineVersion",
|
|
6845
6846
|
},
|
|
6846
6847
|
)
|
|
6847
6848
|
class CfnWebhookProps:
|
|
@@ -6853,9 +6854,9 @@ class CfnWebhookProps:
|
|
|
6853
6854
|
filters: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebhook.WebhookFilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
6854
6855
|
target_action: builtins.str,
|
|
6855
6856
|
target_pipeline: builtins.str,
|
|
6856
|
-
target_pipeline_version: jsii.Number,
|
|
6857
6857
|
name: typing.Optional[builtins.str] = None,
|
|
6858
6858
|
register_with_third_party: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6859
|
+
target_pipeline_version: typing.Optional[jsii.Number] = None,
|
|
6859
6860
|
) -> None:
|
|
6860
6861
|
'''Properties for defining a ``CfnWebhook``.
|
|
6861
6862
|
|
|
@@ -6864,9 +6865,9 @@ class CfnWebhookProps:
|
|
|
6864
6865
|
:param filters: A list of rules applied to the body/payload sent in the POST request to a webhook URL. All defined rules must pass for the request to be accepted and the pipeline started.
|
|
6865
6866
|
:param target_action: The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
|
|
6866
6867
|
:param target_pipeline: The name of the pipeline you want to connect to the webhook.
|
|
6867
|
-
:param target_pipeline_version: The version number of the pipeline to be connected to the trigger request. Required: Yes Type: Integer Update requires: `No interruption <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt>`_
|
|
6868
6868
|
:param name: The name of the webhook.
|
|
6869
6869
|
:param register_with_third_party: Configures a connection between the webhook that was created and the external tool with events to be detected.
|
|
6870
|
+
:param target_pipeline_version: The version number of the pipeline to be connected to the trigger request. Required: Yes Type: Integer Update requires: `No interruption <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt>`_
|
|
6870
6871
|
|
|
6871
6872
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html
|
|
6872
6873
|
:exampleMetadata: fixture=_generated
|
|
@@ -6891,11 +6892,11 @@ class CfnWebhookProps:
|
|
|
6891
6892
|
)],
|
|
6892
6893
|
target_action="targetAction",
|
|
6893
6894
|
target_pipeline="targetPipeline",
|
|
6894
|
-
target_pipeline_version=123,
|
|
6895
6895
|
|
|
6896
6896
|
# the properties below are optional
|
|
6897
6897
|
name="name",
|
|
6898
|
-
register_with_third_party=False
|
|
6898
|
+
register_with_third_party=False,
|
|
6899
|
+
target_pipeline_version=123
|
|
6899
6900
|
)
|
|
6900
6901
|
'''
|
|
6901
6902
|
if __debug__:
|
|
@@ -6905,21 +6906,22 @@ class CfnWebhookProps:
|
|
|
6905
6906
|
check_type(argname="argument filters", value=filters, expected_type=type_hints["filters"])
|
|
6906
6907
|
check_type(argname="argument target_action", value=target_action, expected_type=type_hints["target_action"])
|
|
6907
6908
|
check_type(argname="argument target_pipeline", value=target_pipeline, expected_type=type_hints["target_pipeline"])
|
|
6908
|
-
check_type(argname="argument target_pipeline_version", value=target_pipeline_version, expected_type=type_hints["target_pipeline_version"])
|
|
6909
6909
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
6910
6910
|
check_type(argname="argument register_with_third_party", value=register_with_third_party, expected_type=type_hints["register_with_third_party"])
|
|
6911
|
+
check_type(argname="argument target_pipeline_version", value=target_pipeline_version, expected_type=type_hints["target_pipeline_version"])
|
|
6911
6912
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6912
6913
|
"authentication": authentication,
|
|
6913
6914
|
"authentication_configuration": authentication_configuration,
|
|
6914
6915
|
"filters": filters,
|
|
6915
6916
|
"target_action": target_action,
|
|
6916
6917
|
"target_pipeline": target_pipeline,
|
|
6917
|
-
"target_pipeline_version": target_pipeline_version,
|
|
6918
6918
|
}
|
|
6919
6919
|
if name is not None:
|
|
6920
6920
|
self._values["name"] = name
|
|
6921
6921
|
if register_with_third_party is not None:
|
|
6922
6922
|
self._values["register_with_third_party"] = register_with_third_party
|
|
6923
|
+
if target_pipeline_version is not None:
|
|
6924
|
+
self._values["target_pipeline_version"] = target_pipeline_version
|
|
6923
6925
|
|
|
6924
6926
|
@builtins.property
|
|
6925
6927
|
def authentication(self) -> builtins.str:
|
|
@@ -6989,22 +6991,6 @@ class CfnWebhookProps:
|
|
|
6989
6991
|
assert result is not None, "Required property 'target_pipeline' is missing"
|
|
6990
6992
|
return typing.cast(builtins.str, result)
|
|
6991
6993
|
|
|
6992
|
-
@builtins.property
|
|
6993
|
-
def target_pipeline_version(self) -> jsii.Number:
|
|
6994
|
-
'''The version number of the pipeline to be connected to the trigger request.
|
|
6995
|
-
|
|
6996
|
-
Required: Yes
|
|
6997
|
-
|
|
6998
|
-
Type: Integer
|
|
6999
|
-
|
|
7000
|
-
Update requires: `No interruption <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt>`_
|
|
7001
|
-
|
|
7002
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-targetpipelineversion
|
|
7003
|
-
'''
|
|
7004
|
-
result = self._values.get("target_pipeline_version")
|
|
7005
|
-
assert result is not None, "Required property 'target_pipeline_version' is missing"
|
|
7006
|
-
return typing.cast(jsii.Number, result)
|
|
7007
|
-
|
|
7008
6994
|
@builtins.property
|
|
7009
6995
|
def name(self) -> typing.Optional[builtins.str]:
|
|
7010
6996
|
'''The name of the webhook.
|
|
@@ -7025,6 +7011,21 @@ class CfnWebhookProps:
|
|
|
7025
7011
|
result = self._values.get("register_with_third_party")
|
|
7026
7012
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
7027
7013
|
|
|
7014
|
+
@builtins.property
|
|
7015
|
+
def target_pipeline_version(self) -> typing.Optional[jsii.Number]:
|
|
7016
|
+
'''The version number of the pipeline to be connected to the trigger request.
|
|
7017
|
+
|
|
7018
|
+
Required: Yes
|
|
7019
|
+
|
|
7020
|
+
Type: Integer
|
|
7021
|
+
|
|
7022
|
+
Update requires: `No interruption <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt>`_
|
|
7023
|
+
|
|
7024
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-targetpipelineversion
|
|
7025
|
+
'''
|
|
7026
|
+
result = self._values.get("target_pipeline_version")
|
|
7027
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
7028
|
+
|
|
7028
7029
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7029
7030
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7030
7031
|
|
|
@@ -12536,9 +12537,9 @@ def _typecheckingstub__bf02f564438140d92570cd41d3abeeb991e242929571b6de0035b8a8b
|
|
|
12536
12537
|
filters: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebhook.WebhookFilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
12537
12538
|
target_action: builtins.str,
|
|
12538
12539
|
target_pipeline: builtins.str,
|
|
12539
|
-
target_pipeline_version: jsii.Number,
|
|
12540
12540
|
name: typing.Optional[builtins.str] = None,
|
|
12541
12541
|
register_with_third_party: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
12542
|
+
target_pipeline_version: typing.Optional[jsii.Number] = None,
|
|
12542
12543
|
) -> None:
|
|
12543
12544
|
"""Type checking stubs"""
|
|
12544
12545
|
pass
|
|
@@ -12585,12 +12586,6 @@ def _typecheckingstub__7689c33ff229cf9ddb20032bde1e437145c826878f8c3c870467422b2
|
|
|
12585
12586
|
"""Type checking stubs"""
|
|
12586
12587
|
pass
|
|
12587
12588
|
|
|
12588
|
-
def _typecheckingstub__1b5cd8d4c4d8034c3ab1dd1b987c191aa6f08532707cff99ad05b96198aff585(
|
|
12589
|
-
value: jsii.Number,
|
|
12590
|
-
) -> None:
|
|
12591
|
-
"""Type checking stubs"""
|
|
12592
|
-
pass
|
|
12593
|
-
|
|
12594
12589
|
def _typecheckingstub__02d5d087cd1b518d8897dbfb653d0edc5b158629e5fb93ddfa71e79b970371d6(
|
|
12595
12590
|
value: typing.Optional[builtins.str],
|
|
12596
12591
|
) -> None:
|
|
@@ -12603,6 +12598,12 @@ def _typecheckingstub__bece180dca3b968274dbd53d569afb60e6d46b7d744e84c8607ca6beb
|
|
|
12603
12598
|
"""Type checking stubs"""
|
|
12604
12599
|
pass
|
|
12605
12600
|
|
|
12601
|
+
def _typecheckingstub__1b5cd8d4c4d8034c3ab1dd1b987c191aa6f08532707cff99ad05b96198aff585(
|
|
12602
|
+
value: typing.Optional[jsii.Number],
|
|
12603
|
+
) -> None:
|
|
12604
|
+
"""Type checking stubs"""
|
|
12605
|
+
pass
|
|
12606
|
+
|
|
12606
12607
|
def _typecheckingstub__a1f94b3e315b456165a38ed09c4221466ed997fe963ce16cae9474a0dfbfc787(
|
|
12607
12608
|
*,
|
|
12608
12609
|
allowed_ip_range: typing.Optional[builtins.str] = None,
|
|
@@ -12626,9 +12627,9 @@ def _typecheckingstub__f28117e3c74b6a7a1058236385a59385f8137a16e17eeab89a327270a
|
|
|
12626
12627
|
filters: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebhook.WebhookFilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
12627
12628
|
target_action: builtins.str,
|
|
12628
12629
|
target_pipeline: builtins.str,
|
|
12629
|
-
target_pipeline_version: jsii.Number,
|
|
12630
12630
|
name: typing.Optional[builtins.str] = None,
|
|
12631
12631
|
register_with_third_party: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
12632
|
+
target_pipeline_version: typing.Optional[jsii.Number] = None,
|
|
12632
12633
|
) -> None:
|
|
12633
12634
|
"""Type checking stubs"""
|
|
12634
12635
|
pass
|
aws_cdk/aws_connect/__init__.py
CHANGED
|
@@ -7356,6 +7356,8 @@ class CfnPredefinedAttribute(
|
|
|
7356
7356
|
cfn_predefined_attribute = connect.CfnPredefinedAttribute(self, "MyCfnPredefinedAttribute",
|
|
7357
7357
|
instance_arn="instanceArn",
|
|
7358
7358
|
name="name",
|
|
7359
|
+
|
|
7360
|
+
# the properties below are optional
|
|
7359
7361
|
values=connect.CfnPredefinedAttribute.ValuesProperty(
|
|
7360
7362
|
string_list=["stringList"]
|
|
7361
7363
|
)
|
|
@@ -7369,7 +7371,7 @@ class CfnPredefinedAttribute(
|
|
|
7369
7371
|
*,
|
|
7370
7372
|
instance_arn: builtins.str,
|
|
7371
7373
|
name: builtins.str,
|
|
7372
|
-
values: typing.Union[_IResolvable_da3f097b, typing.Union["CfnPredefinedAttribute.ValuesProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
7374
|
+
values: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPredefinedAttribute.ValuesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7373
7375
|
) -> None:
|
|
7374
7376
|
'''
|
|
7375
7377
|
:param scope: Scope in which this resource is defined.
|
|
@@ -7471,14 +7473,14 @@ class CfnPredefinedAttribute(
|
|
|
7471
7473
|
@jsii.member(jsii_name="values")
|
|
7472
7474
|
def values(
|
|
7473
7475
|
self,
|
|
7474
|
-
) -> typing.Union[_IResolvable_da3f097b, "CfnPredefinedAttribute.ValuesProperty"]:
|
|
7476
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPredefinedAttribute.ValuesProperty"]]:
|
|
7475
7477
|
'''The values of a predefined attribute.'''
|
|
7476
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnPredefinedAttribute.ValuesProperty"], jsii.get(self, "values"))
|
|
7478
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPredefinedAttribute.ValuesProperty"]], jsii.get(self, "values"))
|
|
7477
7479
|
|
|
7478
7480
|
@values.setter
|
|
7479
7481
|
def values(
|
|
7480
7482
|
self,
|
|
7481
|
-
value: typing.Union[_IResolvable_da3f097b, "CfnPredefinedAttribute.ValuesProperty"],
|
|
7483
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPredefinedAttribute.ValuesProperty"]],
|
|
7482
7484
|
) -> None:
|
|
7483
7485
|
if __debug__:
|
|
7484
7486
|
type_hints = typing.get_type_hints(_typecheckingstub__08003c8bd2407db8849ebc9b0c31a79805d1a0f97f0579e4ac977dfa6a2fd356)
|
|
@@ -7552,7 +7554,7 @@ class CfnPredefinedAttributeProps:
|
|
|
7552
7554
|
*,
|
|
7553
7555
|
instance_arn: builtins.str,
|
|
7554
7556
|
name: builtins.str,
|
|
7555
|
-
values: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPredefinedAttribute.ValuesProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
7557
|
+
values: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPredefinedAttribute.ValuesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7556
7558
|
) -> None:
|
|
7557
7559
|
'''Properties for defining a ``CfnPredefinedAttribute``.
|
|
7558
7560
|
|
|
@@ -7572,6 +7574,8 @@ class CfnPredefinedAttributeProps:
|
|
|
7572
7574
|
cfn_predefined_attribute_props = connect.CfnPredefinedAttributeProps(
|
|
7573
7575
|
instance_arn="instanceArn",
|
|
7574
7576
|
name="name",
|
|
7577
|
+
|
|
7578
|
+
# the properties below are optional
|
|
7575
7579
|
values=connect.CfnPredefinedAttribute.ValuesProperty(
|
|
7576
7580
|
string_list=["stringList"]
|
|
7577
7581
|
)
|
|
@@ -7585,8 +7589,9 @@ class CfnPredefinedAttributeProps:
|
|
|
7585
7589
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
7586
7590
|
"instance_arn": instance_arn,
|
|
7587
7591
|
"name": name,
|
|
7588
|
-
"values": values,
|
|
7589
7592
|
}
|
|
7593
|
+
if values is not None:
|
|
7594
|
+
self._values["values"] = values
|
|
7590
7595
|
|
|
7591
7596
|
@builtins.property
|
|
7592
7597
|
def instance_arn(self) -> builtins.str:
|
|
@@ -7611,14 +7616,13 @@ class CfnPredefinedAttributeProps:
|
|
|
7611
7616
|
@builtins.property
|
|
7612
7617
|
def values(
|
|
7613
7618
|
self,
|
|
7614
|
-
) -> typing.Union[_IResolvable_da3f097b, CfnPredefinedAttribute.ValuesProperty]:
|
|
7619
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPredefinedAttribute.ValuesProperty]]:
|
|
7615
7620
|
'''The values of a predefined attribute.
|
|
7616
7621
|
|
|
7617
7622
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-predefinedattribute.html#cfn-connect-predefinedattribute-values
|
|
7618
7623
|
'''
|
|
7619
7624
|
result = self._values.get("values")
|
|
7620
|
-
|
|
7621
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnPredefinedAttribute.ValuesProperty], result)
|
|
7625
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPredefinedAttribute.ValuesProperty]], result)
|
|
7622
7626
|
|
|
7623
7627
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7624
7628
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -14001,7 +14005,8 @@ class CfnUser(
|
|
|
14001
14005
|
# the properties below are optional
|
|
14002
14006
|
after_contact_work_time_limit=123,
|
|
14003
14007
|
auto_accept=False,
|
|
14004
|
-
desk_phone_number="deskPhoneNumber"
|
|
14008
|
+
desk_phone_number="deskPhoneNumber",
|
|
14009
|
+
persistent_connection=False
|
|
14005
14010
|
),
|
|
14006
14011
|
routing_profile_arn="routingProfileArn",
|
|
14007
14012
|
security_profile_arns=["securityProfileArns"],
|
|
@@ -14433,6 +14438,7 @@ class CfnUser(
|
|
|
14433
14438
|
"after_contact_work_time_limit": "afterContactWorkTimeLimit",
|
|
14434
14439
|
"auto_accept": "autoAccept",
|
|
14435
14440
|
"desk_phone_number": "deskPhoneNumber",
|
|
14441
|
+
"persistent_connection": "persistentConnection",
|
|
14436
14442
|
},
|
|
14437
14443
|
)
|
|
14438
14444
|
class UserPhoneConfigProperty:
|
|
@@ -14443,6 +14449,7 @@ class CfnUser(
|
|
|
14443
14449
|
after_contact_work_time_limit: typing.Optional[jsii.Number] = None,
|
|
14444
14450
|
auto_accept: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
14445
14451
|
desk_phone_number: typing.Optional[builtins.str] = None,
|
|
14452
|
+
persistent_connection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
14446
14453
|
) -> None:
|
|
14447
14454
|
'''Contains information about the phone configuration settings for a user.
|
|
14448
14455
|
|
|
@@ -14450,6 +14457,7 @@ class CfnUser(
|
|
|
14450
14457
|
:param after_contact_work_time_limit: The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW. .. epigraph:: When returned by a ``SearchUsers`` call, ``AfterContactWorkTimeLimit`` is returned in milliseconds.
|
|
14451
14458
|
:param auto_accept: The Auto accept setting.
|
|
14452
14459
|
:param desk_phone_number: The phone number for the user's desk phone.
|
|
14460
|
+
:param persistent_connection: The Persistent Connection setting.
|
|
14453
14461
|
|
|
14454
14462
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html
|
|
14455
14463
|
:exampleMetadata: fixture=_generated
|
|
@@ -14466,7 +14474,8 @@ class CfnUser(
|
|
|
14466
14474
|
# the properties below are optional
|
|
14467
14475
|
after_contact_work_time_limit=123,
|
|
14468
14476
|
auto_accept=False,
|
|
14469
|
-
desk_phone_number="deskPhoneNumber"
|
|
14477
|
+
desk_phone_number="deskPhoneNumber",
|
|
14478
|
+
persistent_connection=False
|
|
14470
14479
|
)
|
|
14471
14480
|
'''
|
|
14472
14481
|
if __debug__:
|
|
@@ -14475,6 +14484,7 @@ class CfnUser(
|
|
|
14475
14484
|
check_type(argname="argument after_contact_work_time_limit", value=after_contact_work_time_limit, expected_type=type_hints["after_contact_work_time_limit"])
|
|
14476
14485
|
check_type(argname="argument auto_accept", value=auto_accept, expected_type=type_hints["auto_accept"])
|
|
14477
14486
|
check_type(argname="argument desk_phone_number", value=desk_phone_number, expected_type=type_hints["desk_phone_number"])
|
|
14487
|
+
check_type(argname="argument persistent_connection", value=persistent_connection, expected_type=type_hints["persistent_connection"])
|
|
14478
14488
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
14479
14489
|
"phone_type": phone_type,
|
|
14480
14490
|
}
|
|
@@ -14484,6 +14494,8 @@ class CfnUser(
|
|
|
14484
14494
|
self._values["auto_accept"] = auto_accept
|
|
14485
14495
|
if desk_phone_number is not None:
|
|
14486
14496
|
self._values["desk_phone_number"] = desk_phone_number
|
|
14497
|
+
if persistent_connection is not None:
|
|
14498
|
+
self._values["persistent_connection"] = persistent_connection
|
|
14487
14499
|
|
|
14488
14500
|
@builtins.property
|
|
14489
14501
|
def phone_type(self) -> builtins.str:
|
|
@@ -14529,6 +14541,17 @@ class CfnUser(
|
|
|
14529
14541
|
result = self._values.get("desk_phone_number")
|
|
14530
14542
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
14531
14543
|
|
|
14544
|
+
@builtins.property
|
|
14545
|
+
def persistent_connection(
|
|
14546
|
+
self,
|
|
14547
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
14548
|
+
'''The Persistent Connection setting.
|
|
14549
|
+
|
|
14550
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html#cfn-connect-user-userphoneconfig-persistentconnection
|
|
14551
|
+
'''
|
|
14552
|
+
result = self._values.get("persistent_connection")
|
|
14553
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
14554
|
+
|
|
14532
14555
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
14533
14556
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
14534
14557
|
|
|
@@ -15883,7 +15906,8 @@ class CfnUserProps:
|
|
|
15883
15906
|
# the properties below are optional
|
|
15884
15907
|
after_contact_work_time_limit=123,
|
|
15885
15908
|
auto_accept=False,
|
|
15886
|
-
desk_phone_number="deskPhoneNumber"
|
|
15909
|
+
desk_phone_number="deskPhoneNumber",
|
|
15910
|
+
persistent_connection=False
|
|
15887
15911
|
),
|
|
15888
15912
|
routing_profile_arn="routingProfileArn",
|
|
15889
15913
|
security_profile_arns=["securityProfileArns"],
|
|
@@ -17836,7 +17860,7 @@ def _typecheckingstub__aae8251f3c38f12791d918a121eabea35a0fd76a17fe96a45e59fab89
|
|
|
17836
17860
|
*,
|
|
17837
17861
|
instance_arn: builtins.str,
|
|
17838
17862
|
name: builtins.str,
|
|
17839
|
-
values: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPredefinedAttribute.ValuesProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
17863
|
+
values: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPredefinedAttribute.ValuesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17840
17864
|
) -> None:
|
|
17841
17865
|
"""Type checking stubs"""
|
|
17842
17866
|
pass
|
|
@@ -17866,7 +17890,7 @@ def _typecheckingstub__505c1fe18f355a3c8343fc74e29b578ea13ba483aa5951da1f12eba81
|
|
|
17866
17890
|
pass
|
|
17867
17891
|
|
|
17868
17892
|
def _typecheckingstub__08003c8bd2407db8849ebc9b0c31a79805d1a0f97f0579e4ac977dfa6a2fd356(
|
|
17869
|
-
value: typing.Union[_IResolvable_da3f097b, CfnPredefinedAttribute.ValuesProperty],
|
|
17893
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnPredefinedAttribute.ValuesProperty]],
|
|
17870
17894
|
) -> None:
|
|
17871
17895
|
"""Type checking stubs"""
|
|
17872
17896
|
pass
|
|
@@ -17882,7 +17906,7 @@ def _typecheckingstub__e67db40db23ebfe580f504576f3022c3cb9338c26c6aa02862725f1ec
|
|
|
17882
17906
|
*,
|
|
17883
17907
|
instance_arn: builtins.str,
|
|
17884
17908
|
name: builtins.str,
|
|
17885
|
-
values: typing.Union[_IResolvable_da3f097b, typing.Union[CfnPredefinedAttribute.ValuesProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
17909
|
+
values: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPredefinedAttribute.ValuesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17886
17910
|
) -> None:
|
|
17887
17911
|
"""Type checking stubs"""
|
|
17888
17912
|
pass
|
|
@@ -18982,6 +19006,7 @@ def _typecheckingstub__e774e2d87fa8144ee9994624937d62ce4393d565b8e6982f7d2e1c5bf
|
|
|
18982
19006
|
after_contact_work_time_limit: typing.Optional[jsii.Number] = None,
|
|
18983
19007
|
auto_accept: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
18984
19008
|
desk_phone_number: typing.Optional[builtins.str] = None,
|
|
19009
|
+
persistent_connection: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
18985
19010
|
) -> None:
|
|
18986
19011
|
"""Type checking stubs"""
|
|
18987
19012
|
pass
|
aws_cdk/aws_deadline/__init__.py
CHANGED
|
@@ -646,6 +646,14 @@ class CfnFleet(
|
|
|
646
646
|
'''
|
|
647
647
|
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
648
648
|
|
|
649
|
+
@builtins.property
|
|
650
|
+
@jsii.member(jsii_name="attrStatusMessage")
|
|
651
|
+
def attr_status_message(self) -> builtins.str:
|
|
652
|
+
'''
|
|
653
|
+
:cloudformationAttribute: StatusMessage
|
|
654
|
+
'''
|
|
655
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatusMessage"))
|
|
656
|
+
|
|
649
657
|
@builtins.property
|
|
650
658
|
@jsii.member(jsii_name="attrWorkerCount")
|
|
651
659
|
def attr_worker_count(self) -> jsii.Number:
|
|
@@ -2217,7 +2225,7 @@ class CfnFleet(
|
|
|
2217
2225
|
:param instance_capabilities: The Amazon EC2 instance capabilities.
|
|
2218
2226
|
:param instance_market_options: The Amazon EC2 market type.
|
|
2219
2227
|
:param storage_profile_id: The storage profile ID.
|
|
2220
|
-
:param vpc_configuration:
|
|
2228
|
+
:param vpc_configuration: The VPC configuration details for a service managed Amazon EC2 fleet.
|
|
2221
2229
|
|
|
2222
2230
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html
|
|
2223
2231
|
:exampleMetadata: fixture=_generated
|
|
@@ -2344,7 +2352,8 @@ class CfnFleet(
|
|
|
2344
2352
|
def vpc_configuration(
|
|
2345
2353
|
self,
|
|
2346
2354
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigurationProperty"]]:
|
|
2347
|
-
'''
|
|
2355
|
+
'''The VPC configuration details for a service managed Amazon EC2 fleet.
|
|
2356
|
+
|
|
2348
2357
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html#cfn-deadline-fleet-servicemanagedec2fleetconfiguration-vpcconfiguration
|
|
2349
2358
|
'''
|
|
2350
2359
|
result = self._values.get("vpc_configuration")
|
|
@@ -2751,8 +2760,9 @@ class CfnFleet(
|
|
|
2751
2760
|
*,
|
|
2752
2761
|
resource_configuration_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2753
2762
|
) -> None:
|
|
2754
|
-
'''
|
|
2755
|
-
|
|
2763
|
+
'''The configuration options for a service managed fleet's VPC.
|
|
2764
|
+
|
|
2765
|
+
:param resource_configuration_arns: The ARNs of the VPC Lattice resource configurations attached to the fleet.
|
|
2756
2766
|
|
|
2757
2767
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vpcconfiguration.html
|
|
2758
2768
|
:exampleMetadata: fixture=_generated
|
|
@@ -2778,7 +2788,8 @@ class CfnFleet(
|
|
|
2778
2788
|
def resource_configuration_arns(
|
|
2779
2789
|
self,
|
|
2780
2790
|
) -> typing.Optional[typing.List[builtins.str]]:
|
|
2781
|
-
'''
|
|
2791
|
+
'''The ARNs of the VPC Lattice resource configurations attached to the fleet.
|
|
2792
|
+
|
|
2782
2793
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vpcconfiguration.html#cfn-deadline-fleet-vpcconfiguration-resourceconfigurationarns
|
|
2783
2794
|
'''
|
|
2784
2795
|
result = self._values.get("resource_configuration_arns")
|