aws-cdk-lib 2.115.0__py3-none-any.whl → 2.116.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 +801 -356
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.115.0.jsii.tgz → aws-cdk-lib@2.116.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +3 -1
- aws_cdk/aws_apigatewayv2/__init__.py +595 -222
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +4 -5
- aws_cdk/aws_applicationautoscaling/__init__.py +51 -15
- aws_cdk/aws_appsync/__init__.py +14 -3
- aws_cdk/aws_autoscaling/__init__.py +6 -0
- aws_cdk/aws_b2bi/__init__.py +2445 -0
- aws_cdk/aws_cloud9/__init__.py +63 -63
- aws_cdk/aws_cloudfront/__init__.py +394 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -2
- aws_cdk/aws_cloudtrail/__init__.py +90 -11
- aws_cdk/aws_cloudwatch/__init__.py +6 -6
- aws_cdk/aws_codedeploy/__init__.py +88 -15
- aws_cdk/aws_codepipeline/__init__.py +645 -0
- aws_cdk/aws_cognito/__init__.py +13 -26
- aws_cdk/aws_config/__init__.py +315 -1
- aws_cdk/aws_connect/__init__.py +532 -37
- aws_cdk/aws_controltower/__init__.py +4 -4
- aws_cdk/aws_datasync/__init__.py +6 -4
- aws_cdk/aws_dms/__init__.py +241 -131
- aws_cdk/aws_dynamodb/__init__.py +8 -0
- aws_cdk/aws_ec2/__init__.py +1030 -45
- aws_cdk/aws_ecr/__init__.py +78 -10
- aws_cdk/aws_ecs/__init__.py +210 -2
- aws_cdk/aws_ecs_patterns/__init__.py +77 -62
- aws_cdk/aws_eks/__init__.py +8 -1
- aws_cdk/aws_elasticache/__init__.py +136 -10
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +10 -13
- aws_cdk/aws_emr/__init__.py +234 -17
- aws_cdk/aws_eventschemas/__init__.py +15 -13
- aws_cdk/aws_fis/__init__.py +33 -13
- aws_cdk/aws_gamelift/__init__.py +47 -0
- aws_cdk/aws_imagebuilder/__init__.py +922 -84
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +26 -46
- aws_cdk/aws_iottwinmaker/__init__.py +36 -34
- aws_cdk/aws_lambda/__init__.py +19 -15
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -2
- aws_cdk/aws_logs/__init__.py +6 -6
- aws_cdk/aws_opensearchservice/__init__.py +5 -3
- aws_cdk/aws_organizations/__init__.py +3 -3
- aws_cdk/aws_osis/__init__.py +17 -13
- aws_cdk/aws_rds/__init__.py +6 -0
- aws_cdk/aws_s3/__init__.py +4 -2
- aws_cdk/aws_s3outposts/__init__.py +8 -8
- aws_cdk/aws_sagemaker/__init__.py +17 -94
- aws_cdk/aws_secretsmanager/__init__.py +9 -7
- aws_cdk/aws_securityhub/__init__.py +18 -0
- aws_cdk/aws_servicecatalogappregistry/__init__.py +31 -0
- aws_cdk/aws_ses/__init__.py +58 -11
- aws_cdk/aws_sns/__init__.py +309 -10
- aws_cdk/aws_ssm/__init__.py +3 -5
- aws_cdk/aws_stepfunctions/__init__.py +335 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +388 -38
- aws_cdk/aws_transfer/__init__.py +37 -10
- aws_cdk/custom_resources/__init__.py +443 -1
- aws_cdk/triggers/__init__.py +5 -2
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/RECORD +66 -65
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_connect/__init__.py
CHANGED
|
@@ -3843,7 +3843,7 @@ class CfnInstance(
|
|
|
3843
3843
|
:param identity_management_type: The identity management type.
|
|
3844
3844
|
:param directory_id: The identifier for the directory.
|
|
3845
3845
|
:param instance_alias: The alias of instance. ``InstanceAlias`` is only required when ``IdentityManagementType`` is ``CONNECT_MANAGED`` or ``SAML`` . ``InstanceAlias`` is not required when ``IdentityManagementType`` is ``EXISTING_DIRECTORY`` .
|
|
3846
|
-
:param tags:
|
|
3846
|
+
:param tags: The tags of an instance.
|
|
3847
3847
|
'''
|
|
3848
3848
|
if __debug__:
|
|
3849
3849
|
type_hints = typing.get_type_hints(_typecheckingstub__f291b6bb708a40e1a35dc95de4a38d5f9d8117683bed082183bd387f4848fef9)
|
|
@@ -4001,7 +4001,7 @@ class CfnInstance(
|
|
|
4001
4001
|
@builtins.property
|
|
4002
4002
|
@jsii.member(jsii_name="tags")
|
|
4003
4003
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4004
|
-
'''
|
|
4004
|
+
'''The tags of an instance.'''
|
|
4005
4005
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
4006
4006
|
|
|
4007
4007
|
@tags.setter
|
|
@@ -4207,7 +4207,7 @@ class CfnInstanceProps:
|
|
|
4207
4207
|
:param identity_management_type: The identity management type.
|
|
4208
4208
|
:param directory_id: The identifier for the directory.
|
|
4209
4209
|
:param instance_alias: The alias of instance. ``InstanceAlias`` is only required when ``IdentityManagementType`` is ``CONNECT_MANAGED`` or ``SAML`` . ``InstanceAlias`` is not required when ``IdentityManagementType`` is ``EXISTING_DIRECTORY`` .
|
|
4210
|
-
:param tags:
|
|
4210
|
+
:param tags: The tags of an instance.
|
|
4211
4211
|
|
|
4212
4212
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html
|
|
4213
4213
|
:exampleMetadata: fixture=_generated
|
|
@@ -4303,7 +4303,7 @@ class CfnInstanceProps:
|
|
|
4303
4303
|
|
|
4304
4304
|
@builtins.property
|
|
4305
4305
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4306
|
-
'''
|
|
4306
|
+
'''The tags of an instance.
|
|
4307
4307
|
|
|
4308
4308
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-instance.html#cfn-connect-instance-tags
|
|
4309
4309
|
'''
|
|
@@ -4353,14 +4353,12 @@ class CfnInstanceStorageConfig(
|
|
|
4353
4353
|
stream_arn="streamArn"
|
|
4354
4354
|
),
|
|
4355
4355
|
kinesis_video_stream_config=connect.CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty(
|
|
4356
|
-
prefix="prefix",
|
|
4357
|
-
retention_period_hours=123,
|
|
4358
|
-
|
|
4359
|
-
# the properties below are optional
|
|
4360
4356
|
encryption_config=connect.CfnInstanceStorageConfig.EncryptionConfigProperty(
|
|
4361
4357
|
encryption_type="encryptionType",
|
|
4362
4358
|
key_id="keyId"
|
|
4363
|
-
)
|
|
4359
|
+
),
|
|
4360
|
+
prefix="prefix",
|
|
4361
|
+
retention_period_hours=123
|
|
4364
4362
|
),
|
|
4365
4363
|
s3_config=connect.CfnInstanceStorageConfig.S3ConfigProperty(
|
|
4366
4364
|
bucket_name="bucketName",
|
|
@@ -4755,24 +4753,24 @@ class CfnInstanceStorageConfig(
|
|
|
4755
4753
|
jsii_type="aws-cdk-lib.aws_connect.CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty",
|
|
4756
4754
|
jsii_struct_bases=[],
|
|
4757
4755
|
name_mapping={
|
|
4756
|
+
"encryption_config": "encryptionConfig",
|
|
4758
4757
|
"prefix": "prefix",
|
|
4759
4758
|
"retention_period_hours": "retentionPeriodHours",
|
|
4760
|
-
"encryption_config": "encryptionConfig",
|
|
4761
4759
|
},
|
|
4762
4760
|
)
|
|
4763
4761
|
class KinesisVideoStreamConfigProperty:
|
|
4764
4762
|
def __init__(
|
|
4765
4763
|
self,
|
|
4766
4764
|
*,
|
|
4765
|
+
encryption_config: typing.Union[_IResolvable_da3f097b, typing.Union["CfnInstanceStorageConfig.EncryptionConfigProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4767
4766
|
prefix: builtins.str,
|
|
4768
4767
|
retention_period_hours: jsii.Number,
|
|
4769
|
-
encryption_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnInstanceStorageConfig.EncryptionConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4770
4768
|
) -> None:
|
|
4771
4769
|
'''Configuration information of a Kinesis video stream.
|
|
4772
4770
|
|
|
4771
|
+
:param encryption_config: The encryption configuration.
|
|
4773
4772
|
:param prefix: The prefix of the video stream.
|
|
4774
4773
|
:param retention_period_hours: The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. The default value is 0, indicating that the stream does not persist data.
|
|
4775
|
-
:param encryption_config: The encryption configuration.
|
|
4776
4774
|
|
|
4777
4775
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-kinesisvideostreamconfig.html
|
|
4778
4776
|
:exampleMetadata: fixture=_generated
|
|
@@ -4784,27 +4782,36 @@ class CfnInstanceStorageConfig(
|
|
|
4784
4782
|
from aws_cdk import aws_connect as connect
|
|
4785
4783
|
|
|
4786
4784
|
kinesis_video_stream_config_property = connect.CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty(
|
|
4787
|
-
prefix="prefix",
|
|
4788
|
-
retention_period_hours=123,
|
|
4789
|
-
|
|
4790
|
-
# the properties below are optional
|
|
4791
4785
|
encryption_config=connect.CfnInstanceStorageConfig.EncryptionConfigProperty(
|
|
4792
4786
|
encryption_type="encryptionType",
|
|
4793
4787
|
key_id="keyId"
|
|
4794
|
-
)
|
|
4788
|
+
),
|
|
4789
|
+
prefix="prefix",
|
|
4790
|
+
retention_period_hours=123
|
|
4795
4791
|
)
|
|
4796
4792
|
'''
|
|
4797
4793
|
if __debug__:
|
|
4798
4794
|
type_hints = typing.get_type_hints(_typecheckingstub__52c9485c197abc64e1dbe93a9ffbdf11fda8b3df13bc67381180643da843a5b8)
|
|
4795
|
+
check_type(argname="argument encryption_config", value=encryption_config, expected_type=type_hints["encryption_config"])
|
|
4799
4796
|
check_type(argname="argument prefix", value=prefix, expected_type=type_hints["prefix"])
|
|
4800
4797
|
check_type(argname="argument retention_period_hours", value=retention_period_hours, expected_type=type_hints["retention_period_hours"])
|
|
4801
|
-
check_type(argname="argument encryption_config", value=encryption_config, expected_type=type_hints["encryption_config"])
|
|
4802
4798
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4799
|
+
"encryption_config": encryption_config,
|
|
4803
4800
|
"prefix": prefix,
|
|
4804
4801
|
"retention_period_hours": retention_period_hours,
|
|
4805
4802
|
}
|
|
4806
|
-
|
|
4807
|
-
|
|
4803
|
+
|
|
4804
|
+
@builtins.property
|
|
4805
|
+
def encryption_config(
|
|
4806
|
+
self,
|
|
4807
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnInstanceStorageConfig.EncryptionConfigProperty"]:
|
|
4808
|
+
'''The encryption configuration.
|
|
4809
|
+
|
|
4810
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-kinesisvideostreamconfig.html#cfn-connect-instancestorageconfig-kinesisvideostreamconfig-encryptionconfig
|
|
4811
|
+
'''
|
|
4812
|
+
result = self._values.get("encryption_config")
|
|
4813
|
+
assert result is not None, "Required property 'encryption_config' is missing"
|
|
4814
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnInstanceStorageConfig.EncryptionConfigProperty"], result)
|
|
4808
4815
|
|
|
4809
4816
|
@builtins.property
|
|
4810
4817
|
def prefix(self) -> builtins.str:
|
|
@@ -4830,17 +4837,6 @@ class CfnInstanceStorageConfig(
|
|
|
4830
4837
|
assert result is not None, "Required property 'retention_period_hours' is missing"
|
|
4831
4838
|
return typing.cast(jsii.Number, result)
|
|
4832
4839
|
|
|
4833
|
-
@builtins.property
|
|
4834
|
-
def encryption_config(
|
|
4835
|
-
self,
|
|
4836
|
-
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInstanceStorageConfig.EncryptionConfigProperty"]]:
|
|
4837
|
-
'''The encryption configuration.
|
|
4838
|
-
|
|
4839
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-instancestorageconfig-kinesisvideostreamconfig.html#cfn-connect-instancestorageconfig-kinesisvideostreamconfig-encryptionconfig
|
|
4840
|
-
'''
|
|
4841
|
-
result = self._values.get("encryption_config")
|
|
4842
|
-
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInstanceStorageConfig.EncryptionConfigProperty"]], result)
|
|
4843
|
-
|
|
4844
4840
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4845
4841
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4846
4842
|
|
|
@@ -5007,14 +5003,12 @@ class CfnInstanceStorageConfigProps:
|
|
|
5007
5003
|
stream_arn="streamArn"
|
|
5008
5004
|
),
|
|
5009
5005
|
kinesis_video_stream_config=connect.CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty(
|
|
5010
|
-
prefix="prefix",
|
|
5011
|
-
retention_period_hours=123,
|
|
5012
|
-
|
|
5013
|
-
# the properties below are optional
|
|
5014
5006
|
encryption_config=connect.CfnInstanceStorageConfig.EncryptionConfigProperty(
|
|
5015
5007
|
encryption_type="encryptionType",
|
|
5016
5008
|
key_id="keyId"
|
|
5017
|
-
)
|
|
5009
|
+
),
|
|
5010
|
+
prefix="prefix",
|
|
5011
|
+
retention_period_hours=123
|
|
5018
5012
|
),
|
|
5019
5013
|
s3_config=connect.CfnInstanceStorageConfig.S3ConfigProperty(
|
|
5020
5014
|
bucket_name="bucketName",
|
|
@@ -8081,10 +8075,25 @@ class CfnRule(
|
|
|
8081
8075
|
from aws_cdk import aws_connect as connect
|
|
8082
8076
|
|
|
8083
8077
|
# assign_contact_category_actions: Any
|
|
8078
|
+
# empty_value: Any
|
|
8079
|
+
# end_associated_task_actions: Any
|
|
8084
8080
|
|
|
8085
8081
|
cfn_rule = connect.CfnRule(self, "MyCfnRule",
|
|
8086
8082
|
actions=connect.CfnRule.ActionsProperty(
|
|
8087
8083
|
assign_contact_category_actions=[assign_contact_category_actions],
|
|
8084
|
+
create_case_actions=[connect.CfnRule.CreateCaseActionProperty(
|
|
8085
|
+
fields=[connect.CfnRule.FieldProperty(
|
|
8086
|
+
id="id",
|
|
8087
|
+
value=connect.CfnRule.FieldValueProperty(
|
|
8088
|
+
boolean_value=False,
|
|
8089
|
+
double_value=123,
|
|
8090
|
+
empty_value=empty_value,
|
|
8091
|
+
string_value="stringValue"
|
|
8092
|
+
)
|
|
8093
|
+
)],
|
|
8094
|
+
template_id="templateId"
|
|
8095
|
+
)],
|
|
8096
|
+
end_associated_task_actions=[end_associated_task_actions],
|
|
8088
8097
|
event_bridge_actions=[connect.CfnRule.EventBridgeActionProperty(
|
|
8089
8098
|
name="name"
|
|
8090
8099
|
)],
|
|
@@ -8114,6 +8123,17 @@ class CfnRule(
|
|
|
8114
8123
|
value="value"
|
|
8115
8124
|
)
|
|
8116
8125
|
}
|
|
8126
|
+
)],
|
|
8127
|
+
update_case_actions=[connect.CfnRule.UpdateCaseActionProperty(
|
|
8128
|
+
fields=[connect.CfnRule.FieldProperty(
|
|
8129
|
+
id="id",
|
|
8130
|
+
value=connect.CfnRule.FieldValueProperty(
|
|
8131
|
+
boolean_value=False,
|
|
8132
|
+
double_value=123,
|
|
8133
|
+
empty_value=empty_value,
|
|
8134
|
+
string_value="stringValue"
|
|
8135
|
+
)
|
|
8136
|
+
)]
|
|
8117
8137
|
)]
|
|
8118
8138
|
),
|
|
8119
8139
|
function="function",
|
|
@@ -8329,9 +8349,12 @@ class CfnRule(
|
|
|
8329
8349
|
jsii_struct_bases=[],
|
|
8330
8350
|
name_mapping={
|
|
8331
8351
|
"assign_contact_category_actions": "assignContactCategoryActions",
|
|
8352
|
+
"create_case_actions": "createCaseActions",
|
|
8353
|
+
"end_associated_task_actions": "endAssociatedTaskActions",
|
|
8332
8354
|
"event_bridge_actions": "eventBridgeActions",
|
|
8333
8355
|
"send_notification_actions": "sendNotificationActions",
|
|
8334
8356
|
"task_actions": "taskActions",
|
|
8357
|
+
"update_case_actions": "updateCaseActions",
|
|
8335
8358
|
},
|
|
8336
8359
|
)
|
|
8337
8360
|
class ActionsProperty:
|
|
@@ -8339,16 +8362,22 @@ class CfnRule(
|
|
|
8339
8362
|
self,
|
|
8340
8363
|
*,
|
|
8341
8364
|
assign_contact_category_actions: typing.Optional[typing.Union[typing.Sequence[typing.Any], _IResolvable_da3f097b]] = None,
|
|
8365
|
+
create_case_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.CreateCaseActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8366
|
+
end_associated_task_actions: typing.Optional[typing.Union[typing.Sequence[typing.Any], _IResolvable_da3f097b]] = None,
|
|
8342
8367
|
event_bridge_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.EventBridgeActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8343
8368
|
send_notification_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.SendNotificationActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8344
8369
|
task_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.TaskActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8370
|
+
update_case_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.UpdateCaseActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8345
8371
|
) -> None:
|
|
8346
8372
|
'''A list of actions to be run when the rule is triggered.
|
|
8347
8373
|
|
|
8348
8374
|
:param assign_contact_category_actions: Information about the contact category action. The syntax can be empty, for example, ``{}`` .
|
|
8375
|
+
:param create_case_actions: This action will create a case when a rule is triggered.
|
|
8376
|
+
:param end_associated_task_actions: This action will end associated tasks when a rule is triggered.
|
|
8349
8377
|
:param event_bridge_actions: Information about the EventBridge action.
|
|
8350
8378
|
:param send_notification_actions: Information about the send notification action.
|
|
8351
8379
|
:param task_actions: Information about the task action. This field is required if ``TriggerEventSource`` is one of the following values: ``OnZendeskTicketCreate`` | ``OnZendeskTicketStatusUpdate`` | ``OnSalesforceCaseCreate``
|
|
8380
|
+
:param update_case_actions: This action will update a case when a rule is triggered.
|
|
8352
8381
|
|
|
8353
8382
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html
|
|
8354
8383
|
:exampleMetadata: fixture=_generated
|
|
@@ -8360,9 +8389,24 @@ class CfnRule(
|
|
|
8360
8389
|
from aws_cdk import aws_connect as connect
|
|
8361
8390
|
|
|
8362
8391
|
# assign_contact_category_actions: Any
|
|
8392
|
+
# empty_value: Any
|
|
8393
|
+
# end_associated_task_actions: Any
|
|
8363
8394
|
|
|
8364
8395
|
actions_property = connect.CfnRule.ActionsProperty(
|
|
8365
8396
|
assign_contact_category_actions=[assign_contact_category_actions],
|
|
8397
|
+
create_case_actions=[connect.CfnRule.CreateCaseActionProperty(
|
|
8398
|
+
fields=[connect.CfnRule.FieldProperty(
|
|
8399
|
+
id="id",
|
|
8400
|
+
value=connect.CfnRule.FieldValueProperty(
|
|
8401
|
+
boolean_value=False,
|
|
8402
|
+
double_value=123,
|
|
8403
|
+
empty_value=empty_value,
|
|
8404
|
+
string_value="stringValue"
|
|
8405
|
+
)
|
|
8406
|
+
)],
|
|
8407
|
+
template_id="templateId"
|
|
8408
|
+
)],
|
|
8409
|
+
end_associated_task_actions=[end_associated_task_actions],
|
|
8366
8410
|
event_bridge_actions=[connect.CfnRule.EventBridgeActionProperty(
|
|
8367
8411
|
name="name"
|
|
8368
8412
|
)],
|
|
@@ -8392,24 +8436,44 @@ class CfnRule(
|
|
|
8392
8436
|
value="value"
|
|
8393
8437
|
)
|
|
8394
8438
|
}
|
|
8439
|
+
)],
|
|
8440
|
+
update_case_actions=[connect.CfnRule.UpdateCaseActionProperty(
|
|
8441
|
+
fields=[connect.CfnRule.FieldProperty(
|
|
8442
|
+
id="id",
|
|
8443
|
+
value=connect.CfnRule.FieldValueProperty(
|
|
8444
|
+
boolean_value=False,
|
|
8445
|
+
double_value=123,
|
|
8446
|
+
empty_value=empty_value,
|
|
8447
|
+
string_value="stringValue"
|
|
8448
|
+
)
|
|
8449
|
+
)]
|
|
8395
8450
|
)]
|
|
8396
8451
|
)
|
|
8397
8452
|
'''
|
|
8398
8453
|
if __debug__:
|
|
8399
8454
|
type_hints = typing.get_type_hints(_typecheckingstub__0ef20a75dbfc13161d3fff13ec1c4969adde44c34f62addd27e480514ce92395)
|
|
8400
8455
|
check_type(argname="argument assign_contact_category_actions", value=assign_contact_category_actions, expected_type=type_hints["assign_contact_category_actions"])
|
|
8456
|
+
check_type(argname="argument create_case_actions", value=create_case_actions, expected_type=type_hints["create_case_actions"])
|
|
8457
|
+
check_type(argname="argument end_associated_task_actions", value=end_associated_task_actions, expected_type=type_hints["end_associated_task_actions"])
|
|
8401
8458
|
check_type(argname="argument event_bridge_actions", value=event_bridge_actions, expected_type=type_hints["event_bridge_actions"])
|
|
8402
8459
|
check_type(argname="argument send_notification_actions", value=send_notification_actions, expected_type=type_hints["send_notification_actions"])
|
|
8403
8460
|
check_type(argname="argument task_actions", value=task_actions, expected_type=type_hints["task_actions"])
|
|
8461
|
+
check_type(argname="argument update_case_actions", value=update_case_actions, expected_type=type_hints["update_case_actions"])
|
|
8404
8462
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8405
8463
|
if assign_contact_category_actions is not None:
|
|
8406
8464
|
self._values["assign_contact_category_actions"] = assign_contact_category_actions
|
|
8465
|
+
if create_case_actions is not None:
|
|
8466
|
+
self._values["create_case_actions"] = create_case_actions
|
|
8467
|
+
if end_associated_task_actions is not None:
|
|
8468
|
+
self._values["end_associated_task_actions"] = end_associated_task_actions
|
|
8407
8469
|
if event_bridge_actions is not None:
|
|
8408
8470
|
self._values["event_bridge_actions"] = event_bridge_actions
|
|
8409
8471
|
if send_notification_actions is not None:
|
|
8410
8472
|
self._values["send_notification_actions"] = send_notification_actions
|
|
8411
8473
|
if task_actions is not None:
|
|
8412
8474
|
self._values["task_actions"] = task_actions
|
|
8475
|
+
if update_case_actions is not None:
|
|
8476
|
+
self._values["update_case_actions"] = update_case_actions
|
|
8413
8477
|
|
|
8414
8478
|
@builtins.property
|
|
8415
8479
|
def assign_contact_category_actions(
|
|
@@ -8424,6 +8488,28 @@ class CfnRule(
|
|
|
8424
8488
|
result = self._values.get("assign_contact_category_actions")
|
|
8425
8489
|
return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], _IResolvable_da3f097b]], result)
|
|
8426
8490
|
|
|
8491
|
+
@builtins.property
|
|
8492
|
+
def create_case_actions(
|
|
8493
|
+
self,
|
|
8494
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.CreateCaseActionProperty"]]]]:
|
|
8495
|
+
'''This action will create a case when a rule is triggered.
|
|
8496
|
+
|
|
8497
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-createcaseactions
|
|
8498
|
+
'''
|
|
8499
|
+
result = self._values.get("create_case_actions")
|
|
8500
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.CreateCaseActionProperty"]]]], result)
|
|
8501
|
+
|
|
8502
|
+
@builtins.property
|
|
8503
|
+
def end_associated_task_actions(
|
|
8504
|
+
self,
|
|
8505
|
+
) -> typing.Optional[typing.Union[typing.List[typing.Any], _IResolvable_da3f097b]]:
|
|
8506
|
+
'''This action will end associated tasks when a rule is triggered.
|
|
8507
|
+
|
|
8508
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-endassociatedtaskactions
|
|
8509
|
+
'''
|
|
8510
|
+
result = self._values.get("end_associated_task_actions")
|
|
8511
|
+
return typing.cast(typing.Optional[typing.Union[typing.List[typing.Any], _IResolvable_da3f097b]], result)
|
|
8512
|
+
|
|
8427
8513
|
@builtins.property
|
|
8428
8514
|
def event_bridge_actions(
|
|
8429
8515
|
self,
|
|
@@ -8459,6 +8545,17 @@ class CfnRule(
|
|
|
8459
8545
|
result = self._values.get("task_actions")
|
|
8460
8546
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.TaskActionProperty"]]]], result)
|
|
8461
8547
|
|
|
8548
|
+
@builtins.property
|
|
8549
|
+
def update_case_actions(
|
|
8550
|
+
self,
|
|
8551
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.UpdateCaseActionProperty"]]]]:
|
|
8552
|
+
'''This action will update a case when a rule is triggered.
|
|
8553
|
+
|
|
8554
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-updatecaseactions
|
|
8555
|
+
'''
|
|
8556
|
+
result = self._values.get("update_case_actions")
|
|
8557
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.UpdateCaseActionProperty"]]]], result)
|
|
8558
|
+
|
|
8462
8559
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8463
8560
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8464
8561
|
|
|
@@ -8470,6 +8567,89 @@ class CfnRule(
|
|
|
8470
8567
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
8471
8568
|
)
|
|
8472
8569
|
|
|
8570
|
+
@jsii.data_type(
|
|
8571
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnRule.CreateCaseActionProperty",
|
|
8572
|
+
jsii_struct_bases=[],
|
|
8573
|
+
name_mapping={"fields": "fields", "template_id": "templateId"},
|
|
8574
|
+
)
|
|
8575
|
+
class CreateCaseActionProperty:
|
|
8576
|
+
def __init__(
|
|
8577
|
+
self,
|
|
8578
|
+
*,
|
|
8579
|
+
fields: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.FieldProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
8580
|
+
template_id: builtins.str,
|
|
8581
|
+
) -> None:
|
|
8582
|
+
'''The definition for create case action.
|
|
8583
|
+
|
|
8584
|
+
:param fields: An array of case fields.
|
|
8585
|
+
:param template_id: The Id of template.
|
|
8586
|
+
|
|
8587
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-createcaseaction.html
|
|
8588
|
+
:exampleMetadata: fixture=_generated
|
|
8589
|
+
|
|
8590
|
+
Example::
|
|
8591
|
+
|
|
8592
|
+
# The code below shows an example of how to instantiate this type.
|
|
8593
|
+
# The values are placeholders you should change.
|
|
8594
|
+
from aws_cdk import aws_connect as connect
|
|
8595
|
+
|
|
8596
|
+
# empty_value: Any
|
|
8597
|
+
|
|
8598
|
+
create_case_action_property = connect.CfnRule.CreateCaseActionProperty(
|
|
8599
|
+
fields=[connect.CfnRule.FieldProperty(
|
|
8600
|
+
id="id",
|
|
8601
|
+
value=connect.CfnRule.FieldValueProperty(
|
|
8602
|
+
boolean_value=False,
|
|
8603
|
+
double_value=123,
|
|
8604
|
+
empty_value=empty_value,
|
|
8605
|
+
string_value="stringValue"
|
|
8606
|
+
)
|
|
8607
|
+
)],
|
|
8608
|
+
template_id="templateId"
|
|
8609
|
+
)
|
|
8610
|
+
'''
|
|
8611
|
+
if __debug__:
|
|
8612
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ab1813f0f35711195f55dc6283bd2d1a984f7c2f7e37efe287a6d2d847cd6d86)
|
|
8613
|
+
check_type(argname="argument fields", value=fields, expected_type=type_hints["fields"])
|
|
8614
|
+
check_type(argname="argument template_id", value=template_id, expected_type=type_hints["template_id"])
|
|
8615
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8616
|
+
"fields": fields,
|
|
8617
|
+
"template_id": template_id,
|
|
8618
|
+
}
|
|
8619
|
+
|
|
8620
|
+
@builtins.property
|
|
8621
|
+
def fields(
|
|
8622
|
+
self,
|
|
8623
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.FieldProperty"]]]:
|
|
8624
|
+
'''An array of case fields.
|
|
8625
|
+
|
|
8626
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-createcaseaction.html#cfn-connect-rule-createcaseaction-fields
|
|
8627
|
+
'''
|
|
8628
|
+
result = self._values.get("fields")
|
|
8629
|
+
assert result is not None, "Required property 'fields' is missing"
|
|
8630
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.FieldProperty"]]], result)
|
|
8631
|
+
|
|
8632
|
+
@builtins.property
|
|
8633
|
+
def template_id(self) -> builtins.str:
|
|
8634
|
+
'''The Id of template.
|
|
8635
|
+
|
|
8636
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-createcaseaction.html#cfn-connect-rule-createcaseaction-templateid
|
|
8637
|
+
'''
|
|
8638
|
+
result = self._values.get("template_id")
|
|
8639
|
+
assert result is not None, "Required property 'template_id' is missing"
|
|
8640
|
+
return typing.cast(builtins.str, result)
|
|
8641
|
+
|
|
8642
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8643
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8644
|
+
|
|
8645
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8646
|
+
return not (rhs == self)
|
|
8647
|
+
|
|
8648
|
+
def __repr__(self) -> str:
|
|
8649
|
+
return "CreateCaseActionProperty(%s)" % ", ".join(
|
|
8650
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8651
|
+
)
|
|
8652
|
+
|
|
8473
8653
|
@jsii.data_type(
|
|
8474
8654
|
jsii_type="aws-cdk-lib.aws_connect.CfnRule.EventBridgeActionProperty",
|
|
8475
8655
|
jsii_struct_bases=[],
|
|
@@ -8522,6 +8702,191 @@ class CfnRule(
|
|
|
8522
8702
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
8523
8703
|
)
|
|
8524
8704
|
|
|
8705
|
+
@jsii.data_type(
|
|
8706
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnRule.FieldProperty",
|
|
8707
|
+
jsii_struct_bases=[],
|
|
8708
|
+
name_mapping={"id": "id", "value": "value"},
|
|
8709
|
+
)
|
|
8710
|
+
class FieldProperty:
|
|
8711
|
+
def __init__(
|
|
8712
|
+
self,
|
|
8713
|
+
*,
|
|
8714
|
+
id: builtins.str,
|
|
8715
|
+
value: typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.FieldValueProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
8716
|
+
) -> None:
|
|
8717
|
+
'''The field of the case.
|
|
8718
|
+
|
|
8719
|
+
:param id: The Id of the field.
|
|
8720
|
+
:param value: The value of the field.
|
|
8721
|
+
|
|
8722
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-field.html
|
|
8723
|
+
:exampleMetadata: fixture=_generated
|
|
8724
|
+
|
|
8725
|
+
Example::
|
|
8726
|
+
|
|
8727
|
+
# The code below shows an example of how to instantiate this type.
|
|
8728
|
+
# The values are placeholders you should change.
|
|
8729
|
+
from aws_cdk import aws_connect as connect
|
|
8730
|
+
|
|
8731
|
+
# empty_value: Any
|
|
8732
|
+
|
|
8733
|
+
field_property = connect.CfnRule.FieldProperty(
|
|
8734
|
+
id="id",
|
|
8735
|
+
value=connect.CfnRule.FieldValueProperty(
|
|
8736
|
+
boolean_value=False,
|
|
8737
|
+
double_value=123,
|
|
8738
|
+
empty_value=empty_value,
|
|
8739
|
+
string_value="stringValue"
|
|
8740
|
+
)
|
|
8741
|
+
)
|
|
8742
|
+
'''
|
|
8743
|
+
if __debug__:
|
|
8744
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b6c57d9892877040d89a2aed4e1afb5e5eb027cb36bc0f8392074bd7cd8d8323)
|
|
8745
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
8746
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8747
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8748
|
+
"id": id,
|
|
8749
|
+
"value": value,
|
|
8750
|
+
}
|
|
8751
|
+
|
|
8752
|
+
@builtins.property
|
|
8753
|
+
def id(self) -> builtins.str:
|
|
8754
|
+
'''The Id of the field.
|
|
8755
|
+
|
|
8756
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-field.html#cfn-connect-rule-field-id
|
|
8757
|
+
'''
|
|
8758
|
+
result = self._values.get("id")
|
|
8759
|
+
assert result is not None, "Required property 'id' is missing"
|
|
8760
|
+
return typing.cast(builtins.str, result)
|
|
8761
|
+
|
|
8762
|
+
@builtins.property
|
|
8763
|
+
def value(
|
|
8764
|
+
self,
|
|
8765
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnRule.FieldValueProperty"]:
|
|
8766
|
+
'''The value of the field.
|
|
8767
|
+
|
|
8768
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-field.html#cfn-connect-rule-field-value
|
|
8769
|
+
'''
|
|
8770
|
+
result = self._values.get("value")
|
|
8771
|
+
assert result is not None, "Required property 'value' is missing"
|
|
8772
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnRule.FieldValueProperty"], result)
|
|
8773
|
+
|
|
8774
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8775
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8776
|
+
|
|
8777
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8778
|
+
return not (rhs == self)
|
|
8779
|
+
|
|
8780
|
+
def __repr__(self) -> str:
|
|
8781
|
+
return "FieldProperty(%s)" % ", ".join(
|
|
8782
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8783
|
+
)
|
|
8784
|
+
|
|
8785
|
+
@jsii.data_type(
|
|
8786
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnRule.FieldValueProperty",
|
|
8787
|
+
jsii_struct_bases=[],
|
|
8788
|
+
name_mapping={
|
|
8789
|
+
"boolean_value": "booleanValue",
|
|
8790
|
+
"double_value": "doubleValue",
|
|
8791
|
+
"empty_value": "emptyValue",
|
|
8792
|
+
"string_value": "stringValue",
|
|
8793
|
+
},
|
|
8794
|
+
)
|
|
8795
|
+
class FieldValueProperty:
|
|
8796
|
+
def __init__(
|
|
8797
|
+
self,
|
|
8798
|
+
*,
|
|
8799
|
+
boolean_value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8800
|
+
double_value: typing.Optional[jsii.Number] = None,
|
|
8801
|
+
empty_value: typing.Any = None,
|
|
8802
|
+
string_value: typing.Optional[builtins.str] = None,
|
|
8803
|
+
) -> None:
|
|
8804
|
+
'''The value of the field.
|
|
8805
|
+
|
|
8806
|
+
:param boolean_value:
|
|
8807
|
+
:param double_value:
|
|
8808
|
+
:param empty_value:
|
|
8809
|
+
:param string_value:
|
|
8810
|
+
|
|
8811
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html
|
|
8812
|
+
:exampleMetadata: fixture=_generated
|
|
8813
|
+
|
|
8814
|
+
Example::
|
|
8815
|
+
|
|
8816
|
+
# The code below shows an example of how to instantiate this type.
|
|
8817
|
+
# The values are placeholders you should change.
|
|
8818
|
+
from aws_cdk import aws_connect as connect
|
|
8819
|
+
|
|
8820
|
+
# empty_value: Any
|
|
8821
|
+
|
|
8822
|
+
field_value_property = connect.CfnRule.FieldValueProperty(
|
|
8823
|
+
boolean_value=False,
|
|
8824
|
+
double_value=123,
|
|
8825
|
+
empty_value=empty_value,
|
|
8826
|
+
string_value="stringValue"
|
|
8827
|
+
)
|
|
8828
|
+
'''
|
|
8829
|
+
if __debug__:
|
|
8830
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b775c6c3e6b1c930720eb9500ebf63cc475488f7c2d8ed565fb6a0294ff1e652)
|
|
8831
|
+
check_type(argname="argument boolean_value", value=boolean_value, expected_type=type_hints["boolean_value"])
|
|
8832
|
+
check_type(argname="argument double_value", value=double_value, expected_type=type_hints["double_value"])
|
|
8833
|
+
check_type(argname="argument empty_value", value=empty_value, expected_type=type_hints["empty_value"])
|
|
8834
|
+
check_type(argname="argument string_value", value=string_value, expected_type=type_hints["string_value"])
|
|
8835
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8836
|
+
if boolean_value is not None:
|
|
8837
|
+
self._values["boolean_value"] = boolean_value
|
|
8838
|
+
if double_value is not None:
|
|
8839
|
+
self._values["double_value"] = double_value
|
|
8840
|
+
if empty_value is not None:
|
|
8841
|
+
self._values["empty_value"] = empty_value
|
|
8842
|
+
if string_value is not None:
|
|
8843
|
+
self._values["string_value"] = string_value
|
|
8844
|
+
|
|
8845
|
+
@builtins.property
|
|
8846
|
+
def boolean_value(
|
|
8847
|
+
self,
|
|
8848
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
8849
|
+
'''
|
|
8850
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html#cfn-connect-rule-fieldvalue-booleanvalue
|
|
8851
|
+
'''
|
|
8852
|
+
result = self._values.get("boolean_value")
|
|
8853
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
8854
|
+
|
|
8855
|
+
@builtins.property
|
|
8856
|
+
def double_value(self) -> typing.Optional[jsii.Number]:
|
|
8857
|
+
'''
|
|
8858
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html#cfn-connect-rule-fieldvalue-doublevalue
|
|
8859
|
+
'''
|
|
8860
|
+
result = self._values.get("double_value")
|
|
8861
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
8862
|
+
|
|
8863
|
+
@builtins.property
|
|
8864
|
+
def empty_value(self) -> typing.Any:
|
|
8865
|
+
'''
|
|
8866
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html#cfn-connect-rule-fieldvalue-emptyvalue
|
|
8867
|
+
'''
|
|
8868
|
+
result = self._values.get("empty_value")
|
|
8869
|
+
return typing.cast(typing.Any, result)
|
|
8870
|
+
|
|
8871
|
+
@builtins.property
|
|
8872
|
+
def string_value(self) -> typing.Optional[builtins.str]:
|
|
8873
|
+
'''
|
|
8874
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html#cfn-connect-rule-fieldvalue-stringvalue
|
|
8875
|
+
'''
|
|
8876
|
+
result = self._values.get("string_value")
|
|
8877
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8878
|
+
|
|
8879
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8880
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8881
|
+
|
|
8882
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8883
|
+
return not (rhs == self)
|
|
8884
|
+
|
|
8885
|
+
def __repr__(self) -> str:
|
|
8886
|
+
return "FieldValueProperty(%s)" % ", ".join(
|
|
8887
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8888
|
+
)
|
|
8889
|
+
|
|
8525
8890
|
@jsii.data_type(
|
|
8526
8891
|
jsii_type="aws-cdk-lib.aws_connect.CfnRule.NotificationRecipientTypeProperty",
|
|
8527
8892
|
jsii_struct_bases=[],
|
|
@@ -9010,6 +9375,74 @@ class CfnRule(
|
|
|
9010
9375
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
9011
9376
|
)
|
|
9012
9377
|
|
|
9378
|
+
@jsii.data_type(
|
|
9379
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnRule.UpdateCaseActionProperty",
|
|
9380
|
+
jsii_struct_bases=[],
|
|
9381
|
+
name_mapping={"fields": "fields"},
|
|
9382
|
+
)
|
|
9383
|
+
class UpdateCaseActionProperty:
|
|
9384
|
+
def __init__(
|
|
9385
|
+
self,
|
|
9386
|
+
*,
|
|
9387
|
+
fields: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.FieldProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
9388
|
+
) -> None:
|
|
9389
|
+
'''The definition for update case action.
|
|
9390
|
+
|
|
9391
|
+
:param fields: An array of case fields.
|
|
9392
|
+
|
|
9393
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-updatecaseaction.html
|
|
9394
|
+
:exampleMetadata: fixture=_generated
|
|
9395
|
+
|
|
9396
|
+
Example::
|
|
9397
|
+
|
|
9398
|
+
# The code below shows an example of how to instantiate this type.
|
|
9399
|
+
# The values are placeholders you should change.
|
|
9400
|
+
from aws_cdk import aws_connect as connect
|
|
9401
|
+
|
|
9402
|
+
# empty_value: Any
|
|
9403
|
+
|
|
9404
|
+
update_case_action_property = connect.CfnRule.UpdateCaseActionProperty(
|
|
9405
|
+
fields=[connect.CfnRule.FieldProperty(
|
|
9406
|
+
id="id",
|
|
9407
|
+
value=connect.CfnRule.FieldValueProperty(
|
|
9408
|
+
boolean_value=False,
|
|
9409
|
+
double_value=123,
|
|
9410
|
+
empty_value=empty_value,
|
|
9411
|
+
string_value="stringValue"
|
|
9412
|
+
)
|
|
9413
|
+
)]
|
|
9414
|
+
)
|
|
9415
|
+
'''
|
|
9416
|
+
if __debug__:
|
|
9417
|
+
type_hints = typing.get_type_hints(_typecheckingstub__172e88a6af9428a8608ec5ab094e800f6fbe7460bbec91c4a3347cc987a420e5)
|
|
9418
|
+
check_type(argname="argument fields", value=fields, expected_type=type_hints["fields"])
|
|
9419
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
9420
|
+
"fields": fields,
|
|
9421
|
+
}
|
|
9422
|
+
|
|
9423
|
+
@builtins.property
|
|
9424
|
+
def fields(
|
|
9425
|
+
self,
|
|
9426
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.FieldProperty"]]]:
|
|
9427
|
+
'''An array of case fields.
|
|
9428
|
+
|
|
9429
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-updatecaseaction.html#cfn-connect-rule-updatecaseaction-fields
|
|
9430
|
+
'''
|
|
9431
|
+
result = self._values.get("fields")
|
|
9432
|
+
assert result is not None, "Required property 'fields' is missing"
|
|
9433
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.FieldProperty"]]], result)
|
|
9434
|
+
|
|
9435
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9436
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9437
|
+
|
|
9438
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
9439
|
+
return not (rhs == self)
|
|
9440
|
+
|
|
9441
|
+
def __repr__(self) -> str:
|
|
9442
|
+
return "UpdateCaseActionProperty(%s)" % ", ".join(
|
|
9443
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
9444
|
+
)
|
|
9445
|
+
|
|
9013
9446
|
|
|
9014
9447
|
@jsii.data_type(
|
|
9015
9448
|
jsii_type="aws-cdk-lib.aws_connect.CfnRuleProps",
|
|
@@ -9056,10 +9489,25 @@ class CfnRuleProps:
|
|
|
9056
9489
|
from aws_cdk import aws_connect as connect
|
|
9057
9490
|
|
|
9058
9491
|
# assign_contact_category_actions: Any
|
|
9492
|
+
# empty_value: Any
|
|
9493
|
+
# end_associated_task_actions: Any
|
|
9059
9494
|
|
|
9060
9495
|
cfn_rule_props = connect.CfnRuleProps(
|
|
9061
9496
|
actions=connect.CfnRule.ActionsProperty(
|
|
9062
9497
|
assign_contact_category_actions=[assign_contact_category_actions],
|
|
9498
|
+
create_case_actions=[connect.CfnRule.CreateCaseActionProperty(
|
|
9499
|
+
fields=[connect.CfnRule.FieldProperty(
|
|
9500
|
+
id="id",
|
|
9501
|
+
value=connect.CfnRule.FieldValueProperty(
|
|
9502
|
+
boolean_value=False,
|
|
9503
|
+
double_value=123,
|
|
9504
|
+
empty_value=empty_value,
|
|
9505
|
+
string_value="stringValue"
|
|
9506
|
+
)
|
|
9507
|
+
)],
|
|
9508
|
+
template_id="templateId"
|
|
9509
|
+
)],
|
|
9510
|
+
end_associated_task_actions=[end_associated_task_actions],
|
|
9063
9511
|
event_bridge_actions=[connect.CfnRule.EventBridgeActionProperty(
|
|
9064
9512
|
name="name"
|
|
9065
9513
|
)],
|
|
@@ -9089,6 +9537,17 @@ class CfnRuleProps:
|
|
|
9089
9537
|
value="value"
|
|
9090
9538
|
)
|
|
9091
9539
|
}
|
|
9540
|
+
)],
|
|
9541
|
+
update_case_actions=[connect.CfnRule.UpdateCaseActionProperty(
|
|
9542
|
+
fields=[connect.CfnRule.FieldProperty(
|
|
9543
|
+
id="id",
|
|
9544
|
+
value=connect.CfnRule.FieldValueProperty(
|
|
9545
|
+
boolean_value=False,
|
|
9546
|
+
double_value=123,
|
|
9547
|
+
empty_value=empty_value,
|
|
9548
|
+
string_value="stringValue"
|
|
9549
|
+
)
|
|
9550
|
+
)]
|
|
9092
9551
|
)]
|
|
9093
9552
|
),
|
|
9094
9553
|
function="function",
|
|
@@ -13515,9 +13974,9 @@ def _typecheckingstub__198e237e2c62ec06cc78609686ceeb43aaecd21ba79e09b267cdd8be2
|
|
|
13515
13974
|
|
|
13516
13975
|
def _typecheckingstub__52c9485c197abc64e1dbe93a9ffbdf11fda8b3df13bc67381180643da843a5b8(
|
|
13517
13976
|
*,
|
|
13977
|
+
encryption_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstanceStorageConfig.EncryptionConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
13518
13978
|
prefix: builtins.str,
|
|
13519
13979
|
retention_period_hours: jsii.Number,
|
|
13520
|
-
encryption_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnInstanceStorageConfig.EncryptionConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13521
13980
|
) -> None:
|
|
13522
13981
|
"""Type checking stubs"""
|
|
13523
13982
|
pass
|
|
@@ -14135,9 +14594,20 @@ def _typecheckingstub__a7ff60d02ce44f26fb689403f0b8615b44a5b305d316fb9e802989485
|
|
|
14135
14594
|
def _typecheckingstub__0ef20a75dbfc13161d3fff13ec1c4969adde44c34f62addd27e480514ce92395(
|
|
14136
14595
|
*,
|
|
14137
14596
|
assign_contact_category_actions: typing.Optional[typing.Union[typing.Sequence[typing.Any], _IResolvable_da3f097b]] = None,
|
|
14597
|
+
create_case_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.CreateCaseActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14598
|
+
end_associated_task_actions: typing.Optional[typing.Union[typing.Sequence[typing.Any], _IResolvable_da3f097b]] = None,
|
|
14138
14599
|
event_bridge_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.EventBridgeActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14139
14600
|
send_notification_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.SendNotificationActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14140
14601
|
task_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.TaskActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14602
|
+
update_case_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.UpdateCaseActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14603
|
+
) -> None:
|
|
14604
|
+
"""Type checking stubs"""
|
|
14605
|
+
pass
|
|
14606
|
+
|
|
14607
|
+
def _typecheckingstub__ab1813f0f35711195f55dc6283bd2d1a984f7c2f7e37efe287a6d2d847cd6d86(
|
|
14608
|
+
*,
|
|
14609
|
+
fields: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.FieldProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
14610
|
+
template_id: builtins.str,
|
|
14141
14611
|
) -> None:
|
|
14142
14612
|
"""Type checking stubs"""
|
|
14143
14613
|
pass
|
|
@@ -14149,6 +14619,24 @@ def _typecheckingstub__037f7c36eff1515bc6e2d8e67f9b2bac8beade9773e2103dd3b8b5ca5
|
|
|
14149
14619
|
"""Type checking stubs"""
|
|
14150
14620
|
pass
|
|
14151
14621
|
|
|
14622
|
+
def _typecheckingstub__b6c57d9892877040d89a2aed4e1afb5e5eb027cb36bc0f8392074bd7cd8d8323(
|
|
14623
|
+
*,
|
|
14624
|
+
id: builtins.str,
|
|
14625
|
+
value: typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.FieldValueProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
14626
|
+
) -> None:
|
|
14627
|
+
"""Type checking stubs"""
|
|
14628
|
+
pass
|
|
14629
|
+
|
|
14630
|
+
def _typecheckingstub__b775c6c3e6b1c930720eb9500ebf63cc475488f7c2d8ed565fb6a0294ff1e652(
|
|
14631
|
+
*,
|
|
14632
|
+
boolean_value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
14633
|
+
double_value: typing.Optional[jsii.Number] = None,
|
|
14634
|
+
empty_value: typing.Any = None,
|
|
14635
|
+
string_value: typing.Optional[builtins.str] = None,
|
|
14636
|
+
) -> None:
|
|
14637
|
+
"""Type checking stubs"""
|
|
14638
|
+
pass
|
|
14639
|
+
|
|
14152
14640
|
def _typecheckingstub__4d577395a2866fe40fdf75bbcc932da0701cd7985bbb4de4e2ef65243ba9d387(
|
|
14153
14641
|
*,
|
|
14154
14642
|
user_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -14194,6 +14682,13 @@ def _typecheckingstub__36d4ac91ef6fb71bdda5474ed1cbe12228c8f5caa3aec2778c4c6642b
|
|
|
14194
14682
|
"""Type checking stubs"""
|
|
14195
14683
|
pass
|
|
14196
14684
|
|
|
14685
|
+
def _typecheckingstub__172e88a6af9428a8608ec5ab094e800f6fbe7460bbec91c4a3347cc987a420e5(
|
|
14686
|
+
*,
|
|
14687
|
+
fields: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.FieldProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
14688
|
+
) -> None:
|
|
14689
|
+
"""Type checking stubs"""
|
|
14690
|
+
pass
|
|
14691
|
+
|
|
14197
14692
|
def _typecheckingstub__86228e744389fdc43748e3523fb391089cfd59a98fc3cac55a6aff07ca243441(
|
|
14198
14693
|
*,
|
|
14199
14694
|
actions: typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.ActionsProperty, typing.Dict[builtins.str, typing.Any]]],
|