aws-cdk-lib 2.200.1__py3-none-any.whl → 2.201.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 +105 -13
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.200.1.jsii.tgz → aws-cdk-lib@2.201.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -3
- aws_cdk/aws_amplify/__init__.py +3 -3
- aws_cdk/aws_apigateway/__init__.py +21 -17
- aws_cdk/aws_apigatewayv2/__init__.py +87 -45
- aws_cdk/aws_appconfig/__init__.py +38 -1
- aws_cdk/aws_appsync/__init__.py +10 -10
- aws_cdk/aws_athena/__init__.py +226 -0
- aws_cdk/aws_autoscaling/__init__.py +38 -37
- aws_cdk/aws_bedrock/__init__.py +5108 -1571
- aws_cdk/aws_cloudfront/__init__.py +8 -0
- aws_cdk/aws_cloudtrail/__init__.py +178 -0
- aws_cdk/aws_cloudwatch/__init__.py +7 -3
- aws_cdk/aws_codepipeline_actions/__init__.py +746 -0
- aws_cdk/aws_connect/__init__.py +5 -5
- aws_cdk/aws_customerprofiles/__init__.py +377 -8
- aws_cdk/aws_datasync/__init__.py +189 -160
- aws_cdk/aws_datazone/__init__.py +512 -170
- aws_cdk/aws_deadline/__init__.py +32 -4
- aws_cdk/aws_dsql/__init__.py +150 -10
- aws_cdk/aws_ec2/__init__.py +793 -56
- aws_cdk/aws_ecs/__init__.py +94 -11
- aws_cdk/aws_efs/__init__.py +92 -12
- aws_cdk/aws_eks/__init__.py +166 -19
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_emr/__init__.py +10 -4
- aws_cdk/aws_entityresolution/__init__.py +25 -10
- aws_cdk/aws_evs/__init__.py +2204 -0
- aws_cdk/aws_fsx/__init__.py +7 -7
- aws_cdk/aws_lambda/__init__.py +409 -32
- aws_cdk/aws_lightsail/__init__.py +17 -13
- aws_cdk/aws_logs/__init__.py +1 -0
- aws_cdk/aws_networkfirewall/__init__.py +562 -0
- aws_cdk/aws_opensearchservice/__init__.py +3 -3
- aws_cdk/aws_opsworkscm/__init__.py +9 -43
- aws_cdk/aws_rds/__init__.py +284 -87
- aws_cdk/aws_s3/__init__.py +23 -15
- aws_cdk/aws_sagemaker/__init__.py +223 -3
- aws_cdk/aws_securityhub/__init__.py +18 -34
- aws_cdk/aws_ssm/__init__.py +83 -1
- aws_cdk/aws_stepfunctions/__init__.py +235 -45
- aws_cdk/aws_synthetics/__init__.py +74 -0
- aws_cdk/aws_transfer/__init__.py +3 -3
- aws_cdk/aws_verifiedpermissions/__init__.py +17 -6
- aws_cdk/aws_wafv2/__init__.py +39 -2
- {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/RECORD +53 -52
- {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.200.1.dist-info → aws_cdk_lib-2.201.0.dist-info}/top_level.txt +0 -0
|
@@ -788,6 +788,27 @@ definition = choice.when(condition1, step1).otherwise(step2).afterwards().next(f
|
|
|
788
788
|
map.item_processor(definition)
|
|
789
789
|
```
|
|
790
790
|
|
|
791
|
+
When using `JSONata`, the `itemSelector` property in a Map state can be specified in one of two ways. You can provide a valid JSON object containing JSONata expressions for each value:
|
|
792
|
+
|
|
793
|
+
```python
|
|
794
|
+
map = sfn.Map(self, "Map State",
|
|
795
|
+
max_concurrency=1,
|
|
796
|
+
item_selector={
|
|
797
|
+
"id": "{% $states.context.Map.Item.Value.id %}",
|
|
798
|
+
"status": "{% $states.context.Map.Item.Value.status %}"
|
|
799
|
+
}
|
|
800
|
+
)
|
|
801
|
+
```
|
|
802
|
+
|
|
803
|
+
Alternatively, you can use the `jsonataItemSelector` field to directly supply a JSONata string that evaluates to a complete JSON object:
|
|
804
|
+
|
|
805
|
+
```python
|
|
806
|
+
map = sfn.Map(self, "Map State",
|
|
807
|
+
max_concurrency=1,
|
|
808
|
+
jsonata_item_selector="{% {\"id\": $states.input.id, \"status\": $states.input.status} %}"
|
|
809
|
+
)
|
|
810
|
+
```
|
|
811
|
+
|
|
791
812
|
To define a distributed `Map` state set `itemProcessors` mode to `ProcessorMode.DISTRIBUTED`.
|
|
792
813
|
An `executionType` must be specified for the distributed `Map` workflow.
|
|
793
814
|
|
|
@@ -8986,6 +9007,7 @@ class MapBaseJsonataOptions(JsonataCommonOptions):
|
|
|
8986
9007
|
name_mapping={
|
|
8987
9008
|
"assign": "assign",
|
|
8988
9009
|
"item_selector": "itemSelector",
|
|
9010
|
+
"jsonata_item_selector": "jsonataItemSelector",
|
|
8989
9011
|
"max_concurrency": "maxConcurrency",
|
|
8990
9012
|
},
|
|
8991
9013
|
)
|
|
@@ -8995,12 +9017,14 @@ class MapBaseOptions(AssignableStateOptions):
|
|
|
8995
9017
|
*,
|
|
8996
9018
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
8997
9019
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
9020
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
8998
9021
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
8999
9022
|
) -> None:
|
|
9000
9023
|
'''Base properties for defining a Map state.
|
|
9001
9024
|
|
|
9002
9025
|
:param assign: Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables
|
|
9003
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
9026
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
9027
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
9004
9028
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
9005
9029
|
|
|
9006
9030
|
:exampleMetadata: fixture=_generated
|
|
@@ -9021,6 +9045,7 @@ class MapBaseOptions(AssignableStateOptions):
|
|
|
9021
9045
|
item_selector={
|
|
9022
9046
|
"item_selector_key": item_selector
|
|
9023
9047
|
},
|
|
9048
|
+
jsonata_item_selector="jsonataItemSelector",
|
|
9024
9049
|
max_concurrency=123
|
|
9025
9050
|
)
|
|
9026
9051
|
'''
|
|
@@ -9028,12 +9053,15 @@ class MapBaseOptions(AssignableStateOptions):
|
|
|
9028
9053
|
type_hints = typing.get_type_hints(_typecheckingstub__7e64b5e53f029b5753785385b8477bb5c760876cfc7efe1b7fa47a5f792fffcb)
|
|
9029
9054
|
check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
|
|
9030
9055
|
check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
|
|
9056
|
+
check_type(argname="argument jsonata_item_selector", value=jsonata_item_selector, expected_type=type_hints["jsonata_item_selector"])
|
|
9031
9057
|
check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
|
|
9032
9058
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
9033
9059
|
if assign is not None:
|
|
9034
9060
|
self._values["assign"] = assign
|
|
9035
9061
|
if item_selector is not None:
|
|
9036
9062
|
self._values["item_selector"] = item_selector
|
|
9063
|
+
if jsonata_item_selector is not None:
|
|
9064
|
+
self._values["jsonata_item_selector"] = jsonata_item_selector
|
|
9037
9065
|
if max_concurrency is not None:
|
|
9038
9066
|
self._values["max_concurrency"] = max_concurrency
|
|
9039
9067
|
|
|
@@ -9054,7 +9082,7 @@ class MapBaseOptions(AssignableStateOptions):
|
|
|
9054
9082
|
def item_selector(
|
|
9055
9083
|
self,
|
|
9056
9084
|
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
9057
|
-
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``).
|
|
9085
|
+
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``).
|
|
9058
9086
|
|
|
9059
9087
|
:default: $
|
|
9060
9088
|
|
|
@@ -9063,6 +9091,17 @@ class MapBaseOptions(AssignableStateOptions):
|
|
|
9063
9091
|
result = self._values.get("item_selector")
|
|
9064
9092
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
9065
9093
|
|
|
9094
|
+
@builtins.property
|
|
9095
|
+
def jsonata_item_selector(self) -> typing.Optional[builtins.str]:
|
|
9096
|
+
'''Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``).
|
|
9097
|
+
|
|
9098
|
+
Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}``
|
|
9099
|
+
|
|
9100
|
+
:default: $
|
|
9101
|
+
'''
|
|
9102
|
+
result = self._values.get("jsonata_item_selector")
|
|
9103
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9104
|
+
|
|
9066
9105
|
@builtins.property
|
|
9067
9106
|
def max_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
9068
9107
|
'''MaxConcurrency.
|
|
@@ -18925,6 +18964,7 @@ class CustomerManagedEncryptionConfiguration(
|
|
|
18925
18964
|
"state_name": "stateName",
|
|
18926
18965
|
"assign": "assign",
|
|
18927
18966
|
"item_selector": "itemSelector",
|
|
18967
|
+
"jsonata_item_selector": "jsonataItemSelector",
|
|
18928
18968
|
"max_concurrency": "maxConcurrency",
|
|
18929
18969
|
"input_path": "inputPath",
|
|
18930
18970
|
"output_path": "outputPath",
|
|
@@ -18957,6 +18997,7 @@ class DistributedMapJsonPathProps(
|
|
|
18957
18997
|
state_name: typing.Optional[builtins.str] = None,
|
|
18958
18998
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
18959
18999
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
19000
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
18960
19001
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
18961
19002
|
input_path: typing.Optional[builtins.str] = None,
|
|
18962
19003
|
output_path: typing.Optional[builtins.str] = None,
|
|
@@ -18981,7 +19022,8 @@ class DistributedMapJsonPathProps(
|
|
|
18981
19022
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
18982
19023
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
18983
19024
|
:param assign: Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables
|
|
18984
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
19025
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
19026
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
18985
19027
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
18986
19028
|
:param input_path: JSONPath expression to select part of the state to be the input to this state. May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}. Default: $
|
|
18987
19029
|
:param output_path: JSONPath expression to select part of the state to be the output to this state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: $
|
|
@@ -19028,6 +19070,7 @@ class DistributedMapJsonPathProps(
|
|
|
19028
19070
|
"item_selector_key": item_selector
|
|
19029
19071
|
},
|
|
19030
19072
|
items_path="itemsPath",
|
|
19073
|
+
jsonata_item_selector="jsonataItemSelector",
|
|
19031
19074
|
label="label",
|
|
19032
19075
|
map_execution_type=stepfunctions.StateMachineType.EXPRESS,
|
|
19033
19076
|
max_concurrency=123,
|
|
@@ -19054,6 +19097,7 @@ class DistributedMapJsonPathProps(
|
|
|
19054
19097
|
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
19055
19098
|
check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
|
|
19056
19099
|
check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
|
|
19100
|
+
check_type(argname="argument jsonata_item_selector", value=jsonata_item_selector, expected_type=type_hints["jsonata_item_selector"])
|
|
19057
19101
|
check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
|
|
19058
19102
|
check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
|
|
19059
19103
|
check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
|
|
@@ -19082,6 +19126,8 @@ class DistributedMapJsonPathProps(
|
|
|
19082
19126
|
self._values["assign"] = assign
|
|
19083
19127
|
if item_selector is not None:
|
|
19084
19128
|
self._values["item_selector"] = item_selector
|
|
19129
|
+
if jsonata_item_selector is not None:
|
|
19130
|
+
self._values["jsonata_item_selector"] = jsonata_item_selector
|
|
19085
19131
|
if max_concurrency is not None:
|
|
19086
19132
|
self._values["max_concurrency"] = max_concurrency
|
|
19087
19133
|
if input_path is not None:
|
|
@@ -19164,7 +19210,7 @@ class DistributedMapJsonPathProps(
|
|
|
19164
19210
|
def item_selector(
|
|
19165
19211
|
self,
|
|
19166
19212
|
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
19167
|
-
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``).
|
|
19213
|
+
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``).
|
|
19168
19214
|
|
|
19169
19215
|
:default: $
|
|
19170
19216
|
|
|
@@ -19173,6 +19219,17 @@ class DistributedMapJsonPathProps(
|
|
|
19173
19219
|
result = self._values.get("item_selector")
|
|
19174
19220
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
19175
19221
|
|
|
19222
|
+
@builtins.property
|
|
19223
|
+
def jsonata_item_selector(self) -> typing.Optional[builtins.str]:
|
|
19224
|
+
'''Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``).
|
|
19225
|
+
|
|
19226
|
+
Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}``
|
|
19227
|
+
|
|
19228
|
+
:default: $
|
|
19229
|
+
'''
|
|
19230
|
+
result = self._values.get("jsonata_item_selector")
|
|
19231
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
19232
|
+
|
|
19176
19233
|
@builtins.property
|
|
19177
19234
|
def max_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
19178
19235
|
'''MaxConcurrency.
|
|
@@ -19391,6 +19448,7 @@ class DistributedMapJsonPathProps(
|
|
|
19391
19448
|
"state_name": "stateName",
|
|
19392
19449
|
"assign": "assign",
|
|
19393
19450
|
"item_selector": "itemSelector",
|
|
19451
|
+
"jsonata_item_selector": "jsonataItemSelector",
|
|
19394
19452
|
"max_concurrency": "maxConcurrency",
|
|
19395
19453
|
"outputs": "outputs",
|
|
19396
19454
|
"items": "items",
|
|
@@ -19413,6 +19471,7 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
|
|
|
19413
19471
|
state_name: typing.Optional[builtins.str] = None,
|
|
19414
19472
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
19415
19473
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
19474
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
19416
19475
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
19417
19476
|
outputs: typing.Any = None,
|
|
19418
19477
|
items: typing.Optional[ProvideItems] = None,
|
|
@@ -19431,7 +19490,8 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
|
|
|
19431
19490
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
19432
19491
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
19433
19492
|
:param assign: Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables
|
|
19434
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
19493
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
19494
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
19435
19495
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
19436
19496
|
:param outputs: Used to specify and transform output from the state. When specified, the value overrides the state output default. The output field accepts any JSON value (object, array, string, number, boolean, null). Any string value, including those inside objects or arrays, will be evaluated as JSONata if surrounded by {% %} characters. Output also accepts a JSONata expression directly. Default: - $states.result or $states.errorOutput
|
|
19437
19497
|
:param items: The array that the Map state will iterate over. Default: - The state input as is.
|
|
@@ -19472,6 +19532,7 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
|
|
|
19472
19532
|
item_selector={
|
|
19473
19533
|
"item_selector_key": item_selector
|
|
19474
19534
|
},
|
|
19535
|
+
jsonata_item_selector="jsonataItemSelector",
|
|
19475
19536
|
label="label",
|
|
19476
19537
|
map_execution_type=stepfunctions.StateMachineType.EXPRESS,
|
|
19477
19538
|
max_concurrency=123,
|
|
@@ -19491,6 +19552,7 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
|
|
|
19491
19552
|
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
19492
19553
|
check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
|
|
19493
19554
|
check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
|
|
19555
|
+
check_type(argname="argument jsonata_item_selector", value=jsonata_item_selector, expected_type=type_hints["jsonata_item_selector"])
|
|
19494
19556
|
check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
|
|
19495
19557
|
check_type(argname="argument outputs", value=outputs, expected_type=type_hints["outputs"])
|
|
19496
19558
|
check_type(argname="argument items", value=items, expected_type=type_hints["items"])
|
|
@@ -19513,6 +19575,8 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
|
|
|
19513
19575
|
self._values["assign"] = assign
|
|
19514
19576
|
if item_selector is not None:
|
|
19515
19577
|
self._values["item_selector"] = item_selector
|
|
19578
|
+
if jsonata_item_selector is not None:
|
|
19579
|
+
self._values["jsonata_item_selector"] = jsonata_item_selector
|
|
19516
19580
|
if max_concurrency is not None:
|
|
19517
19581
|
self._values["max_concurrency"] = max_concurrency
|
|
19518
19582
|
if outputs is not None:
|
|
@@ -19583,7 +19647,7 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
|
|
|
19583
19647
|
def item_selector(
|
|
19584
19648
|
self,
|
|
19585
19649
|
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
19586
|
-
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``).
|
|
19650
|
+
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``).
|
|
19587
19651
|
|
|
19588
19652
|
:default: $
|
|
19589
19653
|
|
|
@@ -19592,6 +19656,17 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
|
|
|
19592
19656
|
result = self._values.get("item_selector")
|
|
19593
19657
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
19594
19658
|
|
|
19659
|
+
@builtins.property
|
|
19660
|
+
def jsonata_item_selector(self) -> typing.Optional[builtins.str]:
|
|
19661
|
+
'''Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``).
|
|
19662
|
+
|
|
19663
|
+
Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}``
|
|
19664
|
+
|
|
19665
|
+
:default: $
|
|
19666
|
+
'''
|
|
19667
|
+
result = self._values.get("jsonata_item_selector")
|
|
19668
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
19669
|
+
|
|
19595
19670
|
@builtins.property
|
|
19596
19671
|
def max_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
19597
19672
|
'''MaxConcurrency.
|
|
@@ -20745,6 +20820,7 @@ class MapBase(
|
|
|
20745
20820
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
20746
20821
|
state_name: typing.Optional[builtins.str] = None,
|
|
20747
20822
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
20823
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
20748
20824
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
20749
20825
|
items_path: typing.Optional[builtins.str] = None,
|
|
20750
20826
|
max_concurrency_path: typing.Optional[builtins.str] = None,
|
|
@@ -20762,7 +20838,8 @@ class MapBase(
|
|
|
20762
20838
|
:param comment: A comment describing this state. Default: No comment
|
|
20763
20839
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
20764
20840
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
20765
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
20841
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
20842
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
20766
20843
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
20767
20844
|
:param items_path: JSONPath expression to select the array to iterate over. Default: $
|
|
20768
20845
|
:param max_concurrency_path: MaxConcurrencyPath. A JsonPath that specifies the maximum concurrency dynamically from the state input. Default: - full concurrency
|
|
@@ -20783,6 +20860,7 @@ class MapBase(
|
|
|
20783
20860
|
query_language=query_language,
|
|
20784
20861
|
state_name=state_name,
|
|
20785
20862
|
item_selector=item_selector,
|
|
20863
|
+
jsonata_item_selector=jsonata_item_selector,
|
|
20786
20864
|
max_concurrency=max_concurrency,
|
|
20787
20865
|
items_path=items_path,
|
|
20788
20866
|
max_concurrency_path=max_concurrency_path,
|
|
@@ -20850,6 +20928,11 @@ class MapBase(
|
|
|
20850
20928
|
def _items_path(self) -> typing.Optional[builtins.str]:
|
|
20851
20929
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "itemsPath"))
|
|
20852
20930
|
|
|
20931
|
+
@builtins.property
|
|
20932
|
+
@jsii.member(jsii_name="jsonataItemSelector")
|
|
20933
|
+
def _jsonata_item_selector(self) -> typing.Optional[builtins.str]:
|
|
20934
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "jsonataItemSelector"))
|
|
20935
|
+
|
|
20853
20936
|
|
|
20854
20937
|
class _MapBaseProxy(
|
|
20855
20938
|
MapBase,
|
|
@@ -20872,6 +20955,7 @@ typing.cast(typing.Any, MapBase).__jsii_proxy_class__ = lambda : _MapBaseProxy
|
|
|
20872
20955
|
"state_name": "stateName",
|
|
20873
20956
|
"assign": "assign",
|
|
20874
20957
|
"item_selector": "itemSelector",
|
|
20958
|
+
"jsonata_item_selector": "jsonataItemSelector",
|
|
20875
20959
|
"max_concurrency": "maxConcurrency",
|
|
20876
20960
|
"input_path": "inputPath",
|
|
20877
20961
|
"output_path": "outputPath",
|
|
@@ -20897,6 +20981,7 @@ class MapBaseProps(
|
|
|
20897
20981
|
state_name: typing.Optional[builtins.str] = None,
|
|
20898
20982
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
20899
20983
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
20984
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
20900
20985
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
20901
20986
|
input_path: typing.Optional[builtins.str] = None,
|
|
20902
20987
|
output_path: typing.Optional[builtins.str] = None,
|
|
@@ -20913,7 +20998,8 @@ class MapBaseProps(
|
|
|
20913
20998
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
20914
20999
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
20915
21000
|
:param assign: Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables
|
|
20916
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
21001
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
21002
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
20917
21003
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
20918
21004
|
:param input_path: JSONPath expression to select part of the state to be the input to this state. May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}. Default: $
|
|
20919
21005
|
:param output_path: JSONPath expression to select part of the state to be the output to this state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: $
|
|
@@ -20949,6 +21035,7 @@ class MapBaseProps(
|
|
|
20949
21035
|
"item_selector_key": item_selector
|
|
20950
21036
|
},
|
|
20951
21037
|
items_path="itemsPath",
|
|
21038
|
+
jsonata_item_selector="jsonataItemSelector",
|
|
20952
21039
|
max_concurrency=123,
|
|
20953
21040
|
max_concurrency_path="maxConcurrencyPath",
|
|
20954
21041
|
output_path="outputPath",
|
|
@@ -20968,6 +21055,7 @@ class MapBaseProps(
|
|
|
20968
21055
|
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
20969
21056
|
check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
|
|
20970
21057
|
check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
|
|
21058
|
+
check_type(argname="argument jsonata_item_selector", value=jsonata_item_selector, expected_type=type_hints["jsonata_item_selector"])
|
|
20971
21059
|
check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
|
|
20972
21060
|
check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
|
|
20973
21061
|
check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
|
|
@@ -20988,6 +21076,8 @@ class MapBaseProps(
|
|
|
20988
21076
|
self._values["assign"] = assign
|
|
20989
21077
|
if item_selector is not None:
|
|
20990
21078
|
self._values["item_selector"] = item_selector
|
|
21079
|
+
if jsonata_item_selector is not None:
|
|
21080
|
+
self._values["jsonata_item_selector"] = jsonata_item_selector
|
|
20991
21081
|
if max_concurrency is not None:
|
|
20992
21082
|
self._values["max_concurrency"] = max_concurrency
|
|
20993
21083
|
if input_path is not None:
|
|
@@ -21054,7 +21144,7 @@ class MapBaseProps(
|
|
|
21054
21144
|
def item_selector(
|
|
21055
21145
|
self,
|
|
21056
21146
|
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
21057
|
-
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``).
|
|
21147
|
+
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``).
|
|
21058
21148
|
|
|
21059
21149
|
:default: $
|
|
21060
21150
|
|
|
@@ -21063,6 +21153,17 @@ class MapBaseProps(
|
|
|
21063
21153
|
result = self._values.get("item_selector")
|
|
21064
21154
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
21065
21155
|
|
|
21156
|
+
@builtins.property
|
|
21157
|
+
def jsonata_item_selector(self) -> typing.Optional[builtins.str]:
|
|
21158
|
+
'''Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``).
|
|
21159
|
+
|
|
21160
|
+
Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}``
|
|
21161
|
+
|
|
21162
|
+
:default: $
|
|
21163
|
+
'''
|
|
21164
|
+
result = self._values.get("jsonata_item_selector")
|
|
21165
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
21166
|
+
|
|
21066
21167
|
@builtins.property
|
|
21067
21168
|
def max_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
21068
21169
|
'''MaxConcurrency.
|
|
@@ -21197,6 +21298,7 @@ class MapBaseProps(
|
|
|
21197
21298
|
"state_name": "stateName",
|
|
21198
21299
|
"assign": "assign",
|
|
21199
21300
|
"item_selector": "itemSelector",
|
|
21301
|
+
"jsonata_item_selector": "jsonataItemSelector",
|
|
21200
21302
|
"max_concurrency": "maxConcurrency",
|
|
21201
21303
|
"input_path": "inputPath",
|
|
21202
21304
|
"output_path": "outputPath",
|
|
@@ -21216,6 +21318,7 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
|
|
|
21216
21318
|
state_name: typing.Optional[builtins.str] = None,
|
|
21217
21319
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
21218
21320
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
21321
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
21219
21322
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
21220
21323
|
input_path: typing.Optional[builtins.str] = None,
|
|
21221
21324
|
output_path: typing.Optional[builtins.str] = None,
|
|
@@ -21231,7 +21334,8 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
|
|
|
21231
21334
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
21232
21335
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
21233
21336
|
:param assign: Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables
|
|
21234
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
21337
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
21338
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
21235
21339
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
21236
21340
|
:param input_path: JSONPath expression to select part of the state to be the input to this state. May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}. Default: $
|
|
21237
21341
|
:param output_path: JSONPath expression to select part of the state to be the output to this state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: $
|
|
@@ -21264,6 +21368,7 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
|
|
|
21264
21368
|
"item_selector_key": item_selector
|
|
21265
21369
|
},
|
|
21266
21370
|
items_path="itemsPath",
|
|
21371
|
+
jsonata_item_selector="jsonataItemSelector",
|
|
21267
21372
|
max_concurrency=123,
|
|
21268
21373
|
max_concurrency_path="maxConcurrencyPath",
|
|
21269
21374
|
output_path="outputPath",
|
|
@@ -21285,6 +21390,7 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
|
|
|
21285
21390
|
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
21286
21391
|
check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
|
|
21287
21392
|
check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
|
|
21393
|
+
check_type(argname="argument jsonata_item_selector", value=jsonata_item_selector, expected_type=type_hints["jsonata_item_selector"])
|
|
21288
21394
|
check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
|
|
21289
21395
|
check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
|
|
21290
21396
|
check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
|
|
@@ -21304,6 +21410,8 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
|
|
|
21304
21410
|
self._values["assign"] = assign
|
|
21305
21411
|
if item_selector is not None:
|
|
21306
21412
|
self._values["item_selector"] = item_selector
|
|
21413
|
+
if jsonata_item_selector is not None:
|
|
21414
|
+
self._values["jsonata_item_selector"] = jsonata_item_selector
|
|
21307
21415
|
if max_concurrency is not None:
|
|
21308
21416
|
self._values["max_concurrency"] = max_concurrency
|
|
21309
21417
|
if input_path is not None:
|
|
@@ -21368,7 +21476,7 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
|
|
|
21368
21476
|
def item_selector(
|
|
21369
21477
|
self,
|
|
21370
21478
|
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
21371
|
-
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``).
|
|
21479
|
+
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``).
|
|
21372
21480
|
|
|
21373
21481
|
:default: $
|
|
21374
21482
|
|
|
@@ -21377,6 +21485,17 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
|
|
|
21377
21485
|
result = self._values.get("item_selector")
|
|
21378
21486
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
21379
21487
|
|
|
21488
|
+
@builtins.property
|
|
21489
|
+
def jsonata_item_selector(self) -> typing.Optional[builtins.str]:
|
|
21490
|
+
'''Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``).
|
|
21491
|
+
|
|
21492
|
+
Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}``
|
|
21493
|
+
|
|
21494
|
+
:default: $
|
|
21495
|
+
'''
|
|
21496
|
+
result = self._values.get("jsonata_item_selector")
|
|
21497
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
21498
|
+
|
|
21380
21499
|
@builtins.property
|
|
21381
21500
|
def max_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
21382
21501
|
'''MaxConcurrency.
|
|
@@ -21502,6 +21621,7 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
|
|
|
21502
21621
|
"state_name": "stateName",
|
|
21503
21622
|
"assign": "assign",
|
|
21504
21623
|
"item_selector": "itemSelector",
|
|
21624
|
+
"jsonata_item_selector": "jsonataItemSelector",
|
|
21505
21625
|
"max_concurrency": "maxConcurrency",
|
|
21506
21626
|
"outputs": "outputs",
|
|
21507
21627
|
"items": "items",
|
|
@@ -21517,6 +21637,7 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
|
|
|
21517
21637
|
state_name: typing.Optional[builtins.str] = None,
|
|
21518
21638
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
21519
21639
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
21640
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
21520
21641
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
21521
21642
|
outputs: typing.Any = None,
|
|
21522
21643
|
items: typing.Optional[ProvideItems] = None,
|
|
@@ -21528,7 +21649,8 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
|
|
|
21528
21649
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
21529
21650
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
21530
21651
|
:param assign: Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables
|
|
21531
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
21652
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
21653
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
21532
21654
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
21533
21655
|
:param outputs: Used to specify and transform output from the state. When specified, the value overrides the state output default. The output field accepts any JSON value (object, array, string, number, boolean, null). Any string value, including those inside objects or arrays, will be evaluated as JSONata if surrounded by {% %} characters. Output also accepts a JSONata expression directly. Default: - $states.result or $states.errorOutput
|
|
21534
21656
|
:param items: The array that the Map state will iterate over. Default: - The state input as is.
|
|
@@ -21557,6 +21679,7 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
|
|
|
21557
21679
|
item_selector={
|
|
21558
21680
|
"item_selector_key": item_selector
|
|
21559
21681
|
},
|
|
21682
|
+
jsonata_item_selector="jsonataItemSelector",
|
|
21560
21683
|
max_concurrency=123,
|
|
21561
21684
|
outputs=outputs,
|
|
21562
21685
|
parameters={
|
|
@@ -21573,6 +21696,7 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
|
|
|
21573
21696
|
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
21574
21697
|
check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
|
|
21575
21698
|
check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
|
|
21699
|
+
check_type(argname="argument jsonata_item_selector", value=jsonata_item_selector, expected_type=type_hints["jsonata_item_selector"])
|
|
21576
21700
|
check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
|
|
21577
21701
|
check_type(argname="argument outputs", value=outputs, expected_type=type_hints["outputs"])
|
|
21578
21702
|
check_type(argname="argument items", value=items, expected_type=type_hints["items"])
|
|
@@ -21588,6 +21712,8 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
|
|
|
21588
21712
|
self._values["assign"] = assign
|
|
21589
21713
|
if item_selector is not None:
|
|
21590
21714
|
self._values["item_selector"] = item_selector
|
|
21715
|
+
if jsonata_item_selector is not None:
|
|
21716
|
+
self._values["jsonata_item_selector"] = jsonata_item_selector
|
|
21591
21717
|
if max_concurrency is not None:
|
|
21592
21718
|
self._values["max_concurrency"] = max_concurrency
|
|
21593
21719
|
if outputs is not None:
|
|
@@ -21644,7 +21770,7 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
|
|
|
21644
21770
|
def item_selector(
|
|
21645
21771
|
self,
|
|
21646
21772
|
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
21647
|
-
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``).
|
|
21773
|
+
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``).
|
|
21648
21774
|
|
|
21649
21775
|
:default: $
|
|
21650
21776
|
|
|
@@ -21653,6 +21779,17 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
|
|
|
21653
21779
|
result = self._values.get("item_selector")
|
|
21654
21780
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
21655
21781
|
|
|
21782
|
+
@builtins.property
|
|
21783
|
+
def jsonata_item_selector(self) -> typing.Optional[builtins.str]:
|
|
21784
|
+
'''Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``).
|
|
21785
|
+
|
|
21786
|
+
Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}``
|
|
21787
|
+
|
|
21788
|
+
:default: $
|
|
21789
|
+
'''
|
|
21790
|
+
result = self._values.get("jsonata_item_selector")
|
|
21791
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
21792
|
+
|
|
21656
21793
|
@builtins.property
|
|
21657
21794
|
def max_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
21658
21795
|
'''MaxConcurrency.
|
|
@@ -21730,6 +21867,7 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
|
|
|
21730
21867
|
"state_name": "stateName",
|
|
21731
21868
|
"assign": "assign",
|
|
21732
21869
|
"item_selector": "itemSelector",
|
|
21870
|
+
"jsonata_item_selector": "jsonataItemSelector",
|
|
21733
21871
|
"max_concurrency": "maxConcurrency",
|
|
21734
21872
|
"input_path": "inputPath",
|
|
21735
21873
|
"output_path": "outputPath",
|
|
@@ -21751,6 +21889,7 @@ class MapProps(MapBaseProps, MapBaseOptions):
|
|
|
21751
21889
|
state_name: typing.Optional[builtins.str] = None,
|
|
21752
21890
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
21753
21891
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
21892
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
21754
21893
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
21755
21894
|
input_path: typing.Optional[builtins.str] = None,
|
|
21756
21895
|
output_path: typing.Optional[builtins.str] = None,
|
|
@@ -21768,7 +21907,8 @@ class MapProps(MapBaseProps, MapBaseOptions):
|
|
|
21768
21907
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
21769
21908
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
21770
21909
|
:param assign: Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables
|
|
21771
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
21910
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
21911
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
21772
21912
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
21773
21913
|
:param input_path: JSONPath expression to select part of the state to be the input to this state. May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}. Default: $
|
|
21774
21914
|
:param output_path: JSONPath expression to select part of the state to be the output to this state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: $
|
|
@@ -21793,17 +21933,10 @@ class MapProps(MapBaseProps, MapBaseOptions):
|
|
|
21793
21933
|
result_path="$.mapOutput"
|
|
21794
21934
|
)
|
|
21795
21935
|
|
|
21796
|
-
|
|
21797
|
-
|
|
21798
|
-
|
|
21799
|
-
|
|
21800
|
-
step1 = sfn.Pass(self, "Step1")
|
|
21801
|
-
step2 = sfn.Pass(self, "Step2")
|
|
21802
|
-
finish = sfn.Pass(self, "Finish")
|
|
21803
|
-
|
|
21804
|
-
definition = choice.when(condition1, step1).otherwise(step2).afterwards().next(finish)
|
|
21805
|
-
|
|
21806
|
-
map.item_processor(definition)
|
|
21936
|
+
map.item_processor(sfn.Pass(self, "Pass State"),
|
|
21937
|
+
mode=sfn.ProcessorMode.DISTRIBUTED,
|
|
21938
|
+
execution_type=sfn.ProcessorType.STANDARD
|
|
21939
|
+
)
|
|
21807
21940
|
'''
|
|
21808
21941
|
if __debug__:
|
|
21809
21942
|
type_hints = typing.get_type_hints(_typecheckingstub__841961f24272e2df479ccf3f591259c5dbc7bf471c2a6e11c7c7d61bf0e153ec)
|
|
@@ -21812,6 +21945,7 @@ class MapProps(MapBaseProps, MapBaseOptions):
|
|
|
21812
21945
|
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
21813
21946
|
check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
|
|
21814
21947
|
check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
|
|
21948
|
+
check_type(argname="argument jsonata_item_selector", value=jsonata_item_selector, expected_type=type_hints["jsonata_item_selector"])
|
|
21815
21949
|
check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
|
|
21816
21950
|
check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
|
|
21817
21951
|
check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
|
|
@@ -21833,6 +21967,8 @@ class MapProps(MapBaseProps, MapBaseOptions):
|
|
|
21833
21967
|
self._values["assign"] = assign
|
|
21834
21968
|
if item_selector is not None:
|
|
21835
21969
|
self._values["item_selector"] = item_selector
|
|
21970
|
+
if jsonata_item_selector is not None:
|
|
21971
|
+
self._values["jsonata_item_selector"] = jsonata_item_selector
|
|
21836
21972
|
if max_concurrency is not None:
|
|
21837
21973
|
self._values["max_concurrency"] = max_concurrency
|
|
21838
21974
|
if input_path is not None:
|
|
@@ -21901,7 +22037,7 @@ class MapProps(MapBaseProps, MapBaseOptions):
|
|
|
21901
22037
|
def item_selector(
|
|
21902
22038
|
self,
|
|
21903
22039
|
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
21904
|
-
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``).
|
|
22040
|
+
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``).
|
|
21905
22041
|
|
|
21906
22042
|
:default: $
|
|
21907
22043
|
|
|
@@ -21910,6 +22046,17 @@ class MapProps(MapBaseProps, MapBaseOptions):
|
|
|
21910
22046
|
result = self._values.get("item_selector")
|
|
21911
22047
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
21912
22048
|
|
|
22049
|
+
@builtins.property
|
|
22050
|
+
def jsonata_item_selector(self) -> typing.Optional[builtins.str]:
|
|
22051
|
+
'''Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``).
|
|
22052
|
+
|
|
22053
|
+
Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}``
|
|
22054
|
+
|
|
22055
|
+
:default: $
|
|
22056
|
+
'''
|
|
22057
|
+
result = self._values.get("jsonata_item_selector")
|
|
22058
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
22059
|
+
|
|
21913
22060
|
@builtins.property
|
|
21914
22061
|
def max_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
21915
22062
|
'''MaxConcurrency.
|
|
@@ -24325,6 +24472,7 @@ class DistributedMap(
|
|
|
24325
24472
|
tolerated_failure_percentage: typing.Optional[jsii.Number] = None,
|
|
24326
24473
|
tolerated_failure_percentage_path: typing.Optional[builtins.str] = None,
|
|
24327
24474
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
24475
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
24328
24476
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
24329
24477
|
items_path: typing.Optional[builtins.str] = None,
|
|
24330
24478
|
max_concurrency_path: typing.Optional[builtins.str] = None,
|
|
@@ -24352,7 +24500,8 @@ class DistributedMap(
|
|
|
24352
24500
|
:param tolerated_failure_count_path: ToleratedFailureCountPath. Number of failed items to tolerate in a Map Run, as JsonPath Default: - No toleratedFailureCountPath
|
|
24353
24501
|
:param tolerated_failure_percentage: ToleratedFailurePercentage. Percentage of failed items to tolerate in a Map Run, as static number Default: - No toleratedFailurePercentage
|
|
24354
24502
|
:param tolerated_failure_percentage_path: ToleratedFailurePercentagePath. Percentage of failed items to tolerate in a Map Run, as JsonPath Default: - No toleratedFailurePercentagePath
|
|
24355
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
24503
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
24504
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
24356
24505
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
24357
24506
|
:param items_path: JSONPath expression to select the array to iterate over. Default: $
|
|
24358
24507
|
:param max_concurrency_path: MaxConcurrencyPath. A JsonPath that specifies the maximum concurrency dynamically from the state input. Default: - full concurrency
|
|
@@ -24383,6 +24532,7 @@ class DistributedMap(
|
|
|
24383
24532
|
tolerated_failure_percentage=tolerated_failure_percentage,
|
|
24384
24533
|
tolerated_failure_percentage_path=tolerated_failure_percentage_path,
|
|
24385
24534
|
item_selector=item_selector,
|
|
24535
|
+
jsonata_item_selector=jsonata_item_selector,
|
|
24386
24536
|
max_concurrency=max_concurrency,
|
|
24387
24537
|
items_path=items_path,
|
|
24388
24538
|
max_concurrency_path=max_concurrency_path,
|
|
@@ -24431,6 +24581,7 @@ class DistributedMap(
|
|
|
24431
24581
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
24432
24582
|
state_name: typing.Optional[builtins.str] = None,
|
|
24433
24583
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
24584
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
24434
24585
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
24435
24586
|
items: typing.Optional[ProvideItems] = None,
|
|
24436
24587
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -24460,7 +24611,8 @@ class DistributedMap(
|
|
|
24460
24611
|
:param comment: A comment describing this state. Default: No comment
|
|
24461
24612
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
24462
24613
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
24463
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
24614
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
24615
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
24464
24616
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
24465
24617
|
:param items: The array that the Map state will iterate over. Default: - The state input as is.
|
|
24466
24618
|
:param assign: Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables
|
|
@@ -24485,6 +24637,7 @@ class DistributedMap(
|
|
|
24485
24637
|
query_language=query_language,
|
|
24486
24638
|
state_name=state_name,
|
|
24487
24639
|
item_selector=item_selector,
|
|
24640
|
+
jsonata_item_selector=jsonata_item_selector,
|
|
24488
24641
|
max_concurrency=max_concurrency,
|
|
24489
24642
|
items=items,
|
|
24490
24643
|
assign=assign,
|
|
@@ -24514,6 +24667,7 @@ class DistributedMap(
|
|
|
24514
24667
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
24515
24668
|
state_name: typing.Optional[builtins.str] = None,
|
|
24516
24669
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
24670
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
24517
24671
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
24518
24672
|
items_path: typing.Optional[builtins.str] = None,
|
|
24519
24673
|
max_concurrency_path: typing.Optional[builtins.str] = None,
|
|
@@ -24549,7 +24703,8 @@ class DistributedMap(
|
|
|
24549
24703
|
:param comment: A comment describing this state. Default: No comment
|
|
24550
24704
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
24551
24705
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
24552
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
24706
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
24707
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
24553
24708
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
24554
24709
|
:param items_path: JSONPath expression to select the array to iterate over. Default: $
|
|
24555
24710
|
:param max_concurrency_path: MaxConcurrencyPath. A JsonPath that specifies the maximum concurrency dynamically from the state input. Default: - full concurrency
|
|
@@ -24580,6 +24735,7 @@ class DistributedMap(
|
|
|
24580
24735
|
query_language=query_language,
|
|
24581
24736
|
state_name=state_name,
|
|
24582
24737
|
item_selector=item_selector,
|
|
24738
|
+
jsonata_item_selector=jsonata_item_selector,
|
|
24583
24739
|
max_concurrency=max_concurrency,
|
|
24584
24740
|
items_path=items_path,
|
|
24585
24741
|
max_concurrency_path=max_concurrency_path,
|
|
@@ -24723,6 +24879,7 @@ class DistributedMap(
|
|
|
24723
24879
|
"state_name": "stateName",
|
|
24724
24880
|
"assign": "assign",
|
|
24725
24881
|
"item_selector": "itemSelector",
|
|
24882
|
+
"jsonata_item_selector": "jsonataItemSelector",
|
|
24726
24883
|
"max_concurrency": "maxConcurrency",
|
|
24727
24884
|
"input_path": "inputPath",
|
|
24728
24885
|
"output_path": "outputPath",
|
|
@@ -24758,6 +24915,7 @@ class DistributedMapProps(
|
|
|
24758
24915
|
state_name: typing.Optional[builtins.str] = None,
|
|
24759
24916
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
24760
24917
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
24918
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
24761
24919
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
24762
24920
|
input_path: typing.Optional[builtins.str] = None,
|
|
24763
24921
|
output_path: typing.Optional[builtins.str] = None,
|
|
@@ -24784,7 +24942,8 @@ class DistributedMapProps(
|
|
|
24784
24942
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
24785
24943
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
24786
24944
|
:param assign: Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables
|
|
24787
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
24945
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
24946
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
24788
24947
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
24789
24948
|
:param input_path: JSONPath expression to select part of the state to be the input to this state. May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}. Default: $
|
|
24790
24949
|
:param output_path: JSONPath expression to select part of the state to be the output to this state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: $
|
|
@@ -24831,6 +24990,7 @@ class DistributedMapProps(
|
|
|
24831
24990
|
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
24832
24991
|
check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
|
|
24833
24992
|
check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
|
|
24993
|
+
check_type(argname="argument jsonata_item_selector", value=jsonata_item_selector, expected_type=type_hints["jsonata_item_selector"])
|
|
24834
24994
|
check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
|
|
24835
24995
|
check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
|
|
24836
24996
|
check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
|
|
@@ -24861,6 +25021,8 @@ class DistributedMapProps(
|
|
|
24861
25021
|
self._values["assign"] = assign
|
|
24862
25022
|
if item_selector is not None:
|
|
24863
25023
|
self._values["item_selector"] = item_selector
|
|
25024
|
+
if jsonata_item_selector is not None:
|
|
25025
|
+
self._values["jsonata_item_selector"] = jsonata_item_selector
|
|
24864
25026
|
if max_concurrency is not None:
|
|
24865
25027
|
self._values["max_concurrency"] = max_concurrency
|
|
24866
25028
|
if input_path is not None:
|
|
@@ -24947,7 +25109,7 @@ class DistributedMapProps(
|
|
|
24947
25109
|
def item_selector(
|
|
24948
25110
|
self,
|
|
24949
25111
|
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
24950
|
-
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``).
|
|
25112
|
+
'''The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``).
|
|
24951
25113
|
|
|
24952
25114
|
:default: $
|
|
24953
25115
|
|
|
@@ -24956,6 +25118,17 @@ class DistributedMapProps(
|
|
|
24956
25118
|
result = self._values.get("item_selector")
|
|
24957
25119
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
24958
25120
|
|
|
25121
|
+
@builtins.property
|
|
25122
|
+
def jsonata_item_selector(self) -> typing.Optional[builtins.str]:
|
|
25123
|
+
'''Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``).
|
|
25124
|
+
|
|
25125
|
+
Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}``
|
|
25126
|
+
|
|
25127
|
+
:default: $
|
|
25128
|
+
'''
|
|
25129
|
+
result = self._values.get("jsonata_item_selector")
|
|
25130
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
25131
|
+
|
|
24959
25132
|
@builtins.property
|
|
24960
25133
|
def max_concurrency(self) -> typing.Optional[jsii.Number]:
|
|
24961
25134
|
'''MaxConcurrency.
|
|
@@ -25219,17 +25392,10 @@ class Map(
|
|
|
25219
25392
|
result_path="$.mapOutput"
|
|
25220
25393
|
)
|
|
25221
25394
|
|
|
25222
|
-
|
|
25223
|
-
|
|
25224
|
-
|
|
25225
|
-
|
|
25226
|
-
step1 = sfn.Pass(self, "Step1")
|
|
25227
|
-
step2 = sfn.Pass(self, "Step2")
|
|
25228
|
-
finish = sfn.Pass(self, "Finish")
|
|
25229
|
-
|
|
25230
|
-
definition = choice.when(condition1, step1).otherwise(step2).afterwards().next(finish)
|
|
25231
|
-
|
|
25232
|
-
map.item_processor(definition)
|
|
25395
|
+
map.item_processor(sfn.Pass(self, "Pass State"),
|
|
25396
|
+
mode=sfn.ProcessorMode.DISTRIBUTED,
|
|
25397
|
+
execution_type=sfn.ProcessorType.STANDARD
|
|
25398
|
+
)
|
|
25233
25399
|
'''
|
|
25234
25400
|
|
|
25235
25401
|
def __init__(
|
|
@@ -25239,6 +25405,7 @@ class Map(
|
|
|
25239
25405
|
*,
|
|
25240
25406
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
25241
25407
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
25408
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
25242
25409
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
25243
25410
|
comment: typing.Optional[builtins.str] = None,
|
|
25244
25411
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
@@ -25257,7 +25424,8 @@ class Map(
|
|
|
25257
25424
|
:param scope: -
|
|
25258
25425
|
:param id: Descriptive identifier for this chainable.
|
|
25259
25426
|
:param parameters: (deprecated) The JSON that you want to override your default iteration input (mutually exclusive with ``itemSelector``). Default: $
|
|
25260
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
25427
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
25428
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
25261
25429
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
25262
25430
|
:param comment: A comment describing this state. Default: No comment
|
|
25263
25431
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
@@ -25279,6 +25447,7 @@ class Map(
|
|
|
25279
25447
|
props = MapProps(
|
|
25280
25448
|
parameters=parameters,
|
|
25281
25449
|
item_selector=item_selector,
|
|
25450
|
+
jsonata_item_selector=jsonata_item_selector,
|
|
25282
25451
|
max_concurrency=max_concurrency,
|
|
25283
25452
|
comment=comment,
|
|
25284
25453
|
query_language=query_language,
|
|
@@ -25308,6 +25477,7 @@ class Map(
|
|
|
25308
25477
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
25309
25478
|
state_name: typing.Optional[builtins.str] = None,
|
|
25310
25479
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
25480
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
25311
25481
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
25312
25482
|
items: typing.Optional[ProvideItems] = None,
|
|
25313
25483
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -25327,7 +25497,8 @@ class Map(
|
|
|
25327
25497
|
:param comment: A comment describing this state. Default: No comment
|
|
25328
25498
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
25329
25499
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
25330
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
25500
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
25501
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
25331
25502
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
25332
25503
|
:param items: The array that the Map state will iterate over. Default: - The state input as is.
|
|
25333
25504
|
:param assign: Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps. Default: - Not assign variables
|
|
@@ -25345,6 +25516,7 @@ class Map(
|
|
|
25345
25516
|
query_language=query_language,
|
|
25346
25517
|
state_name=state_name,
|
|
25347
25518
|
item_selector=item_selector,
|
|
25519
|
+
jsonata_item_selector=jsonata_item_selector,
|
|
25348
25520
|
max_concurrency=max_concurrency,
|
|
25349
25521
|
items=items,
|
|
25350
25522
|
assign=assign,
|
|
@@ -25365,6 +25537,7 @@ class Map(
|
|
|
25365
25537
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
25366
25538
|
state_name: typing.Optional[builtins.str] = None,
|
|
25367
25539
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
25540
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
25368
25541
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
25369
25542
|
items_path: typing.Optional[builtins.str] = None,
|
|
25370
25543
|
max_concurrency_path: typing.Optional[builtins.str] = None,
|
|
@@ -25388,7 +25561,8 @@ class Map(
|
|
|
25388
25561
|
:param comment: A comment describing this state. Default: No comment
|
|
25389
25562
|
:param query_language: The name of the query language used by the state. If the state does not contain a ``queryLanguage`` field, then it will use the query language specified in the top-level ``queryLanguage`` field. Default: - JSONPath
|
|
25390
25563
|
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
25391
|
-
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
|
|
25564
|
+
:param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters`` and ``jsonataItemSelector``). Default: $
|
|
25565
|
+
:param jsonata_item_selector: Jsonata expression that evaluates to a JSON array to override your default iteration input (mutually exclusive with ``parameters`` and ``itemSelector``). Example value: ``{% {\\"foo\\": \\"foo\\", \\"input\\": $states.input} %}`` Default: $
|
|
25392
25566
|
:param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
|
|
25393
25567
|
:param items_path: JSONPath expression to select the array to iterate over. Default: $
|
|
25394
25568
|
:param max_concurrency_path: MaxConcurrencyPath. A JsonPath that specifies the maximum concurrency dynamically from the state input. Default: - full concurrency
|
|
@@ -25410,6 +25584,7 @@ class Map(
|
|
|
25410
25584
|
query_language=query_language,
|
|
25411
25585
|
state_name=state_name,
|
|
25412
25586
|
item_selector=item_selector,
|
|
25587
|
+
jsonata_item_selector=jsonata_item_selector,
|
|
25413
25588
|
max_concurrency=max_concurrency,
|
|
25414
25589
|
items_path=items_path,
|
|
25415
25590
|
max_concurrency_path=max_concurrency_path,
|
|
@@ -26833,6 +27008,7 @@ def _typecheckingstub__7e64b5e53f029b5753785385b8477bb5c760876cfc7efe1b7fa47a5f7
|
|
|
26833
27008
|
*,
|
|
26834
27009
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
26835
27010
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
27011
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
26836
27012
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
26837
27013
|
) -> None:
|
|
26838
27014
|
"""Type checking stubs"""
|
|
@@ -28058,6 +28234,7 @@ def _typecheckingstub__ec64abf9bcf7fc88fbbd0e8dea491d0fe3b15022e0a3a15ff395d55b0
|
|
|
28058
28234
|
state_name: typing.Optional[builtins.str] = None,
|
|
28059
28235
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28060
28236
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28237
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28061
28238
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28062
28239
|
input_path: typing.Optional[builtins.str] = None,
|
|
28063
28240
|
output_path: typing.Optional[builtins.str] = None,
|
|
@@ -28086,6 +28263,7 @@ def _typecheckingstub__81ff0c38557baaa35eb92b4d57e31ecde27db396059124470432c8292
|
|
|
28086
28263
|
state_name: typing.Optional[builtins.str] = None,
|
|
28087
28264
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28088
28265
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28266
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28089
28267
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28090
28268
|
outputs: typing.Any = None,
|
|
28091
28269
|
items: typing.Optional[ProvideItems] = None,
|
|
@@ -28222,6 +28400,7 @@ def _typecheckingstub__0d25d492eb753f17d954200a30dfae328a6f5710335312d1b5ffe0113
|
|
|
28222
28400
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
28223
28401
|
state_name: typing.Optional[builtins.str] = None,
|
|
28224
28402
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28403
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28225
28404
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28226
28405
|
items_path: typing.Optional[builtins.str] = None,
|
|
28227
28406
|
max_concurrency_path: typing.Optional[builtins.str] = None,
|
|
@@ -28255,6 +28434,7 @@ def _typecheckingstub__123fd5cef3e54859ea847c1cc590a95cd39ecae394611b5e8add5b44b
|
|
|
28255
28434
|
state_name: typing.Optional[builtins.str] = None,
|
|
28256
28435
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28257
28436
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28437
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28258
28438
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28259
28439
|
input_path: typing.Optional[builtins.str] = None,
|
|
28260
28440
|
output_path: typing.Optional[builtins.str] = None,
|
|
@@ -28275,6 +28455,7 @@ def _typecheckingstub__1418bfef4d27a80b418f4fccfa22e0abfc4cf5008b74d8c088c96b991
|
|
|
28275
28455
|
state_name: typing.Optional[builtins.str] = None,
|
|
28276
28456
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28277
28457
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28458
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28278
28459
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28279
28460
|
input_path: typing.Optional[builtins.str] = None,
|
|
28280
28461
|
output_path: typing.Optional[builtins.str] = None,
|
|
@@ -28294,6 +28475,7 @@ def _typecheckingstub__a2445c2dd683291fecf01b56e77d0cbe2d0d8486f7f01b558c189426a
|
|
|
28294
28475
|
state_name: typing.Optional[builtins.str] = None,
|
|
28295
28476
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28296
28477
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28478
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28297
28479
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28298
28480
|
outputs: typing.Any = None,
|
|
28299
28481
|
items: typing.Optional[ProvideItems] = None,
|
|
@@ -28309,6 +28491,7 @@ def _typecheckingstub__841961f24272e2df479ccf3f591259c5dbc7bf471c2a6e11c7c7d61bf
|
|
|
28309
28491
|
state_name: typing.Optional[builtins.str] = None,
|
|
28310
28492
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28311
28493
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28494
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28312
28495
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28313
28496
|
input_path: typing.Optional[builtins.str] = None,
|
|
28314
28497
|
output_path: typing.Optional[builtins.str] = None,
|
|
@@ -28600,6 +28783,7 @@ def _typecheckingstub__64f7d4222fc9728237ee261157ec268cfd8f396c371bc6402ec7a1a4e
|
|
|
28600
28783
|
tolerated_failure_percentage: typing.Optional[jsii.Number] = None,
|
|
28601
28784
|
tolerated_failure_percentage_path: typing.Optional[builtins.str] = None,
|
|
28602
28785
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28786
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28603
28787
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28604
28788
|
items_path: typing.Optional[builtins.str] = None,
|
|
28605
28789
|
max_concurrency_path: typing.Optional[builtins.str] = None,
|
|
@@ -28639,6 +28823,7 @@ def _typecheckingstub__571881b9fd1e6c545891d3d8e303faaf2af3b7abf8dedfe7af5b088c9
|
|
|
28639
28823
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
28640
28824
|
state_name: typing.Optional[builtins.str] = None,
|
|
28641
28825
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28826
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28642
28827
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28643
28828
|
items: typing.Optional[ProvideItems] = None,
|
|
28644
28829
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -28665,6 +28850,7 @@ def _typecheckingstub__9a2f34bdddff2f64215983e3f128e7644b5b5bf72fc9af9b5b0c0e3b3
|
|
|
28665
28850
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
28666
28851
|
state_name: typing.Optional[builtins.str] = None,
|
|
28667
28852
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28853
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28668
28854
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28669
28855
|
items_path: typing.Optional[builtins.str] = None,
|
|
28670
28856
|
max_concurrency_path: typing.Optional[builtins.str] = None,
|
|
@@ -28716,6 +28902,7 @@ def _typecheckingstub__e484af477b46c0e70f635ed9610c7183f70c2184fd7a48f091a5477df
|
|
|
28716
28902
|
state_name: typing.Optional[builtins.str] = None,
|
|
28717
28903
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28718
28904
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28905
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28719
28906
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28720
28907
|
input_path: typing.Optional[builtins.str] = None,
|
|
28721
28908
|
output_path: typing.Optional[builtins.str] = None,
|
|
@@ -28745,6 +28932,7 @@ def _typecheckingstub__78d28fbd908923a38f00f8f82b2387552ae3a53fe5d860d66d336f49b
|
|
|
28745
28932
|
*,
|
|
28746
28933
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28747
28934
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28935
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28748
28936
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28749
28937
|
comment: typing.Optional[builtins.str] = None,
|
|
28750
28938
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
@@ -28771,6 +28959,7 @@ def _typecheckingstub__117dd132ca8c26f59efc69b8fbd2855fd633da22be9b9bbcfc5209542
|
|
|
28771
28959
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
28772
28960
|
state_name: typing.Optional[builtins.str] = None,
|
|
28773
28961
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28962
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28774
28963
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28775
28964
|
items: typing.Optional[ProvideItems] = None,
|
|
28776
28965
|
assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
@@ -28788,6 +28977,7 @@ def _typecheckingstub__27e601e2ac6be39a50ef90276193f9993e276497c1482cf6fe3ebf359
|
|
|
28788
28977
|
query_language: typing.Optional[QueryLanguage] = None,
|
|
28789
28978
|
state_name: typing.Optional[builtins.str] = None,
|
|
28790
28979
|
item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
28980
|
+
jsonata_item_selector: typing.Optional[builtins.str] = None,
|
|
28791
28981
|
max_concurrency: typing.Optional[jsii.Number] = None,
|
|
28792
28982
|
items_path: typing.Optional[builtins.str] = None,
|
|
28793
28983
|
max_concurrency_path: typing.Optional[builtins.str] = None,
|