aws-cdk-lib 2.210.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 +404 -54
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.210.0.jsii.tgz → aws-cdk-lib@2.212.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -1
- aws_cdk/aws_apigateway/__init__.py +2 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
- aws_cdk/aws_appconfig/__init__.py +9 -0
- aws_cdk/aws_appintegrations/__init__.py +395 -0
- aws_cdk/aws_arcregionswitch/__init__.py +5080 -0
- aws_cdk/aws_athena/__init__.py +23 -19
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_batch/__init__.py +725 -55
- aws_cdk/aws_bedrock/__init__.py +18 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -3
- aws_cdk/aws_cassandra/__init__.py +28 -1
- aws_cdk/aws_cloudfront/__init__.py +39 -8
- aws_cdk/aws_codebuild/__init__.py +122 -0
- aws_cdk/aws_codepipeline/__init__.py +51 -50
- aws_cdk/aws_cognito/__init__.py +9 -2
- aws_cdk/aws_connect/__init__.py +40 -15
- aws_cdk/aws_datazone/__init__.py +118 -77
- aws_cdk/aws_dax/__init__.py +39 -0
- aws_cdk/aws_deadline/__init__.py +166 -7
- aws_cdk/aws_docdb/__init__.py +20 -11
- aws_cdk/aws_dynamodb/__init__.py +246 -36
- aws_cdk/aws_ec2/__init__.py +1044 -111
- aws_cdk/aws_ecr/__init__.py +274 -0
- aws_cdk/aws_ecs/__init__.py +1637 -137
- aws_cdk/aws_eks/__init__.py +53 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +31 -17
- aws_cdk/aws_entityresolution/__init__.py +240 -45
- aws_cdk/aws_evs/__init__.py +20 -45
- 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_iot/__init__.py +387 -0
- aws_cdk/aws_iotsitewise/__init__.py +1247 -139
- aws_cdk/aws_ivs/__init__.py +443 -33
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -0
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +9 -9
- aws_cdk/aws_lightsail/__init__.py +590 -0
- aws_cdk/aws_logs/__init__.py +97 -3
- aws_cdk/aws_medialive/__init__.py +270 -7
- aws_cdk/aws_mediapackagev2/__init__.py +204 -6
- aws_cdk/aws_neptune/__init__.py +41 -2
- aws_cdk/aws_networkfirewall/__init__.py +490 -134
- aws_cdk/aws_observabilityadmin/__init__.py +1468 -0
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +2 -2
- aws_cdk/aws_opensearchservice/__init__.py +128 -0
- aws_cdk/aws_opsworks/__init__.py +125 -125
- aws_cdk/aws_opsworkscm/__init__.py +1 -53
- aws_cdk/aws_pcs/__init__.py +49 -5
- aws_cdk/aws_qbusiness/__init__.py +3 -3
- aws_cdk/aws_quicksight/__init__.py +188 -83
- aws_cdk/aws_rds/__init__.py +245 -103
- aws_cdk/aws_s3/__init__.py +56 -1
- aws_cdk/aws_s3express/__init__.py +56 -1
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +4080 -223
- aws_cdk/aws_ses/__init__.py +172 -9
- aws_cdk/aws_sqs/__init__.py +4 -3
- aws_cdk/aws_ssm/__init__.py +8 -4
- aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
- aws_cdk/aws_synthetics/__init__.py +116 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +23 -2
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/aws_workspacesweb/__init__.py +949 -157
- aws_cdk/cx_api/__init__.py +22 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/METADATA +335 -15
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/RECORD +78 -76
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/top_level.txt +0 -0
|
@@ -87,7 +87,10 @@ class CfnIdMappingWorkflow(
|
|
|
87
87
|
):
|
|
88
88
|
'''Creates an ``IdMappingWorkflow`` object which stores the configuration of the data processing job to be run.
|
|
89
89
|
|
|
90
|
-
Each ``IdMappingWorkflow`` must have a unique workflow name. To modify an existing workflow, use the
|
|
90
|
+
Each ``IdMappingWorkflow`` must have a unique workflow name. To modify an existing workflow, use the UpdateIdMappingWorkflow API.
|
|
91
|
+
.. epigraph::
|
|
92
|
+
|
|
93
|
+
Incremental processing is not supported for ID mapping workflows.
|
|
91
94
|
|
|
92
95
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-idmappingworkflow.html
|
|
93
96
|
:cloudformationResource: AWS::EntityResolution::IdMappingWorkflow
|
|
@@ -171,7 +174,7 @@ class CfnIdMappingWorkflow(
|
|
|
171
174
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role. AWS Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
|
|
172
175
|
:param workflow_name: The name of the workflow. There can't be multiple ``IdMappingWorkflows`` with the same name.
|
|
173
176
|
:param description: A description of the workflow.
|
|
174
|
-
:param output_source_config: A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``
|
|
177
|
+
:param output_source_config: A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``outputS3Path`` and ``KMSArn`` .
|
|
175
178
|
:param tags: The tags used to organize, track, or control access for this resource.
|
|
176
179
|
'''
|
|
177
180
|
if __debug__:
|
|
@@ -338,7 +341,7 @@ class CfnIdMappingWorkflow(
|
|
|
338
341
|
def output_source_config(
|
|
339
342
|
self,
|
|
340
343
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty"]]]]:
|
|
341
|
-
'''A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``
|
|
344
|
+
'''A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``outputS3Path`` and ``KMSArn`` .'''
|
|
342
345
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty"]]]], jsii.get(self, "outputSourceConfig"))
|
|
343
346
|
|
|
344
347
|
@output_source_config.setter
|
|
@@ -385,7 +388,7 @@ class CfnIdMappingWorkflow(
|
|
|
385
388
|
) -> None:
|
|
386
389
|
'''An object that defines the list of matching rules to run in an ID mapping workflow.
|
|
387
390
|
|
|
388
|
-
:param attribute_matching_model: The comparison type. You can either choose ``ONE_TO_ONE`` or ``MANY_TO_MANY`` as the ``attributeMatchingModel`` . If you choose ``
|
|
391
|
+
:param attribute_matching_model: The comparison type. You can either choose ``ONE_TO_ONE`` or ``MANY_TO_MANY`` as the ``attributeMatchingModel`` . If you choose ``ONE_TO_ONE`` , the system can only match attributes if the sub-types are an exact match. For example, for the ``Email`` attribute type, the system will only consider it a match if the value of the ``Email`` field of Profile A matches the value of the ``Email`` field of Profile B. If you choose ``MANY_TO_MANY`` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the ``Email`` field of Profile A matches the value of the ``BusinessEmail`` field of Profile B, the two profiles are matched on the ``Email`` attribute type.
|
|
389
392
|
:param record_matching_model: The type of matching record that is allowed to be used in an ID mapping workflow. If the value is set to ``ONE_SOURCE_TO_ONE_TARGET`` , only one record in the source can be matched to the same record in the target. If the value is set to ``MANY_SOURCE_TO_ONE_TARGET`` , multiple records in the source can be matched to one record in the target.
|
|
390
393
|
:param rule_definition_type: The set of rules you can use in an ID mapping workflow. The limitations specified for the source or target to define the match rules must be compatible.
|
|
391
394
|
:param rules: The rules that can be used for ID mapping.
|
|
@@ -430,10 +433,10 @@ class CfnIdMappingWorkflow(
|
|
|
430
433
|
def attribute_matching_model(self) -> builtins.str:
|
|
431
434
|
'''The comparison type. You can either choose ``ONE_TO_ONE`` or ``MANY_TO_MANY`` as the ``attributeMatchingModel`` .
|
|
432
435
|
|
|
433
|
-
If you choose ``MANY_TO_MANY`` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the ``Email`` field of Profile A matches the value of the ``BusinessEmail`` field of Profile B, the two profiles are matched on the ``Email`` attribute type.
|
|
434
|
-
|
|
435
436
|
If you choose ``ONE_TO_ONE`` , the system can only match attributes if the sub-types are an exact match. For example, for the ``Email`` attribute type, the system will only consider it a match if the value of the ``Email`` field of Profile A matches the value of the ``Email`` field of Profile B.
|
|
436
437
|
|
|
438
|
+
If you choose ``MANY_TO_MANY`` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the ``Email`` field of Profile A matches the value of the ``BusinessEmail`` field of Profile B, the two profiles are matched on the ``Email`` attribute type.
|
|
439
|
+
|
|
437
440
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-idmappingworkflow-idmappingrulebasedproperties.html#cfn-entityresolution-idmappingworkflow-idmappingrulebasedproperties-attributematchingmodel
|
|
438
441
|
'''
|
|
439
442
|
result = self._values.get("attribute_matching_model")
|
|
@@ -617,7 +620,7 @@ class CfnIdMappingWorkflow(
|
|
|
617
620
|
schema_arn: typing.Optional[builtins.str] = None,
|
|
618
621
|
type: typing.Optional[builtins.str] = None,
|
|
619
622
|
) -> None:
|
|
620
|
-
'''An object containing ``
|
|
623
|
+
'''An object containing ``inputSourceARN`` , ``schemaName`` , and ``type`` .
|
|
621
624
|
|
|
622
625
|
:param input_source_arn: An AWS Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
|
|
623
626
|
:param schema_arn: The ARN (Amazon Resource Name) that AWS Entity Resolution generated for the ``SchemaMapping`` .
|
|
@@ -708,7 +711,7 @@ class CfnIdMappingWorkflow(
|
|
|
708
711
|
output_s3_path: builtins.str,
|
|
709
712
|
kms_arn: typing.Optional[builtins.str] = None,
|
|
710
713
|
) -> None:
|
|
711
|
-
'''A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``
|
|
714
|
+
'''A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``outputS3Path`` and ``KMSArn`` .
|
|
712
715
|
|
|
713
716
|
:param output_s3_path: The S3 path to which AWS Entity Resolution will write the output table.
|
|
714
717
|
:param kms_arn: Customer AWS KMS ARN for encryption at rest. If not provided, system will use an AWS Entity Resolution managed KMS key.
|
|
@@ -941,7 +944,7 @@ class CfnIdMappingWorkflow(
|
|
|
941
944
|
matching_keys: typing.Sequence[builtins.str],
|
|
942
945
|
rule_name: builtins.str,
|
|
943
946
|
) -> None:
|
|
944
|
-
'''An object containing ``
|
|
947
|
+
'''An object containing the ``ruleName`` and ``matchingKeys`` .
|
|
945
948
|
|
|
946
949
|
:param matching_keys: A list of ``MatchingKeys`` . The ``MatchingKeys`` must have been defined in the ``SchemaMapping`` . Two records are considered to match according to this rule if all of the ``MatchingKeys`` match.
|
|
947
950
|
:param rule_name: A name for the matching rule.
|
|
@@ -1035,7 +1038,7 @@ class CfnIdMappingWorkflowProps:
|
|
|
1035
1038
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role. AWS Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
|
|
1036
1039
|
:param workflow_name: The name of the workflow. There can't be multiple ``IdMappingWorkflows`` with the same name.
|
|
1037
1040
|
:param description: A description of the workflow.
|
|
1038
|
-
:param output_source_config: A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``
|
|
1041
|
+
:param output_source_config: A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``outputS3Path`` and ``KMSArn`` .
|
|
1039
1042
|
:param tags: The tags used to organize, track, or control access for this resource.
|
|
1040
1043
|
|
|
1041
1044
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-idmappingworkflow.html
|
|
@@ -1180,7 +1183,7 @@ class CfnIdMappingWorkflowProps:
|
|
|
1180
1183
|
def output_source_config(
|
|
1181
1184
|
self,
|
|
1182
1185
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnIdMappingWorkflow.IdMappingWorkflowOutputSourceProperty]]]]:
|
|
1183
|
-
'''A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``
|
|
1186
|
+
'''A list of ``IdMappingWorkflowOutputSource`` objects, each of which contains fields ``outputS3Path`` and ``KMSArn`` .
|
|
1184
1187
|
|
|
1185
1188
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-idmappingworkflow.html#cfn-entityresolution-idmappingworkflow-outputsourceconfig
|
|
1186
1189
|
'''
|
|
@@ -1216,7 +1219,7 @@ class CfnIdNamespace(
|
|
|
1216
1219
|
):
|
|
1217
1220
|
'''Creates an ID namespace object which will help customers provide metadata explaining their dataset and how to use it.
|
|
1218
1221
|
|
|
1219
|
-
Each ID namespace must have a unique name. To modify an existing ID namespace, use the
|
|
1222
|
+
Each ID namespace must have a unique name. To modify an existing ID namespace, use the UpdateIdNamespace API.
|
|
1220
1223
|
|
|
1221
1224
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-idnamespace.html
|
|
1222
1225
|
:cloudformationResource: AWS::EntityResolution::IdNamespace
|
|
@@ -1499,7 +1502,7 @@ class CfnIdNamespace(
|
|
|
1499
1502
|
provider_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIdNamespace.NamespaceProviderPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1500
1503
|
rule_based_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnIdNamespace.NamespaceRuleBasedPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1501
1504
|
) -> None:
|
|
1502
|
-
'''An object containing ``
|
|
1505
|
+
'''An object containing ``idMappingType`` , ``providerProperties`` , and ``ruleBasedProperties`` .
|
|
1503
1506
|
|
|
1504
1507
|
:param id_mapping_type: The type of ID mapping.
|
|
1505
1508
|
:param provider_properties: An object which defines any additional configurations required by the provider service.
|
|
@@ -1608,7 +1611,7 @@ class CfnIdNamespace(
|
|
|
1608
1611
|
input_source_arn: builtins.str,
|
|
1609
1612
|
schema_name: typing.Optional[builtins.str] = None,
|
|
1610
1613
|
) -> None:
|
|
1611
|
-
'''An object containing ``
|
|
1614
|
+
'''An object containing ``inputSourceARN`` and ``schemaName`` .
|
|
1612
1615
|
|
|
1613
1616
|
:param input_source_arn: An AWS Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
|
|
1614
1617
|
:param schema_name: The name of the schema.
|
|
@@ -1684,7 +1687,7 @@ class CfnIdNamespace(
|
|
|
1684
1687
|
provider_service_arn: builtins.str,
|
|
1685
1688
|
provider_configuration: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
1686
1689
|
) -> None:
|
|
1687
|
-
'''An object containing ``
|
|
1690
|
+
'''An object containing ``providerConfiguration`` and ``providerServiceArn`` .
|
|
1688
1691
|
|
|
1689
1692
|
:param provider_service_arn: The Amazon Resource Name (ARN) of the provider service.
|
|
1690
1693
|
:param provider_configuration: An object which defines any additional configurations required by the provider service.
|
|
@@ -1772,7 +1775,7 @@ class CfnIdNamespace(
|
|
|
1772
1775
|
|
|
1773
1776
|
These properties define how the ID namespace can be used in an ID mapping workflow.
|
|
1774
1777
|
|
|
1775
|
-
:param attribute_matching_model: The comparison type. You can either choose ``ONE_TO_ONE`` or ``MANY_TO_MANY`` as the ``attributeMatchingModel`` . If you choose ``
|
|
1778
|
+
:param attribute_matching_model: The comparison type. You can either choose ``ONE_TO_ONE`` or ``MANY_TO_MANY`` as the ``attributeMatchingModel`` . If you choose ``ONE_TO_ONE`` , the system can only match attributes if the sub-types are an exact match. For example, for the ``Email`` attribute type, the system will only consider it a match if the value of the ``Email`` field of Profile A matches the value of the ``Email`` field of Profile B. If you choose ``MANY_TO_MANY`` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the ``Email`` field of Profile A matches the value of ``BusinessEmail`` field of Profile B, the two profiles are matched on the ``Email`` attribute type.
|
|
1776
1779
|
:param record_matching_models: The type of matching record that is allowed to be used in an ID mapping workflow. If the value is set to ``ONE_SOURCE_TO_ONE_TARGET`` , only one record in the source is matched to one record in the target. If the value is set to ``MANY_SOURCE_TO_ONE_TARGET`` , all matching records in the source are matched to one record in the target.
|
|
1777
1780
|
:param rule_definition_types: The sets of rules you can use in an ID mapping workflow. The limitations specified for the source and target must be compatible.
|
|
1778
1781
|
:param rules: The rules for the ID namespace.
|
|
@@ -1816,10 +1819,10 @@ class CfnIdNamespace(
|
|
|
1816
1819
|
def attribute_matching_model(self) -> typing.Optional[builtins.str]:
|
|
1817
1820
|
'''The comparison type. You can either choose ``ONE_TO_ONE`` or ``MANY_TO_MANY`` as the ``attributeMatchingModel`` .
|
|
1818
1821
|
|
|
1819
|
-
If you choose ``MANY_TO_MANY`` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the ``Email`` field of Profile A matches the value of ``BusinessEmail`` field of Profile B, the two profiles are matched on the ``Email`` attribute type.
|
|
1820
|
-
|
|
1821
1822
|
If you choose ``ONE_TO_ONE`` , the system can only match attributes if the sub-types are an exact match. For example, for the ``Email`` attribute type, the system will only consider it a match if the value of the ``Email`` field of Profile A matches the value of the ``Email`` field of Profile B.
|
|
1822
1823
|
|
|
1824
|
+
If you choose ``MANY_TO_MANY`` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the ``Email`` field of Profile A matches the value of ``BusinessEmail`` field of Profile B, the two profiles are matched on the ``Email`` attribute type.
|
|
1825
|
+
|
|
1823
1826
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-idnamespace-namespacerulebasedproperties.html#cfn-entityresolution-idnamespace-namespacerulebasedproperties-attributematchingmodel
|
|
1824
1827
|
'''
|
|
1825
1828
|
result = self._values.get("attribute_matching_model")
|
|
@@ -1883,7 +1886,7 @@ class CfnIdNamespace(
|
|
|
1883
1886
|
matching_keys: typing.Sequence[builtins.str],
|
|
1884
1887
|
rule_name: builtins.str,
|
|
1885
1888
|
) -> None:
|
|
1886
|
-
'''An object containing ``
|
|
1889
|
+
'''An object containing the ``ruleName`` and ``matchingKeys`` .
|
|
1887
1890
|
|
|
1888
1891
|
:param matching_keys: A list of ``MatchingKeys`` . The ``MatchingKeys`` must have been defined in the ``SchemaMapping`` . Two records are considered to match according to this rule if all of the ``MatchingKeys`` match.
|
|
1889
1892
|
:param rule_name: A name for the matching rule.
|
|
@@ -2152,7 +2155,7 @@ class CfnMatchingWorkflow(
|
|
|
2152
2155
|
The workflow name must be unique. To modify an existing workflow, use ``UpdateMatchingWorkflow`` .
|
|
2153
2156
|
.. epigraph::
|
|
2154
2157
|
|
|
2155
|
-
For workflows where ``resolutionType`` is ML_MATCHING, incremental processing is not supported.
|
|
2158
|
+
For workflows where ``resolutionType`` is ``ML_MATCHING`` or ``PROVIDER`` , incremental processing is not supported.
|
|
2156
2159
|
|
|
2157
2160
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-matchingworkflow.html
|
|
2158
2161
|
:cloudformationResource: AWS::EntityResolution::MatchingWorkflow
|
|
@@ -2207,6 +2210,12 @@ class CfnMatchingWorkflow(
|
|
|
2207
2210
|
|
|
2208
2211
|
# the properties below are optional
|
|
2209
2212
|
match_purpose="matchPurpose"
|
|
2213
|
+
),
|
|
2214
|
+
rule_condition_properties=entityresolution.CfnMatchingWorkflow.RuleConditionPropertiesProperty(
|
|
2215
|
+
rules=[entityresolution.CfnMatchingWorkflow.RuleConditionProperty(
|
|
2216
|
+
condition="condition",
|
|
2217
|
+
rule_name="ruleName"
|
|
2218
|
+
)]
|
|
2210
2219
|
)
|
|
2211
2220
|
),
|
|
2212
2221
|
role_arn="roleArn",
|
|
@@ -2242,12 +2251,12 @@ class CfnMatchingWorkflow(
|
|
|
2242
2251
|
:param scope: Scope in which this resource is defined.
|
|
2243
2252
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2244
2253
|
:param input_source_config: A list of ``InputSource`` objects, which have the fields ``InputSourceARN`` and ``SchemaName`` .
|
|
2245
|
-
:param output_source_config: A list of ``OutputSource`` objects, each of which contains fields ``
|
|
2254
|
+
:param output_source_config: A list of ``OutputSource`` objects, each of which contains fields ``outputS3Path`` , ``applyNormalization`` , ``KMSArn`` , and ``output`` .
|
|
2246
2255
|
:param resolution_techniques: An object which defines the ``resolutionType`` and the ``ruleBasedProperties`` .
|
|
2247
2256
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role. AWS Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
|
|
2248
2257
|
:param workflow_name: The name of the workflow. There can't be multiple ``MatchingWorkflows`` with the same name.
|
|
2249
2258
|
:param description: A description of the workflow.
|
|
2250
|
-
:param incremental_run_config: Optional. An object that defines the incremental run type. This object contains only the ``incrementalRunType`` field, which appears as "Automatic" in the console. .. epigraph:: For workflows where ``resolutionType`` is ``ML_MATCHING`` , incremental processing is not supported.
|
|
2259
|
+
:param incremental_run_config: Optional. An object that defines the incremental run type. This object contains only the ``incrementalRunType`` field, which appears as "Automatic" in the console. .. epigraph:: For workflows where ``resolutionType`` is ``ML_MATCHING`` or ``PROVIDER`` , incremental processing is not supported.
|
|
2251
2260
|
:param tags: The tags used to organize, track, or control access for this resource.
|
|
2252
2261
|
'''
|
|
2253
2262
|
if __debug__:
|
|
@@ -2358,7 +2367,7 @@ class CfnMatchingWorkflow(
|
|
|
2358
2367
|
def output_source_config(
|
|
2359
2368
|
self,
|
|
2360
2369
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMatchingWorkflow.OutputSourceProperty"]]]:
|
|
2361
|
-
'''A list of ``OutputSource`` objects, each of which contains fields ``
|
|
2370
|
+
'''A list of ``OutputSource`` objects, each of which contains fields ``outputS3Path`` , ``applyNormalization`` , ``KMSArn`` , and ``output`` .'''
|
|
2362
2371
|
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMatchingWorkflow.OutputSourceProperty"]]], jsii.get(self, "outputSourceConfig"))
|
|
2363
2372
|
|
|
2364
2373
|
@output_source_config.setter
|
|
@@ -2471,9 +2480,9 @@ class CfnMatchingWorkflow(
|
|
|
2471
2480
|
An object that defines the incremental run type. This object contains only the ``incrementalRunType`` field, which appears as "Automatic" in the console.
|
|
2472
2481
|
.. epigraph::
|
|
2473
2482
|
|
|
2474
|
-
For workflows where ``resolutionType`` is ``ML_MATCHING`` , incremental processing is not supported.
|
|
2483
|
+
For workflows where ``resolutionType`` is ``ML_MATCHING`` or ``PROVIDER`` , incremental processing is not supported.
|
|
2475
2484
|
|
|
2476
|
-
:param incremental_run_type: The type of incremental run. The only valid value is ``IMMEDIATE`` . This appears as "Automatic" in the console. .. epigraph:: For workflows where ``resolutionType`` is ``ML_MATCHING`` , incremental processing is not supported.
|
|
2485
|
+
:param incremental_run_type: The type of incremental run. The only valid value is ``IMMEDIATE`` . This appears as "Automatic" in the console. .. epigraph:: For workflows where ``resolutionType`` is ``ML_MATCHING`` or ``PROVIDER`` , incremental processing is not supported.
|
|
2477
2486
|
|
|
2478
2487
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-incrementalrunconfig.html
|
|
2479
2488
|
:exampleMetadata: fixture=_generated
|
|
@@ -2501,7 +2510,7 @@ class CfnMatchingWorkflow(
|
|
|
2501
2510
|
|
|
2502
2511
|
.. epigraph::
|
|
2503
2512
|
|
|
2504
|
-
For workflows where ``resolutionType`` is ``ML_MATCHING`` , incremental processing is not supported.
|
|
2513
|
+
For workflows where ``resolutionType`` is ``ML_MATCHING`` or ``PROVIDER`` , incremental processing is not supported.
|
|
2505
2514
|
|
|
2506
2515
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-incrementalrunconfig.html#cfn-entityresolution-matchingworkflow-incrementalrunconfig-incrementalruntype
|
|
2507
2516
|
'''
|
|
@@ -2537,9 +2546,9 @@ class CfnMatchingWorkflow(
|
|
|
2537
2546
|
schema_arn: builtins.str,
|
|
2538
2547
|
apply_normalization: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2539
2548
|
) -> None:
|
|
2540
|
-
'''An object containing ``
|
|
2549
|
+
'''An object containing ``inputSourceARN`` , ``schemaName`` , and ``applyNormalization`` .
|
|
2541
2550
|
|
|
2542
|
-
:param input_source_arn: An object containing ``
|
|
2551
|
+
:param input_source_arn: An object containing ``inputSourceARN`` , ``schemaName`` , and ``applyNormalization`` .
|
|
2543
2552
|
:param schema_arn: The name of the schema.
|
|
2544
2553
|
:param apply_normalization: Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an ``AttributeType`` of ``PHONE_NUMBER`` , and the data in the input table is in a format of 1234567890, AWS Entity Resolution will normalize this field in the output to (123)-456-7890.
|
|
2545
2554
|
|
|
@@ -2574,7 +2583,7 @@ class CfnMatchingWorkflow(
|
|
|
2574
2583
|
|
|
2575
2584
|
@builtins.property
|
|
2576
2585
|
def input_source_arn(self) -> builtins.str:
|
|
2577
|
-
'''An object containing ``
|
|
2586
|
+
'''An object containing ``inputSourceARN`` , ``schemaName`` , and ``applyNormalization`` .
|
|
2578
2587
|
|
|
2579
2588
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-inputsource.html#cfn-entityresolution-matchingworkflow-inputsource-inputsourcearn
|
|
2580
2589
|
'''
|
|
@@ -2985,6 +2994,7 @@ class CfnMatchingWorkflow(
|
|
|
2985
2994
|
"provider_properties": "providerProperties",
|
|
2986
2995
|
"resolution_type": "resolutionType",
|
|
2987
2996
|
"rule_based_properties": "ruleBasedProperties",
|
|
2997
|
+
"rule_condition_properties": "ruleConditionProperties",
|
|
2988
2998
|
},
|
|
2989
2999
|
)
|
|
2990
3000
|
class ResolutionTechniquesProperty:
|
|
@@ -2994,12 +3004,14 @@ class CfnMatchingWorkflow(
|
|
|
2994
3004
|
provider_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMatchingWorkflow.ProviderPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2995
3005
|
resolution_type: typing.Optional[builtins.str] = None,
|
|
2996
3006
|
rule_based_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMatchingWorkflow.RuleBasedPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3007
|
+
rule_condition_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMatchingWorkflow.RuleConditionPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2997
3008
|
) -> None:
|
|
2998
3009
|
'''An object which defines the ``resolutionType`` and the ``ruleBasedProperties`` .
|
|
2999
3010
|
|
|
3000
3011
|
:param provider_properties: The properties of the provider service.
|
|
3001
|
-
:param resolution_type: The type of matching.
|
|
3002
|
-
:param rule_based_properties: An object which defines the list of matching rules to run and has a field ``
|
|
3012
|
+
:param resolution_type: The type of matching workflow to create. Specify one of the following types:. - ``RULE_MATCHING`` : Match records using configurable rule-based criteria - ``ML_MATCHING`` : Match records using machine learning models - ``PROVIDER`` : Match records using a third-party matching provider
|
|
3013
|
+
:param rule_based_properties: An object which defines the list of matching rules to run and has a field ``rules`` , which is a list of rule objects.
|
|
3014
|
+
:param rule_condition_properties: An object containing the ``rules`` for a matching workflow.
|
|
3003
3015
|
|
|
3004
3016
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-resolutiontechniques.html
|
|
3005
3017
|
:exampleMetadata: fixture=_generated
|
|
@@ -3032,6 +3044,12 @@ class CfnMatchingWorkflow(
|
|
|
3032
3044
|
|
|
3033
3045
|
# the properties below are optional
|
|
3034
3046
|
match_purpose="matchPurpose"
|
|
3047
|
+
),
|
|
3048
|
+
rule_condition_properties=entityresolution.CfnMatchingWorkflow.RuleConditionPropertiesProperty(
|
|
3049
|
+
rules=[entityresolution.CfnMatchingWorkflow.RuleConditionProperty(
|
|
3050
|
+
condition="condition",
|
|
3051
|
+
rule_name="ruleName"
|
|
3052
|
+
)]
|
|
3035
3053
|
)
|
|
3036
3054
|
)
|
|
3037
3055
|
'''
|
|
@@ -3040,6 +3058,7 @@ class CfnMatchingWorkflow(
|
|
|
3040
3058
|
check_type(argname="argument provider_properties", value=provider_properties, expected_type=type_hints["provider_properties"])
|
|
3041
3059
|
check_type(argname="argument resolution_type", value=resolution_type, expected_type=type_hints["resolution_type"])
|
|
3042
3060
|
check_type(argname="argument rule_based_properties", value=rule_based_properties, expected_type=type_hints["rule_based_properties"])
|
|
3061
|
+
check_type(argname="argument rule_condition_properties", value=rule_condition_properties, expected_type=type_hints["rule_condition_properties"])
|
|
3043
3062
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3044
3063
|
if provider_properties is not None:
|
|
3045
3064
|
self._values["provider_properties"] = provider_properties
|
|
@@ -3047,6 +3066,8 @@ class CfnMatchingWorkflow(
|
|
|
3047
3066
|
self._values["resolution_type"] = resolution_type
|
|
3048
3067
|
if rule_based_properties is not None:
|
|
3049
3068
|
self._values["rule_based_properties"] = rule_based_properties
|
|
3069
|
+
if rule_condition_properties is not None:
|
|
3070
|
+
self._values["rule_condition_properties"] = rule_condition_properties
|
|
3050
3071
|
|
|
3051
3072
|
@builtins.property
|
|
3052
3073
|
def provider_properties(
|
|
@@ -3061,9 +3082,11 @@ class CfnMatchingWorkflow(
|
|
|
3061
3082
|
|
|
3062
3083
|
@builtins.property
|
|
3063
3084
|
def resolution_type(self) -> typing.Optional[builtins.str]:
|
|
3064
|
-
'''The type of matching.
|
|
3085
|
+
'''The type of matching workflow to create. Specify one of the following types:.
|
|
3065
3086
|
|
|
3066
|
-
|
|
3087
|
+
- ``RULE_MATCHING`` : Match records using configurable rule-based criteria
|
|
3088
|
+
- ``ML_MATCHING`` : Match records using machine learning models
|
|
3089
|
+
- ``PROVIDER`` : Match records using a third-party matching provider
|
|
3067
3090
|
|
|
3068
3091
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-resolutiontechniques.html#cfn-entityresolution-matchingworkflow-resolutiontechniques-resolutiontype
|
|
3069
3092
|
'''
|
|
@@ -3074,13 +3097,24 @@ class CfnMatchingWorkflow(
|
|
|
3074
3097
|
def rule_based_properties(
|
|
3075
3098
|
self,
|
|
3076
3099
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMatchingWorkflow.RuleBasedPropertiesProperty"]]:
|
|
3077
|
-
'''An object which defines the list of matching rules to run and has a field ``
|
|
3100
|
+
'''An object which defines the list of matching rules to run and has a field ``rules`` , which is a list of rule objects.
|
|
3078
3101
|
|
|
3079
3102
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-resolutiontechniques.html#cfn-entityresolution-matchingworkflow-resolutiontechniques-rulebasedproperties
|
|
3080
3103
|
'''
|
|
3081
3104
|
result = self._values.get("rule_based_properties")
|
|
3082
3105
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMatchingWorkflow.RuleBasedPropertiesProperty"]], result)
|
|
3083
3106
|
|
|
3107
|
+
@builtins.property
|
|
3108
|
+
def rule_condition_properties(
|
|
3109
|
+
self,
|
|
3110
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMatchingWorkflow.RuleConditionPropertiesProperty"]]:
|
|
3111
|
+
'''An object containing the ``rules`` for a matching workflow.
|
|
3112
|
+
|
|
3113
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-resolutiontechniques.html#cfn-entityresolution-matchingworkflow-resolutiontechniques-ruleconditionproperties
|
|
3114
|
+
'''
|
|
3115
|
+
result = self._values.get("rule_condition_properties")
|
|
3116
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMatchingWorkflow.RuleConditionPropertiesProperty"]], result)
|
|
3117
|
+
|
|
3084
3118
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3085
3119
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3086
3120
|
|
|
@@ -3111,9 +3145,7 @@ class CfnMatchingWorkflow(
|
|
|
3111
3145
|
) -> None:
|
|
3112
3146
|
'''An object which defines the list of matching rules to run in a matching workflow.
|
|
3113
3147
|
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
:param attribute_matching_model: The comparison type. You can either choose ``ONE_TO_ONE`` or ``MANY_TO_MANY`` as the ``attributeMatchingModel`` . If you choose ``MANY_TO_MANY`` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the ``Email`` field of Profile A and the value of ``BusinessEmail`` field of Profile B matches, the two profiles are matched on the ``Email`` attribute type. If you choose ``ONE_TO_ONE`` , the system can only match attributes if the sub-types are an exact match. For example, for the ``Email`` attribute type, the system will only consider it a match if the value of the ``Email`` field of Profile A matches the value of the ``Email`` field of Profile B.
|
|
3148
|
+
:param attribute_matching_model: The comparison type. You can choose ``ONE_TO_ONE`` or ``MANY_TO_MANY`` as the ``attributeMatchingModel`` . If you choose ``ONE_TO_ONE`` , the system can only match attributes if the sub-types are an exact match. For example, for the ``Email`` attribute type, the system will only consider it a match if the value of the ``Email`` field of Profile A matches the value of the ``Email`` field of Profile B. If you choose ``MANY_TO_MANY`` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the ``Email`` field of Profile A and the value of ``BusinessEmail`` field of Profile B matches, the two profiles are matched on the ``Email`` attribute type.
|
|
3117
3149
|
:param rules: A list of ``Rule`` objects, each of which have fields ``RuleName`` and ``MatchingKeys`` .
|
|
3118
3150
|
:param match_purpose: An indicator of whether to generate IDs and index the data or not. If you choose ``IDENTIFIER_GENERATION`` , the process generates IDs and indexes the data. If you choose ``INDEXING`` , the process indexes the data without generating IDs.
|
|
3119
3151
|
|
|
@@ -3151,12 +3183,12 @@ class CfnMatchingWorkflow(
|
|
|
3151
3183
|
|
|
3152
3184
|
@builtins.property
|
|
3153
3185
|
def attribute_matching_model(self) -> builtins.str:
|
|
3154
|
-
'''The comparison type. You can
|
|
3155
|
-
|
|
3156
|
-
If you choose ``MANY_TO_MANY`` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the ``Email`` field of Profile A and the value of ``BusinessEmail`` field of Profile B matches, the two profiles are matched on the ``Email`` attribute type.
|
|
3186
|
+
'''The comparison type. You can choose ``ONE_TO_ONE`` or ``MANY_TO_MANY`` as the ``attributeMatchingModel`` .
|
|
3157
3187
|
|
|
3158
3188
|
If you choose ``ONE_TO_ONE`` , the system can only match attributes if the sub-types are an exact match. For example, for the ``Email`` attribute type, the system will only consider it a match if the value of the ``Email`` field of Profile A matches the value of the ``Email`` field of Profile B.
|
|
3159
3189
|
|
|
3190
|
+
If you choose ``MANY_TO_MANY`` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the ``Email`` field of Profile A and the value of ``BusinessEmail`` field of Profile B matches, the two profiles are matched on the ``Email`` attribute type.
|
|
3191
|
+
|
|
3160
3192
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-rulebasedproperties.html#cfn-entityresolution-matchingworkflow-rulebasedproperties-attributematchingmodel
|
|
3161
3193
|
'''
|
|
3162
3194
|
result = self._values.get("attribute_matching_model")
|
|
@@ -3199,6 +3231,147 @@ class CfnMatchingWorkflow(
|
|
|
3199
3231
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3200
3232
|
)
|
|
3201
3233
|
|
|
3234
|
+
@jsii.data_type(
|
|
3235
|
+
jsii_type="aws-cdk-lib.aws_entityresolution.CfnMatchingWorkflow.RuleConditionPropertiesProperty",
|
|
3236
|
+
jsii_struct_bases=[],
|
|
3237
|
+
name_mapping={"rules": "rules"},
|
|
3238
|
+
)
|
|
3239
|
+
class RuleConditionPropertiesProperty:
|
|
3240
|
+
def __init__(
|
|
3241
|
+
self,
|
|
3242
|
+
*,
|
|
3243
|
+
rules: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnMatchingWorkflow.RuleConditionProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
3244
|
+
) -> None:
|
|
3245
|
+
'''The properties of a rule condition that provides the ability to use more complex syntax.
|
|
3246
|
+
|
|
3247
|
+
:param rules: A list of rule objects, each of which have fields ``ruleName`` and ``condition`` .
|
|
3248
|
+
|
|
3249
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-ruleconditionproperties.html
|
|
3250
|
+
:exampleMetadata: fixture=_generated
|
|
3251
|
+
|
|
3252
|
+
Example::
|
|
3253
|
+
|
|
3254
|
+
# The code below shows an example of how to instantiate this type.
|
|
3255
|
+
# The values are placeholders you should change.
|
|
3256
|
+
from aws_cdk import aws_entityresolution as entityresolution
|
|
3257
|
+
|
|
3258
|
+
rule_condition_properties_property = entityresolution.CfnMatchingWorkflow.RuleConditionPropertiesProperty(
|
|
3259
|
+
rules=[entityresolution.CfnMatchingWorkflow.RuleConditionProperty(
|
|
3260
|
+
condition="condition",
|
|
3261
|
+
rule_name="ruleName"
|
|
3262
|
+
)]
|
|
3263
|
+
)
|
|
3264
|
+
'''
|
|
3265
|
+
if __debug__:
|
|
3266
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c01a018e071645429b67216971e253282d8265d42f85a054b775019645ee4406)
|
|
3267
|
+
check_type(argname="argument rules", value=rules, expected_type=type_hints["rules"])
|
|
3268
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3269
|
+
"rules": rules,
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3272
|
+
@builtins.property
|
|
3273
|
+
def rules(
|
|
3274
|
+
self,
|
|
3275
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMatchingWorkflow.RuleConditionProperty"]]]:
|
|
3276
|
+
'''A list of rule objects, each of which have fields ``ruleName`` and ``condition`` .
|
|
3277
|
+
|
|
3278
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-ruleconditionproperties.html#cfn-entityresolution-matchingworkflow-ruleconditionproperties-rules
|
|
3279
|
+
'''
|
|
3280
|
+
result = self._values.get("rules")
|
|
3281
|
+
assert result is not None, "Required property 'rules' is missing"
|
|
3282
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnMatchingWorkflow.RuleConditionProperty"]]], result)
|
|
3283
|
+
|
|
3284
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3285
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3286
|
+
|
|
3287
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3288
|
+
return not (rhs == self)
|
|
3289
|
+
|
|
3290
|
+
def __repr__(self) -> str:
|
|
3291
|
+
return "RuleConditionPropertiesProperty(%s)" % ", ".join(
|
|
3292
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3293
|
+
)
|
|
3294
|
+
|
|
3295
|
+
@jsii.data_type(
|
|
3296
|
+
jsii_type="aws-cdk-lib.aws_entityresolution.CfnMatchingWorkflow.RuleConditionProperty",
|
|
3297
|
+
jsii_struct_bases=[],
|
|
3298
|
+
name_mapping={"condition": "condition", "rule_name": "ruleName"},
|
|
3299
|
+
)
|
|
3300
|
+
class RuleConditionProperty:
|
|
3301
|
+
def __init__(
|
|
3302
|
+
self,
|
|
3303
|
+
*,
|
|
3304
|
+
condition: typing.Optional[builtins.str] = None,
|
|
3305
|
+
rule_name: typing.Optional[builtins.str] = None,
|
|
3306
|
+
) -> None:
|
|
3307
|
+
'''An object that defines the ``ruleCondition`` and the ``ruleName`` to use in a matching workflow.
|
|
3308
|
+
|
|
3309
|
+
:param condition: A statement that specifies the conditions for a matching rule. If your data is accurate, use an Exact matching function: ``Exact`` or ``ExactManyToMany`` . If your data has variations in spelling or pronunciation, use a Fuzzy matching function: ``Cosine`` , ``Levenshtein`` , or ``Soundex`` . Use operators if you want to combine ( ``AND`` ), separate ( ``OR`` ), or group matching functions ``(...)`` . For example: ``(Cosine(a, 10) AND Exact(b, true)) OR ExactManyToMany(c, d)``
|
|
3310
|
+
:param rule_name: A name for the matching rule. For example: ``Rule1``
|
|
3311
|
+
|
|
3312
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-rulecondition.html
|
|
3313
|
+
:exampleMetadata: fixture=_generated
|
|
3314
|
+
|
|
3315
|
+
Example::
|
|
3316
|
+
|
|
3317
|
+
# The code below shows an example of how to instantiate this type.
|
|
3318
|
+
# The values are placeholders you should change.
|
|
3319
|
+
from aws_cdk import aws_entityresolution as entityresolution
|
|
3320
|
+
|
|
3321
|
+
rule_condition_property = entityresolution.CfnMatchingWorkflow.RuleConditionProperty(
|
|
3322
|
+
condition="condition",
|
|
3323
|
+
rule_name="ruleName"
|
|
3324
|
+
)
|
|
3325
|
+
'''
|
|
3326
|
+
if __debug__:
|
|
3327
|
+
type_hints = typing.get_type_hints(_typecheckingstub__28df643a12cf66e35dffd89eb89db8b5764b5a2d46b109a0ff8e34bc82b17306)
|
|
3328
|
+
check_type(argname="argument condition", value=condition, expected_type=type_hints["condition"])
|
|
3329
|
+
check_type(argname="argument rule_name", value=rule_name, expected_type=type_hints["rule_name"])
|
|
3330
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3331
|
+
if condition is not None:
|
|
3332
|
+
self._values["condition"] = condition
|
|
3333
|
+
if rule_name is not None:
|
|
3334
|
+
self._values["rule_name"] = rule_name
|
|
3335
|
+
|
|
3336
|
+
@builtins.property
|
|
3337
|
+
def condition(self) -> typing.Optional[builtins.str]:
|
|
3338
|
+
'''A statement that specifies the conditions for a matching rule.
|
|
3339
|
+
|
|
3340
|
+
If your data is accurate, use an Exact matching function: ``Exact`` or ``ExactManyToMany`` .
|
|
3341
|
+
|
|
3342
|
+
If your data has variations in spelling or pronunciation, use a Fuzzy matching function: ``Cosine`` , ``Levenshtein`` , or ``Soundex`` .
|
|
3343
|
+
|
|
3344
|
+
Use operators if you want to combine ( ``AND`` ), separate ( ``OR`` ), or group matching functions ``(...)`` .
|
|
3345
|
+
|
|
3346
|
+
For example: ``(Cosine(a, 10) AND Exact(b, true)) OR ExactManyToMany(c, d)``
|
|
3347
|
+
|
|
3348
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-rulecondition.html#cfn-entityresolution-matchingworkflow-rulecondition-condition
|
|
3349
|
+
'''
|
|
3350
|
+
result = self._values.get("condition")
|
|
3351
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3352
|
+
|
|
3353
|
+
@builtins.property
|
|
3354
|
+
def rule_name(self) -> typing.Optional[builtins.str]:
|
|
3355
|
+
'''A name for the matching rule.
|
|
3356
|
+
|
|
3357
|
+
For example: ``Rule1``
|
|
3358
|
+
|
|
3359
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-rulecondition.html#cfn-entityresolution-matchingworkflow-rulecondition-rulename
|
|
3360
|
+
'''
|
|
3361
|
+
result = self._values.get("rule_name")
|
|
3362
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3363
|
+
|
|
3364
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3365
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3366
|
+
|
|
3367
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3368
|
+
return not (rhs == self)
|
|
3369
|
+
|
|
3370
|
+
def __repr__(self) -> str:
|
|
3371
|
+
return "RuleConditionProperty(%s)" % ", ".join(
|
|
3372
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3373
|
+
)
|
|
3374
|
+
|
|
3202
3375
|
@jsii.data_type(
|
|
3203
3376
|
jsii_type="aws-cdk-lib.aws_entityresolution.CfnMatchingWorkflow.RuleProperty",
|
|
3204
3377
|
jsii_struct_bases=[],
|
|
@@ -3211,7 +3384,7 @@ class CfnMatchingWorkflow(
|
|
|
3211
3384
|
matching_keys: typing.Sequence[builtins.str],
|
|
3212
3385
|
rule_name: builtins.str,
|
|
3213
3386
|
) -> None:
|
|
3214
|
-
'''An object containing ``
|
|
3387
|
+
'''An object containing the ``ruleName`` and ``matchingKeys`` .
|
|
3215
3388
|
|
|
3216
3389
|
:param matching_keys: A list of ``MatchingKeys`` . The ``MatchingKeys`` must have been defined in the ``SchemaMapping`` . Two records are considered to match according to this rule if all of the ``MatchingKeys`` match.
|
|
3217
3390
|
:param rule_name: A name for the matching rule.
|
|
@@ -3303,12 +3476,12 @@ class CfnMatchingWorkflowProps:
|
|
|
3303
3476
|
'''Properties for defining a ``CfnMatchingWorkflow``.
|
|
3304
3477
|
|
|
3305
3478
|
:param input_source_config: A list of ``InputSource`` objects, which have the fields ``InputSourceARN`` and ``SchemaName`` .
|
|
3306
|
-
:param output_source_config: A list of ``OutputSource`` objects, each of which contains fields ``
|
|
3479
|
+
:param output_source_config: A list of ``OutputSource`` objects, each of which contains fields ``outputS3Path`` , ``applyNormalization`` , ``KMSArn`` , and ``output`` .
|
|
3307
3480
|
:param resolution_techniques: An object which defines the ``resolutionType`` and the ``ruleBasedProperties`` .
|
|
3308
3481
|
:param role_arn: The Amazon Resource Name (ARN) of the IAM role. AWS Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
|
|
3309
3482
|
:param workflow_name: The name of the workflow. There can't be multiple ``MatchingWorkflows`` with the same name.
|
|
3310
3483
|
:param description: A description of the workflow.
|
|
3311
|
-
:param incremental_run_config: Optional. An object that defines the incremental run type. This object contains only the ``incrementalRunType`` field, which appears as "Automatic" in the console. .. epigraph:: For workflows where ``resolutionType`` is ``ML_MATCHING`` , incremental processing is not supported.
|
|
3484
|
+
:param incremental_run_config: Optional. An object that defines the incremental run type. This object contains only the ``incrementalRunType`` field, which appears as "Automatic" in the console. .. epigraph:: For workflows where ``resolutionType`` is ``ML_MATCHING`` or ``PROVIDER`` , incremental processing is not supported.
|
|
3312
3485
|
:param tags: The tags used to organize, track, or control access for this resource.
|
|
3313
3486
|
|
|
3314
3487
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-matchingworkflow.html
|
|
@@ -3363,6 +3536,12 @@ class CfnMatchingWorkflowProps:
|
|
|
3363
3536
|
|
|
3364
3537
|
# the properties below are optional
|
|
3365
3538
|
match_purpose="matchPurpose"
|
|
3539
|
+
),
|
|
3540
|
+
rule_condition_properties=entityresolution.CfnMatchingWorkflow.RuleConditionPropertiesProperty(
|
|
3541
|
+
rules=[entityresolution.CfnMatchingWorkflow.RuleConditionProperty(
|
|
3542
|
+
condition="condition",
|
|
3543
|
+
rule_name="ruleName"
|
|
3544
|
+
)]
|
|
3366
3545
|
)
|
|
3367
3546
|
),
|
|
3368
3547
|
role_arn="roleArn",
|
|
@@ -3419,7 +3598,7 @@ class CfnMatchingWorkflowProps:
|
|
|
3419
3598
|
def output_source_config(
|
|
3420
3599
|
self,
|
|
3421
3600
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnMatchingWorkflow.OutputSourceProperty]]]:
|
|
3422
|
-
'''A list of ``OutputSource`` objects, each of which contains fields ``
|
|
3601
|
+
'''A list of ``OutputSource`` objects, each of which contains fields ``outputS3Path`` , ``applyNormalization`` , ``KMSArn`` , and ``output`` .
|
|
3423
3602
|
|
|
3424
3603
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-matchingworkflow.html#cfn-entityresolution-matchingworkflow-outputsourceconfig
|
|
3425
3604
|
'''
|
|
@@ -3481,7 +3660,7 @@ class CfnMatchingWorkflowProps:
|
|
|
3481
3660
|
An object that defines the incremental run type. This object contains only the ``incrementalRunType`` field, which appears as "Automatic" in the console.
|
|
3482
3661
|
.. epigraph::
|
|
3483
3662
|
|
|
3484
|
-
For workflows where ``resolutionType`` is ``ML_MATCHING`` , incremental processing is not supported.
|
|
3663
|
+
For workflows where ``resolutionType`` is ``ML_MATCHING`` or ``PROVIDER`` , incremental processing is not supported.
|
|
3485
3664
|
|
|
3486
3665
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-entityresolution-matchingworkflow.html#cfn-entityresolution-matchingworkflow-incrementalrunconfig
|
|
3487
3666
|
'''
|
|
@@ -4756,6 +4935,7 @@ def _typecheckingstub__d1c6ea89cbe5bb10bb721c60f7c5951a6a56729058a7b00d3dd16b091
|
|
|
4756
4935
|
provider_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMatchingWorkflow.ProviderPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4757
4936
|
resolution_type: typing.Optional[builtins.str] = None,
|
|
4758
4937
|
rule_based_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMatchingWorkflow.RuleBasedPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4938
|
+
rule_condition_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMatchingWorkflow.RuleConditionPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4759
4939
|
) -> None:
|
|
4760
4940
|
"""Type checking stubs"""
|
|
4761
4941
|
pass
|
|
@@ -4769,6 +4949,21 @@ def _typecheckingstub__96d1f97c0110dea5fb9a8413e199ae25878eedad10521ad056ca772f3
|
|
|
4769
4949
|
"""Type checking stubs"""
|
|
4770
4950
|
pass
|
|
4771
4951
|
|
|
4952
|
+
def _typecheckingstub__c01a018e071645429b67216971e253282d8265d42f85a054b775019645ee4406(
|
|
4953
|
+
*,
|
|
4954
|
+
rules: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnMatchingWorkflow.RuleConditionProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
4955
|
+
) -> None:
|
|
4956
|
+
"""Type checking stubs"""
|
|
4957
|
+
pass
|
|
4958
|
+
|
|
4959
|
+
def _typecheckingstub__28df643a12cf66e35dffd89eb89db8b5764b5a2d46b109a0ff8e34bc82b17306(
|
|
4960
|
+
*,
|
|
4961
|
+
condition: typing.Optional[builtins.str] = None,
|
|
4962
|
+
rule_name: typing.Optional[builtins.str] = None,
|
|
4963
|
+
) -> None:
|
|
4964
|
+
"""Type checking stubs"""
|
|
4965
|
+
pass
|
|
4966
|
+
|
|
4772
4967
|
def _typecheckingstub__8ad893f1319125d264f9286a93c40cd8616031944a24803bccedd15e3233ef0f(
|
|
4773
4968
|
*,
|
|
4774
4969
|
matching_keys: typing.Sequence[builtins.str],
|