aws-cdk-lib 2.100.0__py3-none-any.whl → 2.101.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.100.0.jsii.tgz → aws-cdk-lib@2.101.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +0 -8
- aws_cdk/aws_appconfig/__init__.py +101 -18
- aws_cdk/aws_apprunner/__init__.py +5 -2
- aws_cdk/aws_appstream/__init__.py +18 -26
- aws_cdk/aws_cloudfront/__init__.py +251 -3
- aws_cdk/aws_cloudtrail/__init__.py +47 -3
- aws_cdk/aws_cognito/__init__.py +414 -8
- aws_cdk/aws_dlm/__init__.py +10 -9
- aws_cdk/aws_ec2/__init__.py +308 -179
- aws_cdk/aws_events/__init__.py +62 -86
- aws_cdk/aws_fms/__init__.py +3 -3
- aws_cdk/aws_grafana/__init__.py +4 -4
- aws_cdk/aws_greengrassv2/__init__.py +1 -8
- aws_cdk/aws_iot/__init__.py +714 -0
- aws_cdk/aws_iotsitewise/__init__.py +3 -3
- aws_cdk/aws_kinesisanalytics/__init__.py +15 -15
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +15 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +87 -40
- aws_cdk/aws_lambda/__init__.py +34 -4
- aws_cdk/aws_lightsail/__init__.py +3 -1
- aws_cdk/aws_mediatailor/__init__.py +24 -1
- aws_cdk/aws_quicksight/__init__.py +2508 -55
- aws_cdk/aws_rds/__init__.py +121 -51
- aws_cdk/aws_sagemaker/__init__.py +5 -3
- aws_cdk/aws_sns/__init__.py +42 -5
- aws_cdk/aws_ssm/__init__.py +0 -8
- aws_cdk/aws_stepfunctions/__init__.py +233 -16
- aws_cdk/aws_stepfunctions_tasks/__init__.py +926 -27
- aws_cdk/aws_transfer/__init__.py +4 -4
- aws_cdk/aws_workspacesweb/__init__.py +3 -3
- {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/RECORD +38 -38
- {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.100.0.dist-info → aws_cdk_lib-2.101.1.dist-info}/top_level.txt +0 -0
|
@@ -116,6 +116,7 @@ becomes new the new Data object. This behavior can be modified by supplying valu
|
|
|
116
116
|
|
|
117
117
|
These properties impact how each individual step interacts with the state machine data:
|
|
118
118
|
|
|
119
|
+
* `stateName`: the name of the state in the state machine definition. If not supplied, defaults to the construct id.
|
|
119
120
|
* `inputPath`: the part of the data object that gets passed to the step (`itemsPath` for `Map` states)
|
|
120
121
|
* `resultSelector`: the part of the step result that should be added to the state machine data
|
|
121
122
|
* `resultPath`: where in the state machine data the step result should be inserted
|
|
@@ -277,6 +278,7 @@ and also injects a field called `otherData`.
|
|
|
277
278
|
|
|
278
279
|
```python
|
|
279
280
|
pass = sfn.Pass(self, "Filter input and inject data",
|
|
281
|
+
state_name="my-pass-state", # the custom state name for the Pass state, defaults to 'Filter input and inject data' as the state name
|
|
280
282
|
parameters={ # input to the pass state
|
|
281
283
|
"input": sfn.JsonPath.string_at("$.input.greeting"),
|
|
282
284
|
"other_data": "some-extra-stuff"}
|
|
@@ -3399,6 +3401,7 @@ class CfnStateMachineVersionProps:
|
|
|
3399
3401
|
"comment": "comment",
|
|
3400
3402
|
"input_path": "inputPath",
|
|
3401
3403
|
"output_path": "outputPath",
|
|
3404
|
+
"state_name": "stateName",
|
|
3402
3405
|
},
|
|
3403
3406
|
)
|
|
3404
3407
|
class ChoiceProps:
|
|
@@ -3408,12 +3411,14 @@ class ChoiceProps:
|
|
|
3408
3411
|
comment: typing.Optional[builtins.str] = None,
|
|
3409
3412
|
input_path: typing.Optional[builtins.str] = None,
|
|
3410
3413
|
output_path: typing.Optional[builtins.str] = None,
|
|
3414
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
3411
3415
|
) -> None:
|
|
3412
3416
|
'''Properties for defining a Choice state.
|
|
3413
3417
|
|
|
3414
3418
|
:param comment: An optional description for this state. Default: No comment
|
|
3415
3419
|
: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: $
|
|
3416
3420
|
: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: $
|
|
3421
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
3417
3422
|
|
|
3418
3423
|
:exampleMetadata: infused
|
|
3419
3424
|
|
|
@@ -3434,6 +3439,7 @@ class ChoiceProps:
|
|
|
3434
3439
|
check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
|
|
3435
3440
|
check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
|
|
3436
3441
|
check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
|
|
3442
|
+
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
3437
3443
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3438
3444
|
if comment is not None:
|
|
3439
3445
|
self._values["comment"] = comment
|
|
@@ -3441,6 +3447,8 @@ class ChoiceProps:
|
|
|
3441
3447
|
self._values["input_path"] = input_path
|
|
3442
3448
|
if output_path is not None:
|
|
3443
3449
|
self._values["output_path"] = output_path
|
|
3450
|
+
if state_name is not None:
|
|
3451
|
+
self._values["state_name"] = state_name
|
|
3444
3452
|
|
|
3445
3453
|
@builtins.property
|
|
3446
3454
|
def comment(self) -> typing.Optional[builtins.str]:
|
|
@@ -3475,6 +3483,15 @@ class ChoiceProps:
|
|
|
3475
3483
|
result = self._values.get("output_path")
|
|
3476
3484
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
3477
3485
|
|
|
3486
|
+
@builtins.property
|
|
3487
|
+
def state_name(self) -> typing.Optional[builtins.str]:
|
|
3488
|
+
'''Optional name for this state.
|
|
3489
|
+
|
|
3490
|
+
:default: - The construct ID will be used as state name
|
|
3491
|
+
'''
|
|
3492
|
+
result = self._values.get("state_name")
|
|
3493
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
3494
|
+
|
|
3478
3495
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3479
3496
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3480
3497
|
|
|
@@ -4616,7 +4633,7 @@ class DefinitionBody(
|
|
|
4616
4633
|
:param comment: Comment that describes this state machine. Default: - No comment
|
|
4617
4634
|
:param definition: (deprecated) Definition for this state machine.
|
|
4618
4635
|
:param definition_body: Definition for this state machine.
|
|
4619
|
-
:param definition_substitutions: substitutions for the definition body
|
|
4636
|
+
:param definition_substitutions: substitutions for the definition body as a key-value map.
|
|
4620
4637
|
:param logs: Defines what execution history events are logged and where they are logged. Default: No logging
|
|
4621
4638
|
:param removal_policy: The removal policy to apply to state machine. Default: RemovalPolicy.DESTROY
|
|
4622
4639
|
:param role: The execution role for the state machine service. Default: A role is automatically created
|
|
@@ -4653,7 +4670,7 @@ class _DefinitionBodyProxy(DefinitionBody):
|
|
|
4653
4670
|
:param comment: Comment that describes this state machine. Default: - No comment
|
|
4654
4671
|
:param definition: (deprecated) Definition for this state machine.
|
|
4655
4672
|
:param definition_body: Definition for this state machine.
|
|
4656
|
-
:param definition_substitutions: substitutions for the definition body
|
|
4673
|
+
:param definition_substitutions: substitutions for the definition body as a key-value map.
|
|
4657
4674
|
:param logs: Defines what execution history events are logged and where they are logged. Default: No logging
|
|
4658
4675
|
:param removal_policy: The removal policy to apply to state machine. Default: RemovalPolicy.DESTROY
|
|
4659
4676
|
:param role: The execution role for the state machine service. Default: A role is automatically created
|
|
@@ -4856,6 +4873,7 @@ class Errors(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_stepfunctions.E
|
|
|
4856
4873
|
"comment": "comment",
|
|
4857
4874
|
"error": "error",
|
|
4858
4875
|
"error_path": "errorPath",
|
|
4876
|
+
"state_name": "stateName",
|
|
4859
4877
|
},
|
|
4860
4878
|
)
|
|
4861
4879
|
class FailProps:
|
|
@@ -4867,6 +4885,7 @@ class FailProps:
|
|
|
4867
4885
|
comment: typing.Optional[builtins.str] = None,
|
|
4868
4886
|
error: typing.Optional[builtins.str] = None,
|
|
4869
4887
|
error_path: typing.Optional[builtins.str] = None,
|
|
4888
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
4870
4889
|
) -> None:
|
|
4871
4890
|
'''Properties for defining a Fail state.
|
|
4872
4891
|
|
|
@@ -4875,6 +4894,7 @@ class FailProps:
|
|
|
4875
4894
|
:param comment: An optional description for this state. Default: - No comment
|
|
4876
4895
|
:param error: Error code used to represent this failure. Default: - No error code
|
|
4877
4896
|
:param error_path: JsonPath expression to select part of the state to be the error to this state. Default: - No error path
|
|
4897
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
4878
4898
|
|
|
4879
4899
|
:exampleMetadata: infused
|
|
4880
4900
|
|
|
@@ -4892,6 +4912,7 @@ class FailProps:
|
|
|
4892
4912
|
check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
|
|
4893
4913
|
check_type(argname="argument error", value=error, expected_type=type_hints["error"])
|
|
4894
4914
|
check_type(argname="argument error_path", value=error_path, expected_type=type_hints["error_path"])
|
|
4915
|
+
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
4895
4916
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4896
4917
|
if cause is not None:
|
|
4897
4918
|
self._values["cause"] = cause
|
|
@@ -4903,6 +4924,8 @@ class FailProps:
|
|
|
4903
4924
|
self._values["error"] = error
|
|
4904
4925
|
if error_path is not None:
|
|
4905
4926
|
self._values["error_path"] = error_path
|
|
4927
|
+
if state_name is not None:
|
|
4928
|
+
self._values["state_name"] = state_name
|
|
4906
4929
|
|
|
4907
4930
|
@builtins.property
|
|
4908
4931
|
def cause(self) -> typing.Optional[builtins.str]:
|
|
@@ -4949,6 +4972,15 @@ class FailProps:
|
|
|
4949
4972
|
result = self._values.get("error_path")
|
|
4950
4973
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
4951
4974
|
|
|
4975
|
+
@builtins.property
|
|
4976
|
+
def state_name(self) -> typing.Optional[builtins.str]:
|
|
4977
|
+
'''Optional name for this state.
|
|
4978
|
+
|
|
4979
|
+
:default: - The construct ID will be used as state name
|
|
4980
|
+
'''
|
|
4981
|
+
result = self._values.get("state_name")
|
|
4982
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4983
|
+
|
|
4952
4984
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4953
4985
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4954
4986
|
|
|
@@ -5099,7 +5131,7 @@ class FileDefinitionBody(
|
|
|
5099
5131
|
:param comment: Comment that describes this state machine. Default: - No comment
|
|
5100
5132
|
:param definition: (deprecated) Definition for this state machine.
|
|
5101
5133
|
:param definition_body: Definition for this state machine.
|
|
5102
|
-
:param definition_substitutions: substitutions for the definition body
|
|
5134
|
+
:param definition_substitutions: substitutions for the definition body as a key-value map.
|
|
5103
5135
|
:param logs: Defines what execution history events are logged and where they are logged. Default: No logging
|
|
5104
5136
|
:param removal_policy: The removal policy to apply to state machine. Default: RemovalPolicy.DESTROY
|
|
5105
5137
|
:param role: The execution role for the state machine service. Default: A role is automatically created
|
|
@@ -6837,6 +6869,7 @@ class LogOptions:
|
|
|
6837
6869
|
"parameters": "parameters",
|
|
6838
6870
|
"result_path": "resultPath",
|
|
6839
6871
|
"result_selector": "resultSelector",
|
|
6872
|
+
"state_name": "stateName",
|
|
6840
6873
|
},
|
|
6841
6874
|
)
|
|
6842
6875
|
class MapProps:
|
|
@@ -6851,6 +6884,7 @@ class MapProps:
|
|
|
6851
6884
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
6852
6885
|
result_path: typing.Optional[builtins.str] = None,
|
|
6853
6886
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
6887
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
6854
6888
|
) -> None:
|
|
6855
6889
|
'''Properties for defining a Map state.
|
|
6856
6890
|
|
|
@@ -6862,6 +6896,7 @@ class MapProps:
|
|
|
6862
6896
|
:param parameters: The JSON that you want to override your default iteration input. Default: $
|
|
6863
6897
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
6864
6898
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
6899
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
6865
6900
|
|
|
6866
6901
|
:exampleMetadata: infused
|
|
6867
6902
|
|
|
@@ -6898,6 +6933,7 @@ class MapProps:
|
|
|
6898
6933
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
6899
6934
|
check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
|
|
6900
6935
|
check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
|
|
6936
|
+
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
6901
6937
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6902
6938
|
if comment is not None:
|
|
6903
6939
|
self._values["comment"] = comment
|
|
@@ -6915,6 +6951,8 @@ class MapProps:
|
|
|
6915
6951
|
self._values["result_path"] = result_path
|
|
6916
6952
|
if result_selector is not None:
|
|
6917
6953
|
self._values["result_selector"] = result_selector
|
|
6954
|
+
if state_name is not None:
|
|
6955
|
+
self._values["state_name"] = state_name
|
|
6918
6956
|
|
|
6919
6957
|
@builtins.property
|
|
6920
6958
|
def comment(self) -> typing.Optional[builtins.str]:
|
|
@@ -7006,6 +7044,15 @@ class MapProps:
|
|
|
7006
7044
|
result = self._values.get("result_selector")
|
|
7007
7045
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
7008
7046
|
|
|
7047
|
+
@builtins.property
|
|
7048
|
+
def state_name(self) -> typing.Optional[builtins.str]:
|
|
7049
|
+
'''Optional name for this state.
|
|
7050
|
+
|
|
7051
|
+
:default: - The construct ID will be used as state name
|
|
7052
|
+
'''
|
|
7053
|
+
result = self._values.get("state_name")
|
|
7054
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7055
|
+
|
|
7009
7056
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7010
7057
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7011
7058
|
|
|
@@ -7027,6 +7074,7 @@ class MapProps:
|
|
|
7027
7074
|
"output_path": "outputPath",
|
|
7028
7075
|
"result_path": "resultPath",
|
|
7029
7076
|
"result_selector": "resultSelector",
|
|
7077
|
+
"state_name": "stateName",
|
|
7030
7078
|
},
|
|
7031
7079
|
)
|
|
7032
7080
|
class ParallelProps:
|
|
@@ -7038,6 +7086,7 @@ class ParallelProps:
|
|
|
7038
7086
|
output_path: typing.Optional[builtins.str] = None,
|
|
7039
7087
|
result_path: typing.Optional[builtins.str] = None,
|
|
7040
7088
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
7089
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
7041
7090
|
) -> None:
|
|
7042
7091
|
'''Properties for defining a Parallel state.
|
|
7043
7092
|
|
|
@@ -7046,6 +7095,7 @@ class ParallelProps:
|
|
|
7046
7095
|
: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: $
|
|
7047
7096
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
7048
7097
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
7098
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
7049
7099
|
|
|
7050
7100
|
:exampleMetadata: fixture=_generated
|
|
7051
7101
|
|
|
@@ -7064,7 +7114,8 @@ class ParallelProps:
|
|
|
7064
7114
|
result_path="resultPath",
|
|
7065
7115
|
result_selector={
|
|
7066
7116
|
"result_selector_key": result_selector
|
|
7067
|
-
}
|
|
7117
|
+
},
|
|
7118
|
+
state_name="stateName"
|
|
7068
7119
|
)
|
|
7069
7120
|
'''
|
|
7070
7121
|
if __debug__:
|
|
@@ -7074,6 +7125,7 @@ class ParallelProps:
|
|
|
7074
7125
|
check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
|
|
7075
7126
|
check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
|
|
7076
7127
|
check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
|
|
7128
|
+
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
7077
7129
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7078
7130
|
if comment is not None:
|
|
7079
7131
|
self._values["comment"] = comment
|
|
@@ -7085,6 +7137,8 @@ class ParallelProps:
|
|
|
7085
7137
|
self._values["result_path"] = result_path
|
|
7086
7138
|
if result_selector is not None:
|
|
7087
7139
|
self._values["result_selector"] = result_selector
|
|
7140
|
+
if state_name is not None:
|
|
7141
|
+
self._values["state_name"] = state_name
|
|
7088
7142
|
|
|
7089
7143
|
@builtins.property
|
|
7090
7144
|
def comment(self) -> typing.Optional[builtins.str]:
|
|
@@ -7147,6 +7201,15 @@ class ParallelProps:
|
|
|
7147
7201
|
result = self._values.get("result_selector")
|
|
7148
7202
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
7149
7203
|
|
|
7204
|
+
@builtins.property
|
|
7205
|
+
def state_name(self) -> typing.Optional[builtins.str]:
|
|
7206
|
+
'''Optional name for this state.
|
|
7207
|
+
|
|
7208
|
+
:default: - The construct ID will be used as state name
|
|
7209
|
+
'''
|
|
7210
|
+
result = self._values.get("state_name")
|
|
7211
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7212
|
+
|
|
7150
7213
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7151
7214
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7152
7215
|
|
|
@@ -7169,6 +7232,7 @@ class ParallelProps:
|
|
|
7169
7232
|
"parameters": "parameters",
|
|
7170
7233
|
"result": "result",
|
|
7171
7234
|
"result_path": "resultPath",
|
|
7235
|
+
"state_name": "stateName",
|
|
7172
7236
|
},
|
|
7173
7237
|
)
|
|
7174
7238
|
class PassProps:
|
|
@@ -7181,6 +7245,7 @@ class PassProps:
|
|
|
7181
7245
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
7182
7246
|
result: typing.Optional["Result"] = None,
|
|
7183
7247
|
result_path: typing.Optional[builtins.str] = None,
|
|
7248
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
7184
7249
|
) -> None:
|
|
7185
7250
|
'''Properties for defining a Pass state.
|
|
7186
7251
|
|
|
@@ -7190,6 +7255,7 @@ class PassProps:
|
|
|
7190
7255
|
:param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
|
|
7191
7256
|
:param result: If given, treat as the result of this operation. Can be used to inject or replace the current execution state. Default: No injected result
|
|
7192
7257
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
7258
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
7193
7259
|
|
|
7194
7260
|
:exampleMetadata: infused
|
|
7195
7261
|
|
|
@@ -7213,6 +7279,7 @@ class PassProps:
|
|
|
7213
7279
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
7214
7280
|
check_type(argname="argument result", value=result, expected_type=type_hints["result"])
|
|
7215
7281
|
check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
|
|
7282
|
+
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
7216
7283
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7217
7284
|
if comment is not None:
|
|
7218
7285
|
self._values["comment"] = comment
|
|
@@ -7226,6 +7293,8 @@ class PassProps:
|
|
|
7226
7293
|
self._values["result"] = result
|
|
7227
7294
|
if result_path is not None:
|
|
7228
7295
|
self._values["result_path"] = result_path
|
|
7296
|
+
if state_name is not None:
|
|
7297
|
+
self._values["state_name"] = state_name
|
|
7229
7298
|
|
|
7230
7299
|
@builtins.property
|
|
7231
7300
|
def comment(self) -> typing.Optional[builtins.str]:
|
|
@@ -7294,6 +7363,15 @@ class PassProps:
|
|
|
7294
7363
|
result = self._values.get("result_path")
|
|
7295
7364
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
7296
7365
|
|
|
7366
|
+
@builtins.property
|
|
7367
|
+
def state_name(self) -> typing.Optional[builtins.str]:
|
|
7368
|
+
'''Optional name for this state.
|
|
7369
|
+
|
|
7370
|
+
:default: - The construct ID will be used as state name
|
|
7371
|
+
'''
|
|
7372
|
+
result = self._values.get("state_name")
|
|
7373
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7374
|
+
|
|
7297
7375
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7298
7376
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7299
7377
|
|
|
@@ -7585,6 +7663,7 @@ class ServiceIntegrationPattern(enum.Enum):
|
|
|
7585
7663
|
"output_path": "outputPath",
|
|
7586
7664
|
"result_path": "resultPath",
|
|
7587
7665
|
"result_selector": "resultSelector",
|
|
7666
|
+
"state_name": "stateName",
|
|
7588
7667
|
"prefix_states": "prefixStates",
|
|
7589
7668
|
"state_id": "stateId",
|
|
7590
7669
|
},
|
|
@@ -7598,6 +7677,7 @@ class SingleStateOptions(ParallelProps):
|
|
|
7598
7677
|
output_path: typing.Optional[builtins.str] = None,
|
|
7599
7678
|
result_path: typing.Optional[builtins.str] = None,
|
|
7600
7679
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
7680
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
7601
7681
|
prefix_states: typing.Optional[builtins.str] = None,
|
|
7602
7682
|
state_id: typing.Optional[builtins.str] = None,
|
|
7603
7683
|
) -> None:
|
|
@@ -7608,6 +7688,7 @@ class SingleStateOptions(ParallelProps):
|
|
|
7608
7688
|
: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: $
|
|
7609
7689
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
7610
7690
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
7691
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
7611
7692
|
:param prefix_states: String to prefix all stateIds in the state machine with. Default: stateId
|
|
7612
7693
|
:param state_id: ID of newly created containing state. Default: Construct ID of the StateMachineFragment
|
|
7613
7694
|
|
|
@@ -7630,7 +7711,8 @@ class SingleStateOptions(ParallelProps):
|
|
|
7630
7711
|
result_selector={
|
|
7631
7712
|
"result_selector_key": result_selector
|
|
7632
7713
|
},
|
|
7633
|
-
state_id="stateId"
|
|
7714
|
+
state_id="stateId",
|
|
7715
|
+
state_name="stateName"
|
|
7634
7716
|
)
|
|
7635
7717
|
'''
|
|
7636
7718
|
if __debug__:
|
|
@@ -7640,6 +7722,7 @@ class SingleStateOptions(ParallelProps):
|
|
|
7640
7722
|
check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
|
|
7641
7723
|
check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
|
|
7642
7724
|
check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
|
|
7725
|
+
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
7643
7726
|
check_type(argname="argument prefix_states", value=prefix_states, expected_type=type_hints["prefix_states"])
|
|
7644
7727
|
check_type(argname="argument state_id", value=state_id, expected_type=type_hints["state_id"])
|
|
7645
7728
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -7653,6 +7736,8 @@ class SingleStateOptions(ParallelProps):
|
|
|
7653
7736
|
self._values["result_path"] = result_path
|
|
7654
7737
|
if result_selector is not None:
|
|
7655
7738
|
self._values["result_selector"] = result_selector
|
|
7739
|
+
if state_name is not None:
|
|
7740
|
+
self._values["state_name"] = state_name
|
|
7656
7741
|
if prefix_states is not None:
|
|
7657
7742
|
self._values["prefix_states"] = prefix_states
|
|
7658
7743
|
if state_id is not None:
|
|
@@ -7719,6 +7804,15 @@ class SingleStateOptions(ParallelProps):
|
|
|
7719
7804
|
result = self._values.get("result_selector")
|
|
7720
7805
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
7721
7806
|
|
|
7807
|
+
@builtins.property
|
|
7808
|
+
def state_name(self) -> typing.Optional[builtins.str]:
|
|
7809
|
+
'''Optional name for this state.
|
|
7810
|
+
|
|
7811
|
+
:default: - The construct ID will be used as state name
|
|
7812
|
+
'''
|
|
7813
|
+
result = self._values.get("state_name")
|
|
7814
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7815
|
+
|
|
7722
7816
|
@builtins.property
|
|
7723
7817
|
def prefix_states(self) -> typing.Optional[builtins.str]:
|
|
7724
7818
|
'''String to prefix all stateIds in the state machine with.
|
|
@@ -7768,6 +7862,7 @@ class State(
|
|
|
7768
7862
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
7769
7863
|
result_path: typing.Optional[builtins.str] = None,
|
|
7770
7864
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
7865
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
7771
7866
|
) -> None:
|
|
7772
7867
|
'''
|
|
7773
7868
|
:param scope: -
|
|
@@ -7778,6 +7873,7 @@ class State(
|
|
|
7778
7873
|
:param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
|
|
7779
7874
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
7780
7875
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
7876
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
7781
7877
|
'''
|
|
7782
7878
|
if __debug__:
|
|
7783
7879
|
type_hints = typing.get_type_hints(_typecheckingstub__095d7fa7ac65d852ef7641274fbdf11368859faad0abca011b7a488dead935f0)
|
|
@@ -7790,6 +7886,7 @@ class State(
|
|
|
7790
7886
|
parameters=parameters,
|
|
7791
7887
|
result_path=result_path,
|
|
7792
7888
|
result_selector=result_selector,
|
|
7889
|
+
state_name=state_name,
|
|
7793
7890
|
)
|
|
7794
7891
|
|
|
7795
7892
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -8081,6 +8178,11 @@ class State(
|
|
|
8081
8178
|
) -> typing.Optional[typing.Mapping[typing.Any, typing.Any]]:
|
|
8082
8179
|
return typing.cast(typing.Optional[typing.Mapping[typing.Any, typing.Any]], jsii.get(self, "resultSelector"))
|
|
8083
8180
|
|
|
8181
|
+
@builtins.property
|
|
8182
|
+
@jsii.member(jsii_name="stateName")
|
|
8183
|
+
def _state_name(self) -> typing.Optional[builtins.str]:
|
|
8184
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "stateName"))
|
|
8185
|
+
|
|
8084
8186
|
@builtins.property
|
|
8085
8187
|
@jsii.member(jsii_name="defaultChoice")
|
|
8086
8188
|
def _default_choice(self) -> typing.Optional["State"]:
|
|
@@ -8305,7 +8407,7 @@ class StateMachine(
|
|
|
8305
8407
|
:param comment: Comment that describes this state machine. Default: - No comment
|
|
8306
8408
|
:param definition: (deprecated) Definition for this state machine.
|
|
8307
8409
|
:param definition_body: Definition for this state machine.
|
|
8308
|
-
:param definition_substitutions: substitutions for the definition body
|
|
8410
|
+
:param definition_substitutions: substitutions for the definition body as a key-value map.
|
|
8309
8411
|
:param logs: Defines what execution history events are logged and where they are logged. Default: No logging
|
|
8310
8412
|
:param removal_policy: The removal policy to apply to state machine. Default: RemovalPolicy.DESTROY
|
|
8311
8413
|
:param role: The execution role for the state machine service. Default: A role is automatically created
|
|
@@ -8921,6 +9023,7 @@ class StateMachineFragment(
|
|
|
8921
9023
|
output_path: typing.Optional[builtins.str] = None,
|
|
8922
9024
|
result_path: typing.Optional[builtins.str] = None,
|
|
8923
9025
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
9026
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
8924
9027
|
) -> "Parallel":
|
|
8925
9028
|
'''Wrap all states in this state machine fragment up into a single state.
|
|
8926
9029
|
|
|
@@ -8939,6 +9042,7 @@ class StateMachineFragment(
|
|
|
8939
9042
|
: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: $
|
|
8940
9043
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
8941
9044
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
9045
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
8942
9046
|
'''
|
|
8943
9047
|
options = SingleStateOptions(
|
|
8944
9048
|
prefix_states=prefix_states,
|
|
@@ -8948,6 +9052,7 @@ class StateMachineFragment(
|
|
|
8948
9052
|
output_path=output_path,
|
|
8949
9053
|
result_path=result_path,
|
|
8950
9054
|
result_selector=result_selector,
|
|
9055
|
+
state_name=state_name,
|
|
8951
9056
|
)
|
|
8952
9057
|
|
|
8953
9058
|
return typing.cast("Parallel", jsii.invoke(self, "toSingleState", [options]))
|
|
@@ -9028,7 +9133,7 @@ class StateMachineProps:
|
|
|
9028
9133
|
:param comment: Comment that describes this state machine. Default: - No comment
|
|
9029
9134
|
:param definition: (deprecated) Definition for this state machine.
|
|
9030
9135
|
:param definition_body: Definition for this state machine.
|
|
9031
|
-
:param definition_substitutions: substitutions for the definition body
|
|
9136
|
+
:param definition_substitutions: substitutions for the definition body as a key-value map.
|
|
9032
9137
|
:param logs: Defines what execution history events are logged and where they are logged. Default: No logging
|
|
9033
9138
|
:param removal_policy: The removal policy to apply to state machine. Default: RemovalPolicy.DESTROY
|
|
9034
9139
|
:param role: The execution role for the state machine service. Default: A role is automatically created
|
|
@@ -9129,7 +9234,7 @@ class StateMachineProps:
|
|
|
9129
9234
|
def definition_substitutions(
|
|
9130
9235
|
self,
|
|
9131
9236
|
) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
9132
|
-
'''substitutions for the definition body
|
|
9237
|
+
'''substitutions for the definition body as a key-value map.'''
|
|
9133
9238
|
result = self._values.get("definition_substitutions")
|
|
9134
9239
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
9135
9240
|
|
|
@@ -9248,6 +9353,7 @@ class StateMachineType(enum.Enum):
|
|
|
9248
9353
|
"parameters": "parameters",
|
|
9249
9354
|
"result_path": "resultPath",
|
|
9250
9355
|
"result_selector": "resultSelector",
|
|
9356
|
+
"state_name": "stateName",
|
|
9251
9357
|
},
|
|
9252
9358
|
)
|
|
9253
9359
|
class StateProps:
|
|
@@ -9260,6 +9366,7 @@ class StateProps:
|
|
|
9260
9366
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
9261
9367
|
result_path: typing.Optional[builtins.str] = None,
|
|
9262
9368
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
9369
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
9263
9370
|
) -> None:
|
|
9264
9371
|
'''Properties shared by all states.
|
|
9265
9372
|
|
|
@@ -9269,6 +9376,7 @@ class StateProps:
|
|
|
9269
9376
|
:param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
|
|
9270
9377
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
9271
9378
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
9379
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
9272
9380
|
|
|
9273
9381
|
:exampleMetadata: fixture=_generated
|
|
9274
9382
|
|
|
@@ -9291,7 +9399,8 @@ class StateProps:
|
|
|
9291
9399
|
result_path="resultPath",
|
|
9292
9400
|
result_selector={
|
|
9293
9401
|
"result_selector_key": result_selector
|
|
9294
|
-
}
|
|
9402
|
+
},
|
|
9403
|
+
state_name="stateName"
|
|
9295
9404
|
)
|
|
9296
9405
|
'''
|
|
9297
9406
|
if __debug__:
|
|
@@ -9302,6 +9411,7 @@ class StateProps:
|
|
|
9302
9411
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
9303
9412
|
check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
|
|
9304
9413
|
check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
|
|
9414
|
+
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
9305
9415
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
9306
9416
|
if comment is not None:
|
|
9307
9417
|
self._values["comment"] = comment
|
|
@@ -9315,6 +9425,8 @@ class StateProps:
|
|
|
9315
9425
|
self._values["result_path"] = result_path
|
|
9316
9426
|
if result_selector is not None:
|
|
9317
9427
|
self._values["result_selector"] = result_selector
|
|
9428
|
+
if state_name is not None:
|
|
9429
|
+
self._values["state_name"] = state_name
|
|
9318
9430
|
|
|
9319
9431
|
@builtins.property
|
|
9320
9432
|
def comment(self) -> typing.Optional[builtins.str]:
|
|
@@ -9388,6 +9500,15 @@ class StateProps:
|
|
|
9388
9500
|
result = self._values.get("result_selector")
|
|
9389
9501
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
9390
9502
|
|
|
9503
|
+
@builtins.property
|
|
9504
|
+
def state_name(self) -> typing.Optional[builtins.str]:
|
|
9505
|
+
'''Optional name for this state.
|
|
9506
|
+
|
|
9507
|
+
:default: - The construct ID will be used as state name
|
|
9508
|
+
'''
|
|
9509
|
+
result = self._values.get("state_name")
|
|
9510
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9511
|
+
|
|
9391
9512
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9392
9513
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9393
9514
|
|
|
@@ -9680,7 +9801,7 @@ class StringDefinitionBody(
|
|
|
9680
9801
|
:param comment: Comment that describes this state machine. Default: - No comment
|
|
9681
9802
|
:param definition: (deprecated) Definition for this state machine.
|
|
9682
9803
|
:param definition_body: Definition for this state machine.
|
|
9683
|
-
:param definition_substitutions: substitutions for the definition body
|
|
9804
|
+
:param definition_substitutions: substitutions for the definition body as a key-value map.
|
|
9684
9805
|
:param logs: Defines what execution history events are logged and where they are logged. Default: No logging
|
|
9685
9806
|
:param removal_policy: The removal policy to apply to state machine. Default: RemovalPolicy.DESTROY
|
|
9686
9807
|
:param role: The execution role for the state machine service. Default: A role is automatically created
|
|
@@ -9739,6 +9860,7 @@ class Succeed(
|
|
|
9739
9860
|
comment: typing.Optional[builtins.str] = None,
|
|
9740
9861
|
input_path: typing.Optional[builtins.str] = None,
|
|
9741
9862
|
output_path: typing.Optional[builtins.str] = None,
|
|
9863
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
9742
9864
|
) -> None:
|
|
9743
9865
|
'''
|
|
9744
9866
|
:param scope: -
|
|
@@ -9746,13 +9868,17 @@ class Succeed(
|
|
|
9746
9868
|
:param comment: An optional description for this state. Default: No comment
|
|
9747
9869
|
: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: $
|
|
9748
9870
|
: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: $
|
|
9871
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
9749
9872
|
'''
|
|
9750
9873
|
if __debug__:
|
|
9751
9874
|
type_hints = typing.get_type_hints(_typecheckingstub__e35ef3ad1b65975090819e8b098b2b754472124db44d9bf100117c9f3c97b861)
|
|
9752
9875
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
9753
9876
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
9754
9877
|
props = SucceedProps(
|
|
9755
|
-
comment=comment,
|
|
9878
|
+
comment=comment,
|
|
9879
|
+
input_path=input_path,
|
|
9880
|
+
output_path=output_path,
|
|
9881
|
+
state_name=state_name,
|
|
9756
9882
|
)
|
|
9757
9883
|
|
|
9758
9884
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -9776,6 +9902,7 @@ class Succeed(
|
|
|
9776
9902
|
"comment": "comment",
|
|
9777
9903
|
"input_path": "inputPath",
|
|
9778
9904
|
"output_path": "outputPath",
|
|
9905
|
+
"state_name": "stateName",
|
|
9779
9906
|
},
|
|
9780
9907
|
)
|
|
9781
9908
|
class SucceedProps:
|
|
@@ -9785,12 +9912,14 @@ class SucceedProps:
|
|
|
9785
9912
|
comment: typing.Optional[builtins.str] = None,
|
|
9786
9913
|
input_path: typing.Optional[builtins.str] = None,
|
|
9787
9914
|
output_path: typing.Optional[builtins.str] = None,
|
|
9915
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
9788
9916
|
) -> None:
|
|
9789
9917
|
'''Properties for defining a Succeed state.
|
|
9790
9918
|
|
|
9791
9919
|
:param comment: An optional description for this state. Default: No comment
|
|
9792
9920
|
: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: $
|
|
9793
9921
|
: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: $
|
|
9922
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
9794
9923
|
|
|
9795
9924
|
:exampleMetadata: fixture=_generated
|
|
9796
9925
|
|
|
@@ -9803,7 +9932,8 @@ class SucceedProps:
|
|
|
9803
9932
|
succeed_props = stepfunctions.SucceedProps(
|
|
9804
9933
|
comment="comment",
|
|
9805
9934
|
input_path="inputPath",
|
|
9806
|
-
output_path="outputPath"
|
|
9935
|
+
output_path="outputPath",
|
|
9936
|
+
state_name="stateName"
|
|
9807
9937
|
)
|
|
9808
9938
|
'''
|
|
9809
9939
|
if __debug__:
|
|
@@ -9811,6 +9941,7 @@ class SucceedProps:
|
|
|
9811
9941
|
check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
|
|
9812
9942
|
check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
|
|
9813
9943
|
check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
|
|
9944
|
+
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
9814
9945
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
9815
9946
|
if comment is not None:
|
|
9816
9947
|
self._values["comment"] = comment
|
|
@@ -9818,6 +9949,8 @@ class SucceedProps:
|
|
|
9818
9949
|
self._values["input_path"] = input_path
|
|
9819
9950
|
if output_path is not None:
|
|
9820
9951
|
self._values["output_path"] = output_path
|
|
9952
|
+
if state_name is not None:
|
|
9953
|
+
self._values["state_name"] = state_name
|
|
9821
9954
|
|
|
9822
9955
|
@builtins.property
|
|
9823
9956
|
def comment(self) -> typing.Optional[builtins.str]:
|
|
@@ -9852,6 +9985,15 @@ class SucceedProps:
|
|
|
9852
9985
|
result = self._values.get("output_path")
|
|
9853
9986
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
9854
9987
|
|
|
9988
|
+
@builtins.property
|
|
9989
|
+
def state_name(self) -> typing.Optional[builtins.str]:
|
|
9990
|
+
'''Optional name for this state.
|
|
9991
|
+
|
|
9992
|
+
:default: - The construct ID will be used as state name
|
|
9993
|
+
'''
|
|
9994
|
+
result = self._values.get("state_name")
|
|
9995
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9996
|
+
|
|
9855
9997
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
9856
9998
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
9857
9999
|
|
|
@@ -10164,6 +10306,7 @@ class TaskStateBase(
|
|
|
10164
10306
|
output_path: typing.Optional[builtins.str] = None,
|
|
10165
10307
|
result_path: typing.Optional[builtins.str] = None,
|
|
10166
10308
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
10309
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
10167
10310
|
task_timeout: typing.Optional["Timeout"] = None,
|
|
10168
10311
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
10169
10312
|
) -> None:
|
|
@@ -10179,6 +10322,7 @@ class TaskStateBase(
|
|
|
10179
10322
|
:param output_path: JSONPath expression to select select a portion of the state output to pass to the next state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')
|
|
10180
10323
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: - Replaces the entire input with the result (JSON path '$')
|
|
10181
10324
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
10325
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
10182
10326
|
:param task_timeout: Timeout for the task. [disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface Default: - None
|
|
10183
10327
|
:param timeout: (deprecated) Timeout for the task. Default: - None
|
|
10184
10328
|
'''
|
|
@@ -10196,6 +10340,7 @@ class TaskStateBase(
|
|
|
10196
10340
|
output_path=output_path,
|
|
10197
10341
|
result_path=result_path,
|
|
10198
10342
|
result_selector=result_selector,
|
|
10343
|
+
state_name=state_name,
|
|
10199
10344
|
task_timeout=task_timeout,
|
|
10200
10345
|
timeout=timeout,
|
|
10201
10346
|
)
|
|
@@ -10734,6 +10879,7 @@ typing.cast(typing.Any, TaskStateBase).__jsii_proxy_class__ = lambda : _TaskStat
|
|
|
10734
10879
|
"output_path": "outputPath",
|
|
10735
10880
|
"result_path": "resultPath",
|
|
10736
10881
|
"result_selector": "resultSelector",
|
|
10882
|
+
"state_name": "stateName",
|
|
10737
10883
|
"task_timeout": "taskTimeout",
|
|
10738
10884
|
"timeout": "timeout",
|
|
10739
10885
|
},
|
|
@@ -10751,6 +10897,7 @@ class TaskStateBaseProps:
|
|
|
10751
10897
|
output_path: typing.Optional[builtins.str] = None,
|
|
10752
10898
|
result_path: typing.Optional[builtins.str] = None,
|
|
10753
10899
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
10900
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
10754
10901
|
task_timeout: typing.Optional["Timeout"] = None,
|
|
10755
10902
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
10756
10903
|
) -> None:
|
|
@@ -10765,6 +10912,7 @@ class TaskStateBaseProps:
|
|
|
10765
10912
|
:param output_path: JSONPath expression to select select a portion of the state output to pass to the next state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')
|
|
10766
10913
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: - Replaces the entire input with the result (JSON path '$')
|
|
10767
10914
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
10915
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
10768
10916
|
:param task_timeout: Timeout for the task. [disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface Default: - None
|
|
10769
10917
|
:param timeout: (deprecated) Timeout for the task. Default: - None
|
|
10770
10918
|
|
|
@@ -10795,6 +10943,7 @@ class TaskStateBaseProps:
|
|
|
10795
10943
|
result_selector={
|
|
10796
10944
|
"result_selector_key": result_selector
|
|
10797
10945
|
},
|
|
10946
|
+
state_name="stateName",
|
|
10798
10947
|
task_timeout=timeout,
|
|
10799
10948
|
timeout=cdk.Duration.minutes(30)
|
|
10800
10949
|
)
|
|
@@ -10812,6 +10961,7 @@ class TaskStateBaseProps:
|
|
|
10812
10961
|
check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
|
|
10813
10962
|
check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
|
|
10814
10963
|
check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
|
|
10964
|
+
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
10815
10965
|
check_type(argname="argument task_timeout", value=task_timeout, expected_type=type_hints["task_timeout"])
|
|
10816
10966
|
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
10817
10967
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -10833,6 +10983,8 @@ class TaskStateBaseProps:
|
|
|
10833
10983
|
self._values["result_path"] = result_path
|
|
10834
10984
|
if result_selector is not None:
|
|
10835
10985
|
self._values["result_selector"] = result_selector
|
|
10986
|
+
if state_name is not None:
|
|
10987
|
+
self._values["state_name"] = state_name
|
|
10836
10988
|
if task_timeout is not None:
|
|
10837
10989
|
self._values["task_timeout"] = task_timeout
|
|
10838
10990
|
if timeout is not None:
|
|
@@ -10957,6 +11109,15 @@ class TaskStateBaseProps:
|
|
|
10957
11109
|
result = self._values.get("result_selector")
|
|
10958
11110
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
|
|
10959
11111
|
|
|
11112
|
+
@builtins.property
|
|
11113
|
+
def state_name(self) -> typing.Optional[builtins.str]:
|
|
11114
|
+
'''Optional name for this state.
|
|
11115
|
+
|
|
11116
|
+
:default: - The construct ID will be used as state name
|
|
11117
|
+
'''
|
|
11118
|
+
result = self._values.get("state_name")
|
|
11119
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11120
|
+
|
|
10960
11121
|
@builtins.property
|
|
10961
11122
|
def task_timeout(self) -> typing.Optional["Timeout"]:
|
|
10962
11123
|
'''Timeout for the task.
|
|
@@ -11123,18 +11284,20 @@ class Wait(
|
|
|
11123
11284
|
*,
|
|
11124
11285
|
time: "WaitTime",
|
|
11125
11286
|
comment: typing.Optional[builtins.str] = None,
|
|
11287
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
11126
11288
|
) -> None:
|
|
11127
11289
|
'''
|
|
11128
11290
|
:param scope: -
|
|
11129
11291
|
:param id: Descriptive identifier for this chainable.
|
|
11130
11292
|
:param time: Wait duration.
|
|
11131
11293
|
:param comment: An optional description for this state. Default: No comment
|
|
11294
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
11132
11295
|
'''
|
|
11133
11296
|
if __debug__:
|
|
11134
11297
|
type_hints = typing.get_type_hints(_typecheckingstub__a6a8ce927e9d411d4263a43306a0e94bd7a5d563bd35e990ab82dbb660c79604)
|
|
11135
11298
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
11136
11299
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
11137
|
-
props = WaitProps(time=time, comment=comment)
|
|
11300
|
+
props = WaitProps(time=time, comment=comment, state_name=state_name)
|
|
11138
11301
|
|
|
11139
11302
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
11140
11303
|
|
|
@@ -11164,7 +11327,7 @@ class Wait(
|
|
|
11164
11327
|
@jsii.data_type(
|
|
11165
11328
|
jsii_type="aws-cdk-lib.aws_stepfunctions.WaitProps",
|
|
11166
11329
|
jsii_struct_bases=[],
|
|
11167
|
-
name_mapping={"time": "time", "comment": "comment"},
|
|
11330
|
+
name_mapping={"time": "time", "comment": "comment", "state_name": "stateName"},
|
|
11168
11331
|
)
|
|
11169
11332
|
class WaitProps:
|
|
11170
11333
|
def __init__(
|
|
@@ -11172,11 +11335,13 @@ class WaitProps:
|
|
|
11172
11335
|
*,
|
|
11173
11336
|
time: "WaitTime",
|
|
11174
11337
|
comment: typing.Optional[builtins.str] = None,
|
|
11338
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
11175
11339
|
) -> None:
|
|
11176
11340
|
'''Properties for defining a Wait state.
|
|
11177
11341
|
|
|
11178
11342
|
:param time: Wait duration.
|
|
11179
11343
|
:param comment: An optional description for this state. Default: No comment
|
|
11344
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
11180
11345
|
|
|
11181
11346
|
:exampleMetadata: infused
|
|
11182
11347
|
|
|
@@ -11212,11 +11377,14 @@ class WaitProps:
|
|
|
11212
11377
|
type_hints = typing.get_type_hints(_typecheckingstub__534eb46b5e3f50b25dea609490a5fd97e2e7f56c6eeed5ea19d37b6997865461)
|
|
11213
11378
|
check_type(argname="argument time", value=time, expected_type=type_hints["time"])
|
|
11214
11379
|
check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
|
|
11380
|
+
check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
|
|
11215
11381
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11216
11382
|
"time": time,
|
|
11217
11383
|
}
|
|
11218
11384
|
if comment is not None:
|
|
11219
11385
|
self._values["comment"] = comment
|
|
11386
|
+
if state_name is not None:
|
|
11387
|
+
self._values["state_name"] = state_name
|
|
11220
11388
|
|
|
11221
11389
|
@builtins.property
|
|
11222
11390
|
def time(self) -> "WaitTime":
|
|
@@ -11234,6 +11402,15 @@ class WaitProps:
|
|
|
11234
11402
|
result = self._values.get("comment")
|
|
11235
11403
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
11236
11404
|
|
|
11405
|
+
@builtins.property
|
|
11406
|
+
def state_name(self) -> typing.Optional[builtins.str]:
|
|
11407
|
+
'''Optional name for this state.
|
|
11408
|
+
|
|
11409
|
+
:default: - The construct ID will be used as state name
|
|
11410
|
+
'''
|
|
11411
|
+
result = self._values.get("state_name")
|
|
11412
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
11413
|
+
|
|
11237
11414
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
11238
11415
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
11239
11416
|
|
|
@@ -11954,6 +12131,7 @@ class Chain(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_stepfunctions.Ch
|
|
|
11954
12131
|
output_path: typing.Optional[builtins.str] = None,
|
|
11955
12132
|
result_path: typing.Optional[builtins.str] = None,
|
|
11956
12133
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
12134
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
11957
12135
|
) -> "Parallel":
|
|
11958
12136
|
'''Return a single state that encompasses all states in the chain.
|
|
11959
12137
|
|
|
@@ -11970,6 +12148,7 @@ class Chain(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_stepfunctions.Ch
|
|
|
11970
12148
|
: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: $
|
|
11971
12149
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
11972
12150
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
12151
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
11973
12152
|
'''
|
|
11974
12153
|
if __debug__:
|
|
11975
12154
|
type_hints = typing.get_type_hints(_typecheckingstub__468194d7b14012a289ab0c26efcba49fbd09832b9f87d79467e6334c81f8495e)
|
|
@@ -11980,6 +12159,7 @@ class Chain(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_stepfunctions.Ch
|
|
|
11980
12159
|
output_path=output_path,
|
|
11981
12160
|
result_path=result_path,
|
|
11982
12161
|
result_selector=result_selector,
|
|
12162
|
+
state_name=state_name,
|
|
11983
12163
|
)
|
|
11984
12164
|
|
|
11985
12165
|
return typing.cast("Parallel", jsii.invoke(self, "toSingleState", [id, props]))
|
|
@@ -12055,7 +12235,7 @@ class ChainDefinitionBody(
|
|
|
12055
12235
|
:param comment: Comment that describes this state machine. Default: - No comment
|
|
12056
12236
|
:param definition: (deprecated) Definition for this state machine.
|
|
12057
12237
|
:param definition_body: Definition for this state machine.
|
|
12058
|
-
:param definition_substitutions: substitutions for the definition body
|
|
12238
|
+
:param definition_substitutions: substitutions for the definition body as a key-value map.
|
|
12059
12239
|
:param logs: Defines what execution history events are logged and where they are logged. Default: No logging
|
|
12060
12240
|
:param removal_policy: The removal policy to apply to state machine. Default: RemovalPolicy.DESTROY
|
|
12061
12241
|
:param role: The execution role for the state machine service. Default: A role is automatically created
|
|
@@ -12134,6 +12314,7 @@ class Choice(
|
|
|
12134
12314
|
comment: typing.Optional[builtins.str] = None,
|
|
12135
12315
|
input_path: typing.Optional[builtins.str] = None,
|
|
12136
12316
|
output_path: typing.Optional[builtins.str] = None,
|
|
12317
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
12137
12318
|
) -> None:
|
|
12138
12319
|
'''
|
|
12139
12320
|
:param scope: -
|
|
@@ -12141,13 +12322,17 @@ class Choice(
|
|
|
12141
12322
|
:param comment: An optional description for this state. Default: No comment
|
|
12142
12323
|
: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: $
|
|
12143
12324
|
: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: $
|
|
12325
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
12144
12326
|
'''
|
|
12145
12327
|
if __debug__:
|
|
12146
12328
|
type_hints = typing.get_type_hints(_typecheckingstub__29c27d2454927afdcf01784360c45c98368486d465f54265c1199aa70baaae72)
|
|
12147
12329
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
12148
12330
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
12149
12331
|
props = ChoiceProps(
|
|
12150
|
-
comment=comment,
|
|
12332
|
+
comment=comment,
|
|
12333
|
+
input_path=input_path,
|
|
12334
|
+
output_path=output_path,
|
|
12335
|
+
state_name=state_name,
|
|
12151
12336
|
)
|
|
12152
12337
|
|
|
12153
12338
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -12351,6 +12536,7 @@ class Fail(
|
|
|
12351
12536
|
comment: typing.Optional[builtins.str] = None,
|
|
12352
12537
|
error: typing.Optional[builtins.str] = None,
|
|
12353
12538
|
error_path: typing.Optional[builtins.str] = None,
|
|
12539
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
12354
12540
|
) -> None:
|
|
12355
12541
|
'''
|
|
12356
12542
|
:param scope: -
|
|
@@ -12360,6 +12546,7 @@ class Fail(
|
|
|
12360
12546
|
:param comment: An optional description for this state. Default: - No comment
|
|
12361
12547
|
:param error: Error code used to represent this failure. Default: - No error code
|
|
12362
12548
|
:param error_path: JsonPath expression to select part of the state to be the error to this state. Default: - No error path
|
|
12549
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
12363
12550
|
'''
|
|
12364
12551
|
if __debug__:
|
|
12365
12552
|
type_hints = typing.get_type_hints(_typecheckingstub__d1c583b760e906e99018014914554eafc9ccbd2b3420c0edbf5013a7649fb8c0)
|
|
@@ -12371,6 +12558,7 @@ class Fail(
|
|
|
12371
12558
|
comment=comment,
|
|
12372
12559
|
error=error,
|
|
12373
12560
|
error_path=error_path,
|
|
12561
|
+
state_name=state_name,
|
|
12374
12562
|
)
|
|
12375
12563
|
|
|
12376
12564
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -12441,6 +12629,7 @@ class Map(
|
|
|
12441
12629
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
12442
12630
|
result_path: typing.Optional[builtins.str] = None,
|
|
12443
12631
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
12632
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
12444
12633
|
) -> None:
|
|
12445
12634
|
'''
|
|
12446
12635
|
:param scope: -
|
|
@@ -12453,6 +12642,7 @@ class Map(
|
|
|
12453
12642
|
:param parameters: The JSON that you want to override your default iteration input. Default: $
|
|
12454
12643
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
12455
12644
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
12645
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
12456
12646
|
'''
|
|
12457
12647
|
if __debug__:
|
|
12458
12648
|
type_hints = typing.get_type_hints(_typecheckingstub__78d28fbd908923a38f00f8f82b2387552ae3a53fe5d860d66d336f49ba4c36c1)
|
|
@@ -12467,6 +12657,7 @@ class Map(
|
|
|
12467
12657
|
parameters=parameters,
|
|
12468
12658
|
result_path=result_path,
|
|
12469
12659
|
result_selector=result_selector,
|
|
12660
|
+
state_name=state_name,
|
|
12470
12661
|
)
|
|
12471
12662
|
|
|
12472
12663
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -12622,6 +12813,7 @@ class Parallel(
|
|
|
12622
12813
|
output_path: typing.Optional[builtins.str] = None,
|
|
12623
12814
|
result_path: typing.Optional[builtins.str] = None,
|
|
12624
12815
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
12816
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
12625
12817
|
) -> None:
|
|
12626
12818
|
'''
|
|
12627
12819
|
:param scope: -
|
|
@@ -12631,6 +12823,7 @@ class Parallel(
|
|
|
12631
12823
|
: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: $
|
|
12632
12824
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
12633
12825
|
:param result_selector: The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. You can use ResultSelector to create a payload with values that are static or selected from the state's raw result. Default: - None
|
|
12826
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
12634
12827
|
'''
|
|
12635
12828
|
if __debug__:
|
|
12636
12829
|
type_hints = typing.get_type_hints(_typecheckingstub__94610eed4635a69c6d4a92818527e6ecdf15561092c488fb6caa8d8ec9778a22)
|
|
@@ -12642,6 +12835,7 @@ class Parallel(
|
|
|
12642
12835
|
output_path=output_path,
|
|
12643
12836
|
result_path=result_path,
|
|
12644
12837
|
result_selector=result_selector,
|
|
12838
|
+
state_name=state_name,
|
|
12645
12839
|
)
|
|
12646
12840
|
|
|
12647
12841
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -12792,6 +12986,7 @@ class Pass(
|
|
|
12792
12986
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
12793
12987
|
result: typing.Optional[Result] = None,
|
|
12794
12988
|
result_path: typing.Optional[builtins.str] = None,
|
|
12989
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
12795
12990
|
) -> None:
|
|
12796
12991
|
'''
|
|
12797
12992
|
:param scope: -
|
|
@@ -12802,6 +12997,7 @@ class Pass(
|
|
|
12802
12997
|
:param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
|
|
12803
12998
|
:param result: If given, treat as the result of this operation. Can be used to inject or replace the current execution state. Default: No injected result
|
|
12804
12999
|
:param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: $
|
|
13000
|
+
:param state_name: Optional name for this state. Default: - The construct ID will be used as state name
|
|
12805
13001
|
'''
|
|
12806
13002
|
if __debug__:
|
|
12807
13003
|
type_hints = typing.get_type_hints(_typecheckingstub__d42bf3e652e85f6ec94972b87e3cd78f4420b89e56b719dae3323e4b9c485f2f)
|
|
@@ -12814,6 +13010,7 @@ class Pass(
|
|
|
12814
13010
|
parameters=parameters,
|
|
12815
13011
|
result=result,
|
|
12816
13012
|
result_path=result_path,
|
|
13013
|
+
state_name=state_name,
|
|
12817
13014
|
)
|
|
12818
13015
|
|
|
12819
13016
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -13273,6 +13470,7 @@ def _typecheckingstub__a926bb3a79f5cf3706dd32093c49a75fa6045aeefbff3e1b4943eb654
|
|
|
13273
13470
|
comment: typing.Optional[builtins.str] = None,
|
|
13274
13471
|
input_path: typing.Optional[builtins.str] = None,
|
|
13275
13472
|
output_path: typing.Optional[builtins.str] = None,
|
|
13473
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
13276
13474
|
) -> None:
|
|
13277
13475
|
"""Type checking stubs"""
|
|
13278
13476
|
pass
|
|
@@ -13681,6 +13879,7 @@ def _typecheckingstub__e34991edae92aa24b2bb75c9df693e2185f13c40aaf16ee220fc07ef9
|
|
|
13681
13879
|
comment: typing.Optional[builtins.str] = None,
|
|
13682
13880
|
error: typing.Optional[builtins.str] = None,
|
|
13683
13881
|
error_path: typing.Optional[builtins.str] = None,
|
|
13882
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
13684
13883
|
) -> None:
|
|
13685
13884
|
"""Type checking stubs"""
|
|
13686
13885
|
pass
|
|
@@ -13965,6 +14164,7 @@ def _typecheckingstub__841961f24272e2df479ccf3f591259c5dbc7bf471c2a6e11c7c7d61bf
|
|
|
13965
14164
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
13966
14165
|
result_path: typing.Optional[builtins.str] = None,
|
|
13967
14166
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14167
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
13968
14168
|
) -> None:
|
|
13969
14169
|
"""Type checking stubs"""
|
|
13970
14170
|
pass
|
|
@@ -13976,6 +14176,7 @@ def _typecheckingstub__7a04fcca9cbcddc34201ab96bfd6e4be7793eed6937bb07ccd5c1a2dc
|
|
|
13976
14176
|
output_path: typing.Optional[builtins.str] = None,
|
|
13977
14177
|
result_path: typing.Optional[builtins.str] = None,
|
|
13978
14178
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14179
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
13979
14180
|
) -> None:
|
|
13980
14181
|
"""Type checking stubs"""
|
|
13981
14182
|
pass
|
|
@@ -13988,6 +14189,7 @@ def _typecheckingstub__45d80da5dbca7702d56f2a0dd67c4a5a72e182c08bcd852d74ea0fa21
|
|
|
13988
14189
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
13989
14190
|
result: typing.Optional[Result] = None,
|
|
13990
14191
|
result_path: typing.Optional[builtins.str] = None,
|
|
14192
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
13991
14193
|
) -> None:
|
|
13992
14194
|
"""Type checking stubs"""
|
|
13993
14195
|
pass
|
|
@@ -14047,6 +14249,7 @@ def _typecheckingstub__5bfe6c744bf72f7e27c754b7de24b3cc1c8ee511680b9a61ee46fc118
|
|
|
14047
14249
|
output_path: typing.Optional[builtins.str] = None,
|
|
14048
14250
|
result_path: typing.Optional[builtins.str] = None,
|
|
14049
14251
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14252
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14050
14253
|
prefix_states: typing.Optional[builtins.str] = None,
|
|
14051
14254
|
state_id: typing.Optional[builtins.str] = None,
|
|
14052
14255
|
) -> None:
|
|
@@ -14063,6 +14266,7 @@ def _typecheckingstub__095d7fa7ac65d852ef7641274fbdf11368859faad0abca011b7a488de
|
|
|
14063
14266
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14064
14267
|
result_path: typing.Optional[builtins.str] = None,
|
|
14065
14268
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14269
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14066
14270
|
) -> None:
|
|
14067
14271
|
"""Type checking stubs"""
|
|
14068
14272
|
pass
|
|
@@ -14328,6 +14532,7 @@ def _typecheckingstub__3b03d550137d1f7258c191a636f4e39f4e3ecdc83ecee214790010cc1
|
|
|
14328
14532
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14329
14533
|
result_path: typing.Optional[builtins.str] = None,
|
|
14330
14534
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14535
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14331
14536
|
) -> None:
|
|
14332
14537
|
"""Type checking stubs"""
|
|
14333
14538
|
pass
|
|
@@ -14379,6 +14584,7 @@ def _typecheckingstub__e35ef3ad1b65975090819e8b098b2b754472124db44d9bf100117c9f3
|
|
|
14379
14584
|
comment: typing.Optional[builtins.str] = None,
|
|
14380
14585
|
input_path: typing.Optional[builtins.str] = None,
|
|
14381
14586
|
output_path: typing.Optional[builtins.str] = None,
|
|
14587
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14382
14588
|
) -> None:
|
|
14383
14589
|
"""Type checking stubs"""
|
|
14384
14590
|
pass
|
|
@@ -14388,6 +14594,7 @@ def _typecheckingstub__9bcb322679d9a165f0c2d8e6c39b61e6673747fb3e4fb30298aed9225
|
|
|
14388
14594
|
comment: typing.Optional[builtins.str] = None,
|
|
14389
14595
|
input_path: typing.Optional[builtins.str] = None,
|
|
14390
14596
|
output_path: typing.Optional[builtins.str] = None,
|
|
14597
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14391
14598
|
) -> None:
|
|
14392
14599
|
"""Type checking stubs"""
|
|
14393
14600
|
pass
|
|
@@ -14444,6 +14651,7 @@ def _typecheckingstub__8030332c4c85b7a6f12c27dd03b5ae36fd9b38ad46888955d3d532597
|
|
|
14444
14651
|
output_path: typing.Optional[builtins.str] = None,
|
|
14445
14652
|
result_path: typing.Optional[builtins.str] = None,
|
|
14446
14653
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14654
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14447
14655
|
task_timeout: typing.Optional[Timeout] = None,
|
|
14448
14656
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
14449
14657
|
) -> None:
|
|
@@ -14497,6 +14705,7 @@ def _typecheckingstub__487ae196f9ce32bf6886dc0cf55352b7b5f5a24cc25636bf22f525ed6
|
|
|
14497
14705
|
output_path: typing.Optional[builtins.str] = None,
|
|
14498
14706
|
result_path: typing.Optional[builtins.str] = None,
|
|
14499
14707
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14708
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14500
14709
|
task_timeout: typing.Optional[Timeout] = None,
|
|
14501
14710
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
14502
14711
|
) -> None:
|
|
@@ -14521,6 +14730,7 @@ def _typecheckingstub__a6a8ce927e9d411d4263a43306a0e94bd7a5d563bd35e990ab82dbb66
|
|
|
14521
14730
|
*,
|
|
14522
14731
|
time: WaitTime,
|
|
14523
14732
|
comment: typing.Optional[builtins.str] = None,
|
|
14733
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14524
14734
|
) -> None:
|
|
14525
14735
|
"""Type checking stubs"""
|
|
14526
14736
|
pass
|
|
@@ -14535,6 +14745,7 @@ def _typecheckingstub__534eb46b5e3f50b25dea609490a5fd97e2e7f56c6eeed5ea19d37b699
|
|
|
14535
14745
|
*,
|
|
14536
14746
|
time: WaitTime,
|
|
14537
14747
|
comment: typing.Optional[builtins.str] = None,
|
|
14748
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14538
14749
|
) -> None:
|
|
14539
14750
|
"""Type checking stubs"""
|
|
14540
14751
|
pass
|
|
@@ -14645,6 +14856,7 @@ def _typecheckingstub__468194d7b14012a289ab0c26efcba49fbd09832b9f87d79467e6334c8
|
|
|
14645
14856
|
output_path: typing.Optional[builtins.str] = None,
|
|
14646
14857
|
result_path: typing.Optional[builtins.str] = None,
|
|
14647
14858
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14859
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14648
14860
|
) -> None:
|
|
14649
14861
|
"""Type checking stubs"""
|
|
14650
14862
|
pass
|
|
@@ -14681,6 +14893,7 @@ def _typecheckingstub__29c27d2454927afdcf01784360c45c98368486d465f54265c1199aa70
|
|
|
14681
14893
|
comment: typing.Optional[builtins.str] = None,
|
|
14682
14894
|
input_path: typing.Optional[builtins.str] = None,
|
|
14683
14895
|
output_path: typing.Optional[builtins.str] = None,
|
|
14896
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14684
14897
|
) -> None:
|
|
14685
14898
|
"""Type checking stubs"""
|
|
14686
14899
|
pass
|
|
@@ -14724,6 +14937,7 @@ def _typecheckingstub__d1c583b760e906e99018014914554eafc9ccbd2b3420c0edbf5013a76
|
|
|
14724
14937
|
comment: typing.Optional[builtins.str] = None,
|
|
14725
14938
|
error: typing.Optional[builtins.str] = None,
|
|
14726
14939
|
error_path: typing.Optional[builtins.str] = None,
|
|
14940
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14727
14941
|
) -> None:
|
|
14728
14942
|
"""Type checking stubs"""
|
|
14729
14943
|
pass
|
|
@@ -14740,6 +14954,7 @@ def _typecheckingstub__78d28fbd908923a38f00f8f82b2387552ae3a53fe5d860d66d336f49b
|
|
|
14740
14954
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14741
14955
|
result_path: typing.Optional[builtins.str] = None,
|
|
14742
14956
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14957
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14743
14958
|
) -> None:
|
|
14744
14959
|
"""Type checking stubs"""
|
|
14745
14960
|
pass
|
|
@@ -14774,6 +14989,7 @@ def _typecheckingstub__94610eed4635a69c6d4a92818527e6ecdf15561092c488fb6caa8d8ec
|
|
|
14774
14989
|
output_path: typing.Optional[builtins.str] = None,
|
|
14775
14990
|
result_path: typing.Optional[builtins.str] = None,
|
|
14776
14991
|
result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14992
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14777
14993
|
) -> None:
|
|
14778
14994
|
"""Type checking stubs"""
|
|
14779
14995
|
pass
|
|
@@ -14815,6 +15031,7 @@ def _typecheckingstub__d42bf3e652e85f6ec94972b87e3cd78f4420b89e56b719dae3323e4b9
|
|
|
14815
15031
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
14816
15032
|
result: typing.Optional[Result] = None,
|
|
14817
15033
|
result_path: typing.Optional[builtins.str] = None,
|
|
15034
|
+
state_name: typing.Optional[builtins.str] = None,
|
|
14818
15035
|
) -> None:
|
|
14819
15036
|
"""Type checking stubs"""
|
|
14820
15037
|
pass
|