aws-cdk-lib 2.179.0__py3-none-any.whl → 2.181.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.

Files changed (70) hide show
  1. aws_cdk/__init__.py +92 -34
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.179.0.jsii.tgz → aws-cdk-lib@2.181.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +48 -1
  5. aws_cdk/aws_apigateway/__init__.py +6 -6
  6. aws_cdk/aws_appsync/__init__.py +4 -3
  7. aws_cdk/aws_backup/__init__.py +89 -0
  8. aws_cdk/aws_batch/__init__.py +89 -50
  9. aws_cdk/aws_bedrock/__init__.py +1265 -62
  10. aws_cdk/aws_chatbot/__init__.py +80 -53
  11. aws_cdk/aws_cloudformation/__init__.py +40 -8
  12. aws_cdk/aws_cloudfront/__init__.py +1046 -155
  13. aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
  14. aws_cdk/aws_cloudtrail/__init__.py +4 -8
  15. aws_cdk/aws_cloudwatch/__init__.py +1 -1
  16. aws_cdk/aws_codebuild/__init__.py +2 -2
  17. aws_cdk/aws_codepipeline/__init__.py +24 -0
  18. aws_cdk/aws_codepipeline_actions/__init__.py +28 -1
  19. aws_cdk/aws_codestar/__init__.py +2 -1
  20. aws_cdk/aws_cognito/__init__.py +100 -13
  21. aws_cdk/aws_config/__init__.py +3 -3
  22. aws_cdk/aws_connect/__init__.py +257 -0
  23. aws_cdk/aws_datasync/__init__.py +279 -50
  24. aws_cdk/aws_deadline/__init__.py +683 -6
  25. aws_cdk/aws_directoryservice/__init__.py +9 -4
  26. aws_cdk/aws_dlm/__init__.py +2 -2
  27. aws_cdk/aws_dms/__init__.py +3 -3
  28. aws_cdk/aws_dynamodb/__init__.py +4 -58
  29. aws_cdk/aws_ec2/__init__.py +377 -121
  30. aws_cdk/aws_ecs/__init__.py +37 -46
  31. aws_cdk/aws_efs/__init__.py +1 -1
  32. aws_cdk/aws_eks/__init__.py +19 -13
  33. aws_cdk/aws_elasticloadbalancingv2/__init__.py +13 -27
  34. aws_cdk/aws_emrcontainers/__init__.py +44 -1
  35. aws_cdk/aws_events/__init__.py +8 -11
  36. aws_cdk/aws_fms/__init__.py +5 -5
  37. aws_cdk/aws_fsx/__init__.py +5 -4
  38. aws_cdk/aws_glue/__init__.py +161 -0
  39. aws_cdk/aws_groundstation/__init__.py +23 -1
  40. aws_cdk/aws_iam/__init__.py +12 -12
  41. aws_cdk/aws_iot/__init__.py +7 -0
  42. aws_cdk/aws_ivs/__init__.py +17 -8
  43. aws_cdk/aws_kinesis/__init__.py +689 -35
  44. aws_cdk/aws_lambda/__init__.py +10 -15
  45. aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
  46. aws_cdk/aws_medialive/__init__.py +314 -4
  47. aws_cdk/aws_mediapackagev2/__init__.py +228 -0
  48. aws_cdk/aws_networkfirewall/__init__.py +3 -3
  49. aws_cdk/aws_opensearchserverless/__init__.py +31 -8
  50. aws_cdk/aws_organizations/__init__.py +3 -3
  51. aws_cdk/aws_pcaconnectorscep/__init__.py +1 -1
  52. aws_cdk/aws_rds/__init__.py +456 -100
  53. aws_cdk/aws_s3/__init__.py +278 -0
  54. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  55. aws_cdk/aws_ses/__init__.py +228 -8
  56. aws_cdk/aws_ssm/__init__.py +9 -10
  57. aws_cdk/aws_stepfunctions/__init__.py +345 -70
  58. aws_cdk/aws_stepfunctions_tasks/__init__.py +142 -142
  59. aws_cdk/aws_supportapp/__init__.py +7 -7
  60. aws_cdk/aws_transfer/__init__.py +829 -4
  61. aws_cdk/aws_wafv2/__init__.py +17 -9
  62. aws_cdk/aws_wisdom/__init__.py +149 -4
  63. aws_cdk/custom_resources/__init__.py +23 -26
  64. aws_cdk/cx_api/__init__.py +16 -0
  65. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/METADATA +1 -1
  66. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/RECORD +70 -70
  67. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/LICENSE +0 -0
  68. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/NOTICE +0 -0
  69. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/WHEEL +0 -0
  70. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/top_level.txt +0 -0
@@ -866,7 +866,9 @@ distributed_map.item_processor(sfn.Pass(self, "Pass State"))
866
866
  ```
867
867
  * Objects in a S3 bucket with an optional prefix.
868
868
 
869
- * When `DistributedMap` is required to iterate over objects stored in a S3 bucket, then an object of `S3ObjectsItemReader` can be passed to `itemReader` to configure the iterator source as follows:
869
+ * When `DistributedMap` is required to iterate over objects stored in a S3 bucket, then an object of `S3ObjectsItemReader` can be passed to `itemReader` to configure the iterator source. Note that `S3ObjectsItemReader` will default to use Distributed map's query language. If the
870
+ map does not specify a query language, then it falls back to the State machine's query language. An exmaple of using `S3ObjectsItemReader`
871
+ is as follows:
870
872
 
871
873
  ```python
872
874
  import aws_cdk.aws_s3 as s3
@@ -975,6 +977,9 @@ distributed_map.item_processor(sfn.Pass(self, "Pass State"))
975
977
 
976
978
  Map states in Distributed mode also support writing results of the iterator to an S3 bucket and optional prefix. Use a `ResultWriter` object provided via the optional `resultWriter` property to configure which S3 location iterator results will be written. The default behavior id `resultWriter` is omitted is to use the state output payload. However, if the iterator results are larger than the 256 kb limit for Step Functions payloads then the State Machine will fail.
977
979
 
980
+ ResultWriter object will default to use the Distributed map's query language. If the Distributed map's does not specify a query language, then it
981
+ will fall back to the State machine's query langauge.
982
+
978
983
  ```python
979
984
  import aws_cdk.aws_s3 as s3
980
985
 
@@ -1879,7 +1884,7 @@ class AssignableStateOptions:
1879
1884
 
1880
1885
  :default: - Not assign variables
1881
1886
 
1882
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
1887
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
1883
1888
  '''
1884
1889
  result = self._values.get("assign")
1885
1890
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -1966,7 +1971,7 @@ class CatchProps:
1966
1971
 
1967
1972
  :default: - Not assign variables
1968
1973
 
1969
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
1974
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
1970
1975
  '''
1971
1976
  result = self._values.get("assign")
1972
1977
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -4574,7 +4579,7 @@ class ChoiceTransitionOptions(AssignableStateOptions):
4574
4579
 
4575
4580
  :default: - Not assign variables
4576
4581
 
4577
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
4582
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
4578
4583
  '''
4579
4584
  result = self._values.get("assign")
4580
4585
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -5505,6 +5510,22 @@ class Credentials:
5505
5510
  )
5506
5511
 
5507
5512
 
5513
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_stepfunctions.CsvDelimiter")
5514
+ class CsvDelimiter(enum.Enum):
5515
+ '''Delimiter used in CSV file.'''
5516
+
5517
+ COMMA = "COMMA"
5518
+ '''Comma delimiter.'''
5519
+ PIPE = "PIPE"
5520
+ '''Pipe delimiter.'''
5521
+ SEMICOLON = "SEMICOLON"
5522
+ '''Semicolon delimiter.'''
5523
+ SPACE = "SPACE"
5524
+ '''Space delimiter.'''
5525
+ TAB = "TAB"
5526
+ '''Tab delimiter.'''
5527
+
5528
+
5508
5529
  @jsii.enum(jsii_type="aws-cdk-lib.aws_stepfunctions.CsvHeaderLocation")
5509
5530
  class CsvHeaderLocation(enum.Enum):
5510
5531
  '''CSV header location options.'''
@@ -6432,8 +6453,14 @@ class IItemReader(typing_extensions.Protocol):
6432
6453
  ...
6433
6454
 
6434
6455
  @jsii.member(jsii_name="render")
6435
- def render(self) -> typing.Any:
6436
- '''Render the ItemReader as JSON object.'''
6456
+ def render(
6457
+ self,
6458
+ query_language: typing.Optional["QueryLanguage"] = None,
6459
+ ) -> typing.Any:
6460
+ '''Render the ItemReader as JSON object.
6461
+
6462
+ :param query_language: -
6463
+ '''
6437
6464
  ...
6438
6465
 
6439
6466
  @jsii.member(jsii_name="validateItemReader")
@@ -6483,9 +6510,18 @@ class _IItemReaderProxy:
6483
6510
  return typing.cast(typing.List[_PolicyStatement_0fe33853], jsii.invoke(self, "providePolicyStatements", []))
6484
6511
 
6485
6512
  @jsii.member(jsii_name="render")
6486
- def render(self) -> typing.Any:
6487
- '''Render the ItemReader as JSON object.'''
6488
- return typing.cast(typing.Any, jsii.invoke(self, "render", []))
6513
+ def render(
6514
+ self,
6515
+ query_language: typing.Optional["QueryLanguage"] = None,
6516
+ ) -> typing.Any:
6517
+ '''Render the ItemReader as JSON object.
6518
+
6519
+ :param query_language: -
6520
+ '''
6521
+ if __debug__:
6522
+ type_hints = typing.get_type_hints(_typecheckingstub__783b63447c23bb4d8a57ba3e21444d4647a4973f534473e7a1f006d36180cc81)
6523
+ check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
6524
+ return typing.cast(typing.Any, jsii.invoke(self, "render", [query_language]))
6489
6525
 
6490
6526
  @jsii.member(jsii_name="validateItemReader")
6491
6527
  def validate_item_reader(self) -> typing.List[builtins.str]:
@@ -8564,13 +8600,13 @@ class LogOptions:
8564
8600
  def __init__(
8565
8601
  self,
8566
8602
  *,
8567
- destination: _ILogGroup_3c4fa718,
8603
+ destination: typing.Optional[_ILogGroup_3c4fa718] = None,
8568
8604
  include_execution_data: typing.Optional[builtins.bool] = None,
8569
8605
  level: typing.Optional[LogLevel] = None,
8570
8606
  ) -> None:
8571
8607
  '''Defines what execution history events are logged and where they are logged.
8572
8608
 
8573
- :param destination: The log group where the execution history events will be logged.
8609
+ :param destination: The log group where the execution history events will be logged. Default: No log group. Required if your log level is not set to OFF.
8574
8610
  :param include_execution_data: Determines whether execution data is included in your log. Default: false
8575
8611
  :param level: Defines which category of execution history events are logged. Default: ERROR
8576
8612
 
@@ -8598,20 +8634,22 @@ class LogOptions:
8598
8634
  check_type(argname="argument destination", value=destination, expected_type=type_hints["destination"])
8599
8635
  check_type(argname="argument include_execution_data", value=include_execution_data, expected_type=type_hints["include_execution_data"])
8600
8636
  check_type(argname="argument level", value=level, expected_type=type_hints["level"])
8601
- self._values: typing.Dict[builtins.str, typing.Any] = {
8602
- "destination": destination,
8603
- }
8637
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
8638
+ if destination is not None:
8639
+ self._values["destination"] = destination
8604
8640
  if include_execution_data is not None:
8605
8641
  self._values["include_execution_data"] = include_execution_data
8606
8642
  if level is not None:
8607
8643
  self._values["level"] = level
8608
8644
 
8609
8645
  @builtins.property
8610
- def destination(self) -> _ILogGroup_3c4fa718:
8611
- '''The log group where the execution history events will be logged.'''
8646
+ def destination(self) -> typing.Optional[_ILogGroup_3c4fa718]:
8647
+ '''The log group where the execution history events will be logged.
8648
+
8649
+ :default: No log group. Required if your log level is not set to OFF.
8650
+ '''
8612
8651
  result = self._values.get("destination")
8613
- assert result is not None, "Required property 'destination' is missing"
8614
- return typing.cast(_ILogGroup_3c4fa718, result)
8652
+ return typing.cast(typing.Optional[_ILogGroup_3c4fa718], result)
8615
8653
 
8616
8654
  @builtins.property
8617
8655
  def include_execution_data(self) -> typing.Optional[builtins.bool]:
@@ -8887,21 +8925,24 @@ class MapBaseJsonataOptions(JsonataCommonOptions):
8887
8925
 
8888
8926
  @jsii.data_type(
8889
8927
  jsii_type="aws-cdk-lib.aws_stepfunctions.MapBaseOptions",
8890
- jsii_struct_bases=[],
8928
+ jsii_struct_bases=[AssignableStateOptions],
8891
8929
  name_mapping={
8930
+ "assign": "assign",
8892
8931
  "item_selector": "itemSelector",
8893
8932
  "max_concurrency": "maxConcurrency",
8894
8933
  },
8895
8934
  )
8896
- class MapBaseOptions:
8935
+ class MapBaseOptions(AssignableStateOptions):
8897
8936
  def __init__(
8898
8937
  self,
8899
8938
  *,
8939
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
8900
8940
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
8901
8941
  max_concurrency: typing.Optional[jsii.Number] = None,
8902
8942
  ) -> None:
8903
8943
  '''Base properties for defining a Map state.
8904
8944
 
8945
+ :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
8905
8946
  :param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
8906
8947
  :param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
8907
8948
 
@@ -8913,9 +8954,13 @@ class MapBaseOptions:
8913
8954
  # The values are placeholders you should change.
8914
8955
  from aws_cdk import aws_stepfunctions as stepfunctions
8915
8956
 
8957
+ # assign: Any
8916
8958
  # item_selector: Any
8917
8959
 
8918
8960
  map_base_options = stepfunctions.MapBaseOptions(
8961
+ assign={
8962
+ "assign_key": assign
8963
+ },
8919
8964
  item_selector={
8920
8965
  "item_selector_key": item_selector
8921
8966
  },
@@ -8924,14 +8969,30 @@ class MapBaseOptions:
8924
8969
  '''
8925
8970
  if __debug__:
8926
8971
  type_hints = typing.get_type_hints(_typecheckingstub__7e64b5e53f029b5753785385b8477bb5c760876cfc7efe1b7fa47a5f792fffcb)
8972
+ check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
8927
8973
  check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
8928
8974
  check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
8929
8975
  self._values: typing.Dict[builtins.str, typing.Any] = {}
8976
+ if assign is not None:
8977
+ self._values["assign"] = assign
8930
8978
  if item_selector is not None:
8931
8979
  self._values["item_selector"] = item_selector
8932
8980
  if max_concurrency is not None:
8933
8981
  self._values["max_concurrency"] = max_concurrency
8934
8982
 
8983
+ @builtins.property
8984
+ def assign(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
8985
+ '''Workflow variables to store in this step.
8986
+
8987
+ Using workflow variables, you can store data in a step and retrieve that data in future steps.
8988
+
8989
+ :default: - Not assign variables
8990
+
8991
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
8992
+ '''
8993
+ result = self._values.get("assign")
8994
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
8995
+
8935
8996
  @builtins.property
8936
8997
  def item_selector(
8937
8998
  self,
@@ -9349,9 +9410,18 @@ class ResultWriter(
9349
9410
  return typing.cast(typing.List[_PolicyStatement_0fe33853], jsii.invoke(self, "providePolicyStatements", []))
9350
9411
 
9351
9412
  @jsii.member(jsii_name="render")
9352
- def render(self) -> typing.Any:
9353
- '''Render ResultWriter in ASL JSON format.'''
9354
- return typing.cast(typing.Any, jsii.invoke(self, "render", []))
9413
+ def render(
9414
+ self,
9415
+ query_language: typing.Optional[QueryLanguage] = None,
9416
+ ) -> typing.Any:
9417
+ '''Render ResultWriter in ASL JSON format.
9418
+
9419
+ :param query_language: -
9420
+ '''
9421
+ if __debug__:
9422
+ type_hints = typing.get_type_hints(_typecheckingstub__690debfadbf5210fcb1a54639e938d5096d2b5eefb9fa6790552d733cf404d6d)
9423
+ check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
9424
+ return typing.cast(typing.Any, jsii.invoke(self, "render", [query_language]))
9355
9425
 
9356
9426
  @builtins.property
9357
9427
  @jsii.member(jsii_name="bucket")
@@ -9381,7 +9451,7 @@ class ResultWriterProps:
9381
9451
  bucket: _IBucket_42e086fd,
9382
9452
  prefix: typing.Optional[builtins.str] = None,
9383
9453
  ) -> None:
9384
- '''Interface for Result Writer configuration properties.
9454
+ '''Interface for Result Writer configuration props.
9385
9455
 
9386
9456
  :param bucket: S3 Bucket in which to save Map Run results.
9387
9457
  :param prefix: S3 prefix in which to save Map Run results. Default: - No prefix
@@ -9622,6 +9692,7 @@ class S3CsvItemReader(
9622
9692
  # the properties below are optional
9623
9693
  bucket=bucket,
9624
9694
  bucket_name_path="bucketNamePath",
9695
+ csv_delimiter=stepfunctions.CsvDelimiter.COMMA,
9625
9696
  csv_headers=csv_headers,
9626
9697
  max_items=123
9627
9698
  )
@@ -9630,6 +9701,7 @@ class S3CsvItemReader(
9630
9701
  def __init__(
9631
9702
  self,
9632
9703
  *,
9704
+ csv_delimiter: typing.Optional[CsvDelimiter] = None,
9633
9705
  csv_headers: typing.Optional[CsvHeaders] = None,
9634
9706
  key: builtins.str,
9635
9707
  bucket: typing.Optional[_IBucket_42e086fd] = None,
@@ -9637,6 +9709,7 @@ class S3CsvItemReader(
9637
9709
  max_items: typing.Optional[jsii.Number] = None,
9638
9710
  ) -> None:
9639
9711
  '''
9712
+ :param csv_delimiter: Delimiter used in a CSV file. Default: undefined - Default setting is COMMA.
9640
9713
  :param csv_headers: CSV file header configuration. Default: - CsvHeaders with CsvHeadersLocation.FIRST_ROW
9641
9714
  :param key: Key of file stored in S3 bucket containing an array to iterate over.
9642
9715
  :param bucket: S3 Bucket containing objects to iterate over or a file with a list to iterate over. Default: - S3 bucket will be determined from
@@ -9644,6 +9717,7 @@ class S3CsvItemReader(
9644
9717
  :param max_items: Limits the number of items passed to the Distributed Map state. Default: - Distributed Map state will iterate over all items provided by the ItemReader
9645
9718
  '''
9646
9719
  props = S3CsvItemReaderProps(
9720
+ csv_delimiter=csv_delimiter,
9647
9721
  csv_headers=csv_headers,
9648
9722
  key=key,
9649
9723
  bucket=bucket,
@@ -9659,9 +9733,18 @@ class S3CsvItemReader(
9659
9733
  return typing.cast(typing.List[_PolicyStatement_0fe33853], jsii.invoke(self, "providePolicyStatements", []))
9660
9734
 
9661
9735
  @jsii.member(jsii_name="render")
9662
- def render(self) -> typing.Any:
9663
- '''Renders the ItemReader configuration as JSON object.'''
9664
- return typing.cast(typing.Any, jsii.invoke(self, "render", []))
9736
+ def render(
9737
+ self,
9738
+ query_language: typing.Optional[QueryLanguage] = None,
9739
+ ) -> typing.Any:
9740
+ '''Renders the ItemReader configuration as JSON object.
9741
+
9742
+ :param query_language: -
9743
+ '''
9744
+ if __debug__:
9745
+ type_hints = typing.get_type_hints(_typecheckingstub__c53f9a2ea7d79879b70d5d22b592d43105c7737e7451602d697e1aac041f8ffe)
9746
+ check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
9747
+ return typing.cast(typing.Any, jsii.invoke(self, "render", [query_language]))
9665
9748
 
9666
9749
  @jsii.member(jsii_name="validateItemReader")
9667
9750
  def validate_item_reader(self) -> typing.List[builtins.str]:
@@ -9706,6 +9789,12 @@ class S3CsvItemReader(
9706
9789
  '''S3 bucket name containing objects to iterate over or a file with a list to iterate over, as JsonPath.'''
9707
9790
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "bucketNamePath"))
9708
9791
 
9792
+ @builtins.property
9793
+ @jsii.member(jsii_name="csvDelimiter")
9794
+ def csv_delimiter(self) -> typing.Optional[CsvDelimiter]:
9795
+ '''Delimiter used in CSV file.'''
9796
+ return typing.cast(typing.Optional[CsvDelimiter], jsii.get(self, "csvDelimiter"))
9797
+
9709
9798
  @builtins.property
9710
9799
  @jsii.member(jsii_name="maxItems")
9711
9800
  def max_items(self) -> typing.Optional[jsii.Number]:
@@ -9911,12 +10000,20 @@ class S3JsonItemReader(
9911
10000
  return typing.cast(typing.List[_PolicyStatement_0fe33853], jsii.invoke(self, "providePolicyStatements", []))
9912
10001
 
9913
10002
  @jsii.member(jsii_name="render")
9914
- def render(self) -> typing.Any:
10003
+ def render(
10004
+ self,
10005
+ query_language: typing.Optional[QueryLanguage] = None,
10006
+ ) -> typing.Any:
9915
10007
  '''Renders the ItemReader configuration as JSON object.
9916
10008
 
10009
+ :param query_language: -
10010
+
9917
10011
  :return: - JSON object
9918
10012
  '''
9919
- return typing.cast(typing.Any, jsii.invoke(self, "render", []))
10013
+ if __debug__:
10014
+ type_hints = typing.get_type_hints(_typecheckingstub__f7ba747569314ea29170c03870323ea1ddbbec560569d03719539553067efa54)
10015
+ check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
10016
+ return typing.cast(typing.Any, jsii.invoke(self, "render", [query_language]))
9920
10017
 
9921
10018
  @jsii.member(jsii_name="validateItemReader")
9922
10019
  def validate_item_reader(self) -> typing.List[builtins.str]:
@@ -10022,12 +10119,20 @@ class S3ManifestItemReader(
10022
10119
  return typing.cast(typing.List[_PolicyStatement_0fe33853], jsii.invoke(self, "providePolicyStatements", []))
10023
10120
 
10024
10121
  @jsii.member(jsii_name="render")
10025
- def render(self) -> typing.Any:
10122
+ def render(
10123
+ self,
10124
+ query_language: typing.Optional[QueryLanguage] = None,
10125
+ ) -> typing.Any:
10026
10126
  '''Renders the ItemReader configuration as JSON object.
10027
10127
 
10128
+ :param query_language: -
10129
+
10028
10130
  :return: - JSON object
10029
10131
  '''
10030
- return typing.cast(typing.Any, jsii.invoke(self, "render", []))
10132
+ if __debug__:
10133
+ type_hints = typing.get_type_hints(_typecheckingstub__19056f84ae53892b20d050acc2be09f4ae779dad92d64cefcd50b3ad874b480f)
10134
+ check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
10135
+ return typing.cast(typing.Any, jsii.invoke(self, "render", [query_language]))
10031
10136
 
10032
10137
  @jsii.member(jsii_name="validateItemReader")
10033
10138
  def validate_item_reader(self) -> typing.List[builtins.str]:
@@ -10144,12 +10249,20 @@ class S3ObjectsItemReader(
10144
10249
  return typing.cast(typing.List[_PolicyStatement_0fe33853], jsii.invoke(self, "providePolicyStatements", []))
10145
10250
 
10146
10251
  @jsii.member(jsii_name="render")
10147
- def render(self) -> typing.Any:
10252
+ def render(
10253
+ self,
10254
+ query_language: typing.Optional[QueryLanguage] = None,
10255
+ ) -> typing.Any:
10148
10256
  '''Renders the ItemReader configuration as JSON object.
10149
10257
 
10258
+ :param query_language: -
10259
+
10150
10260
  :return: - JSON object
10151
10261
  '''
10152
- return typing.cast(typing.Any, jsii.invoke(self, "render", []))
10262
+ if __debug__:
10263
+ type_hints = typing.get_type_hints(_typecheckingstub__3bc2701d4d17a9ebaf074864a8e82d7f7fa507a2201b875a0966d6306ef38032)
10264
+ check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
10265
+ return typing.cast(typing.Any, jsii.invoke(self, "render", [query_language]))
10153
10266
 
10154
10267
  @jsii.member(jsii_name="validateItemReader")
10155
10268
  def validate_item_reader(self) -> typing.List[builtins.str]:
@@ -12434,7 +12547,7 @@ class StateProps(
12434
12547
 
12435
12548
  :default: - Not assign variables
12436
12549
 
12437
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
12550
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
12438
12551
  '''
12439
12552
  result = self._values.get("assign")
12440
12553
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -14760,7 +14873,7 @@ class TaskStateBaseProps(
14760
14873
 
14761
14874
  :default: - Not assign variables
14762
14875
 
14763
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
14876
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
14764
14877
  '''
14765
14878
  result = self._values.get("assign")
14766
14879
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -15117,7 +15230,7 @@ class TaskStateJsonPathBaseProps(
15117
15230
 
15118
15231
  :default: - Not assign variables
15119
15232
 
15120
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
15233
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
15121
15234
  '''
15122
15235
  result = self._values.get("assign")
15123
15236
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -15434,7 +15547,7 @@ class TaskStateJsonataBaseProps(
15434
15547
 
15435
15548
  :default: - Not assign variables
15436
15549
 
15437
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
15550
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
15438
15551
  '''
15439
15552
  result = self._values.get("assign")
15440
15553
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -15893,7 +16006,7 @@ class WaitJsonPathProps(StateBaseProps, AssignableStateOptions, JsonPathCommonOp
15893
16006
 
15894
16007
  :default: - Not assign variables
15895
16008
 
15896
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
16009
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
15897
16010
  '''
15898
16011
  result = self._values.get("assign")
15899
16012
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -16048,7 +16161,7 @@ class WaitJsonataProps(StateBaseProps, AssignableStateOptions, JsonataCommonOpti
16048
16161
 
16049
16162
  :default: - Not assign variables
16050
16163
 
16051
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
16164
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
16052
16165
  '''
16053
16166
  result = self._values.get("assign")
16054
16167
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -16205,7 +16318,7 @@ class WaitProps(StateBaseProps, AssignableStateOptions):
16205
16318
 
16206
16319
  :default: - Not assign variables
16207
16320
 
16208
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
16321
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
16209
16322
  '''
16210
16323
  result = self._values.get("assign")
16211
16324
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -17530,7 +17643,7 @@ class ChoiceJsonPathProps(
17530
17643
 
17531
17644
  :default: - Not assign variables
17532
17645
 
17533
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
17646
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
17534
17647
  '''
17535
17648
  result = self._values.get("assign")
17536
17649
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -17678,7 +17791,7 @@ class ChoiceJsonataProps(StateBaseProps, AssignableStateOptions, JsonataCommonOp
17678
17791
 
17679
17792
  :default: - Not assign variables
17680
17793
 
17681
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
17794
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
17682
17795
  '''
17683
17796
  result = self._values.get("assign")
17684
17797
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -17834,7 +17947,7 @@ class ChoiceProps(
17834
17947
 
17835
17948
  :default: - Not assign variables
17836
17949
 
17837
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
17950
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
17838
17951
  '''
17839
17952
  result = self._values.get("assign")
17840
17953
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -18146,6 +18259,7 @@ class CustomerManagedEncryptionConfiguration(
18146
18259
  "comment": "comment",
18147
18260
  "query_language": "queryLanguage",
18148
18261
  "state_name": "stateName",
18262
+ "assign": "assign",
18149
18263
  "item_selector": "itemSelector",
18150
18264
  "max_concurrency": "maxConcurrency",
18151
18265
  "input_path": "inputPath",
@@ -18176,6 +18290,7 @@ class DistributedMapJsonPathProps(
18176
18290
  comment: typing.Optional[builtins.str] = None,
18177
18291
  query_language: typing.Optional[QueryLanguage] = None,
18178
18292
  state_name: typing.Optional[builtins.str] = None,
18293
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
18179
18294
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
18180
18295
  max_concurrency: typing.Optional[jsii.Number] = None,
18181
18296
  input_path: typing.Optional[builtins.str] = None,
@@ -18199,6 +18314,7 @@ class DistributedMapJsonPathProps(
18199
18314
  :param comment: A comment describing this state. Default: No comment
18200
18315
  :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
18201
18316
  :param state_name: Optional name for this state. Default: - The construct ID will be used as state name
18317
+ :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
18202
18318
  :param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
18203
18319
  :param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
18204
18320
  :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: $
@@ -18225,6 +18341,7 @@ class DistributedMapJsonPathProps(
18225
18341
  # The values are placeholders you should change.
18226
18342
  from aws_cdk import aws_stepfunctions as stepfunctions
18227
18343
 
18344
+ # assign: Any
18228
18345
  # item_batcher: stepfunctions.ItemBatcher
18229
18346
  # item_reader: stepfunctions.IItemReader
18230
18347
  # item_selector: Any
@@ -18232,6 +18349,9 @@ class DistributedMapJsonPathProps(
18232
18349
  # result_writer: stepfunctions.ResultWriter
18233
18350
 
18234
18351
  distributed_map_json_path_props = stepfunctions.DistributedMapJsonPathProps(
18352
+ assign={
18353
+ "assign_key": assign
18354
+ },
18235
18355
  comment="comment",
18236
18356
  input_path="inputPath",
18237
18357
  item_batcher=item_batcher,
@@ -18263,6 +18383,7 @@ class DistributedMapJsonPathProps(
18263
18383
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
18264
18384
  check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
18265
18385
  check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
18386
+ check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
18266
18387
  check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
18267
18388
  check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
18268
18389
  check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
@@ -18287,6 +18408,8 @@ class DistributedMapJsonPathProps(
18287
18408
  self._values["query_language"] = query_language
18288
18409
  if state_name is not None:
18289
18410
  self._values["state_name"] = state_name
18411
+ if assign is not None:
18412
+ self._values["assign"] = assign
18290
18413
  if item_selector is not None:
18291
18414
  self._values["item_selector"] = item_selector
18292
18415
  if max_concurrency is not None:
@@ -18352,6 +18475,19 @@ class DistributedMapJsonPathProps(
18352
18475
  result = self._values.get("state_name")
18353
18476
  return typing.cast(typing.Optional[builtins.str], result)
18354
18477
 
18478
+ @builtins.property
18479
+ def assign(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
18480
+ '''Workflow variables to store in this step.
18481
+
18482
+ Using workflow variables, you can store data in a step and retrieve that data in future steps.
18483
+
18484
+ :default: - Not assign variables
18485
+
18486
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
18487
+ '''
18488
+ result = self._values.get("assign")
18489
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
18490
+
18355
18491
  @builtins.property
18356
18492
  def item_selector(
18357
18493
  self,
@@ -18568,6 +18704,7 @@ class DistributedMapJsonPathProps(
18568
18704
  "comment": "comment",
18569
18705
  "query_language": "queryLanguage",
18570
18706
  "state_name": "stateName",
18707
+ "assign": "assign",
18571
18708
  "item_selector": "itemSelector",
18572
18709
  "max_concurrency": "maxConcurrency",
18573
18710
  "outputs": "outputs",
@@ -18588,6 +18725,7 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
18588
18725
  comment: typing.Optional[builtins.str] = None,
18589
18726
  query_language: typing.Optional[QueryLanguage] = None,
18590
18727
  state_name: typing.Optional[builtins.str] = None,
18728
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
18591
18729
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
18592
18730
  max_concurrency: typing.Optional[jsii.Number] = None,
18593
18731
  outputs: typing.Any = None,
@@ -18605,6 +18743,7 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
18605
18743
  :param comment: A comment describing this state. Default: No comment
18606
18744
  :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
18607
18745
  :param state_name: Optional name for this state. Default: - The construct ID will be used as state name
18746
+ :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
18608
18747
  :param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
18609
18748
  :param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
18610
18749
  :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
@@ -18625,6 +18764,7 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
18625
18764
  # The values are placeholders you should change.
18626
18765
  from aws_cdk import aws_stepfunctions as stepfunctions
18627
18766
 
18767
+ # assign: Any
18628
18768
  # item_batcher: stepfunctions.ItemBatcher
18629
18769
  # item_reader: stepfunctions.IItemReader
18630
18770
  # item_selector: Any
@@ -18633,6 +18773,9 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
18633
18773
  # result_writer: stepfunctions.ResultWriter
18634
18774
 
18635
18775
  distributed_map_jsonata_props = stepfunctions.DistributedMapJsonataProps(
18776
+ assign={
18777
+ "assign_key": assign
18778
+ },
18636
18779
  comment="comment",
18637
18780
  item_batcher=item_batcher,
18638
18781
  item_reader=item_reader,
@@ -18656,6 +18799,7 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
18656
18799
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
18657
18800
  check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
18658
18801
  check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
18802
+ check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
18659
18803
  check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
18660
18804
  check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
18661
18805
  check_type(argname="argument outputs", value=outputs, expected_type=type_hints["outputs"])
@@ -18674,6 +18818,8 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
18674
18818
  self._values["query_language"] = query_language
18675
18819
  if state_name is not None:
18676
18820
  self._values["state_name"] = state_name
18821
+ if assign is not None:
18822
+ self._values["assign"] = assign
18677
18823
  if item_selector is not None:
18678
18824
  self._values["item_selector"] = item_selector
18679
18825
  if max_concurrency is not None:
@@ -18727,6 +18873,19 @@ class DistributedMapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataO
18727
18873
  result = self._values.get("state_name")
18728
18874
  return typing.cast(typing.Optional[builtins.str], result)
18729
18875
 
18876
+ @builtins.property
18877
+ def assign(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
18878
+ '''Workflow variables to store in this step.
18879
+
18880
+ Using workflow variables, you can store data in a step and retrieve that data in future steps.
18881
+
18882
+ :default: - Not assign variables
18883
+
18884
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
18885
+ '''
18886
+ result = self._values.get("assign")
18887
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
18888
+
18730
18889
  @builtins.property
18731
18890
  def item_selector(
18732
18891
  self,
@@ -19638,7 +19797,7 @@ class JsonPathStateProps(StateBaseProps, JsonPathCommonOptions, AssignableStateO
19638
19797
 
19639
19798
  :default: - Not assign variables
19640
19799
 
19641
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
19800
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
19642
19801
  '''
19643
19802
  result = self._values.get("assign")
19644
19803
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -19837,7 +19996,7 @@ class JsonataStateProps(StateBaseProps, JsonataStateOptions, AssignableStateOpti
19837
19996
 
19838
19997
  :default: - Not assign variables
19839
19998
 
19840
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
19999
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
19841
20000
  '''
19842
20001
  result = self._values.get("assign")
19843
20002
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -19879,7 +20038,6 @@ class MapBase(
19879
20038
  comment: typing.Optional[builtins.str] = None,
19880
20039
  query_language: typing.Optional[QueryLanguage] = None,
19881
20040
  state_name: typing.Optional[builtins.str] = None,
19882
- assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
19883
20041
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
19884
20042
  max_concurrency: typing.Optional[jsii.Number] = None,
19885
20043
  items_path: typing.Optional[builtins.str] = None,
@@ -19887,6 +20045,7 @@ class MapBase(
19887
20045
  result_path: typing.Optional[builtins.str] = None,
19888
20046
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
19889
20047
  items: typing.Optional[ProvideItems] = None,
20048
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
19890
20049
  input_path: typing.Optional[builtins.str] = None,
19891
20050
  output_path: typing.Optional[builtins.str] = None,
19892
20051
  outputs: typing.Any = None,
@@ -19897,7 +20056,6 @@ class MapBase(
19897
20056
  :param comment: A comment describing this state. Default: No comment
19898
20057
  :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
19899
20058
  :param state_name: Optional name for this state. Default: - The construct ID will be used as state name
19900
- :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
19901
20059
  :param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
19902
20060
  :param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
19903
20061
  :param items_path: JSONPath expression to select the array to iterate over. Default: $
@@ -19905,6 +20063,7 @@ class MapBase(
19905
20063
  :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: $
19906
20064
  :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
19907
20065
  :param items: The array that the Map state will iterate over. Default: - The state input as is.
20066
+ :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
19908
20067
  :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: $
19909
20068
  :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: $
19910
20069
  :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
@@ -19917,7 +20076,6 @@ class MapBase(
19917
20076
  comment=comment,
19918
20077
  query_language=query_language,
19919
20078
  state_name=state_name,
19920
- assign=assign,
19921
20079
  item_selector=item_selector,
19922
20080
  max_concurrency=max_concurrency,
19923
20081
  items_path=items_path,
@@ -19925,6 +20083,7 @@ class MapBase(
19925
20083
  result_path=result_path,
19926
20084
  result_selector=result_selector,
19927
20085
  items=items,
20086
+ assign=assign,
19928
20087
  input_path=input_path,
19929
20088
  output_path=output_path,
19930
20089
  outputs=outputs,
@@ -19999,11 +20158,7 @@ typing.cast(typing.Any, MapBase).__jsii_proxy_class__ = lambda : _MapBaseProxy
19999
20158
  @jsii.data_type(
20000
20159
  jsii_type="aws-cdk-lib.aws_stepfunctions.MapBaseProps",
20001
20160
  jsii_struct_bases=[
20002
- StateBaseProps,
20003
- AssignableStateOptions,
20004
- MapBaseOptions,
20005
- MapBaseJsonPathOptions,
20006
- MapBaseJsonataOptions,
20161
+ StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions, MapBaseJsonataOptions
20007
20162
  ],
20008
20163
  name_mapping={
20009
20164
  "comment": "comment",
@@ -20024,7 +20179,6 @@ typing.cast(typing.Any, MapBase).__jsii_proxy_class__ = lambda : _MapBaseProxy
20024
20179
  )
20025
20180
  class MapBaseProps(
20026
20181
  StateBaseProps,
20027
- AssignableStateOptions,
20028
20182
  MapBaseOptions,
20029
20183
  MapBaseJsonPathOptions,
20030
20184
  MapBaseJsonataOptions,
@@ -20185,7 +20339,7 @@ class MapBaseProps(
20185
20339
 
20186
20340
  :default: - Not assign variables
20187
20341
 
20188
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
20342
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
20189
20343
  '''
20190
20344
  result = self._values.get("assign")
20191
20345
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -20335,6 +20489,7 @@ class MapBaseProps(
20335
20489
  "comment": "comment",
20336
20490
  "query_language": "queryLanguage",
20337
20491
  "state_name": "stateName",
20492
+ "assign": "assign",
20338
20493
  "item_selector": "itemSelector",
20339
20494
  "max_concurrency": "maxConcurrency",
20340
20495
  "input_path": "inputPath",
@@ -20353,6 +20508,7 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
20353
20508
  comment: typing.Optional[builtins.str] = None,
20354
20509
  query_language: typing.Optional[QueryLanguage] = None,
20355
20510
  state_name: typing.Optional[builtins.str] = None,
20511
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
20356
20512
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
20357
20513
  max_concurrency: typing.Optional[jsii.Number] = None,
20358
20514
  input_path: typing.Optional[builtins.str] = None,
@@ -20368,6 +20524,7 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
20368
20524
  :param comment: A comment describing this state. Default: No comment
20369
20525
  :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
20370
20526
  :param state_name: Optional name for this state. Default: - The construct ID will be used as state name
20527
+ :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
20371
20528
  :param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
20372
20529
  :param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
20373
20530
  :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: $
@@ -20386,11 +20543,15 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
20386
20543
  # The values are placeholders you should change.
20387
20544
  from aws_cdk import aws_stepfunctions as stepfunctions
20388
20545
 
20546
+ # assign: Any
20389
20547
  # item_selector: Any
20390
20548
  # parameters: Any
20391
20549
  # result_selector: Any
20392
20550
 
20393
20551
  map_json_path_props = stepfunctions.MapJsonPathProps(
20552
+ assign={
20553
+ "assign_key": assign
20554
+ },
20394
20555
  comment="comment",
20395
20556
  input_path="inputPath",
20396
20557
  item_selector={
@@ -20416,6 +20577,7 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
20416
20577
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
20417
20578
  check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
20418
20579
  check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
20580
+ check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
20419
20581
  check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
20420
20582
  check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
20421
20583
  check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
@@ -20432,6 +20594,8 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
20432
20594
  self._values["query_language"] = query_language
20433
20595
  if state_name is not None:
20434
20596
  self._values["state_name"] = state_name
20597
+ if assign is not None:
20598
+ self._values["assign"] = assign
20435
20599
  if item_selector is not None:
20436
20600
  self._values["item_selector"] = item_selector
20437
20601
  if max_concurrency is not None:
@@ -20481,6 +20645,19 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
20481
20645
  result = self._values.get("state_name")
20482
20646
  return typing.cast(typing.Optional[builtins.str], result)
20483
20647
 
20648
+ @builtins.property
20649
+ def assign(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
20650
+ '''Workflow variables to store in this step.
20651
+
20652
+ Using workflow variables, you can store data in a step and retrieve that data in future steps.
20653
+
20654
+ :default: - Not assign variables
20655
+
20656
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
20657
+ '''
20658
+ result = self._values.get("assign")
20659
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
20660
+
20484
20661
  @builtins.property
20485
20662
  def item_selector(
20486
20663
  self,
@@ -20617,6 +20794,7 @@ class MapJsonPathProps(StateBaseProps, MapBaseOptions, MapBaseJsonPathOptions):
20617
20794
  "comment": "comment",
20618
20795
  "query_language": "queryLanguage",
20619
20796
  "state_name": "stateName",
20797
+ "assign": "assign",
20620
20798
  "item_selector": "itemSelector",
20621
20799
  "max_concurrency": "maxConcurrency",
20622
20800
  "outputs": "outputs",
@@ -20631,6 +20809,7 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
20631
20809
  comment: typing.Optional[builtins.str] = None,
20632
20810
  query_language: typing.Optional[QueryLanguage] = None,
20633
20811
  state_name: typing.Optional[builtins.str] = None,
20812
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
20634
20813
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
20635
20814
  max_concurrency: typing.Optional[jsii.Number] = None,
20636
20815
  outputs: typing.Any = None,
@@ -20642,6 +20821,7 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
20642
20821
  :param comment: A comment describing this state. Default: No comment
20643
20822
  :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
20644
20823
  :param state_name: Optional name for this state. Default: - The construct ID will be used as state name
20824
+ :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
20645
20825
  :param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
20646
20826
  :param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
20647
20827
  :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
@@ -20656,12 +20836,16 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
20656
20836
  # The values are placeholders you should change.
20657
20837
  from aws_cdk import aws_stepfunctions as stepfunctions
20658
20838
 
20839
+ # assign: Any
20659
20840
  # item_selector: Any
20660
20841
  # outputs: Any
20661
20842
  # parameters: Any
20662
20843
  # provide_items: stepfunctions.ProvideItems
20663
20844
 
20664
20845
  map_jsonata_props = stepfunctions.MapJsonataProps(
20846
+ assign={
20847
+ "assign_key": assign
20848
+ },
20665
20849
  comment="comment",
20666
20850
  items=provide_items,
20667
20851
  item_selector={
@@ -20681,6 +20865,7 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
20681
20865
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
20682
20866
  check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
20683
20867
  check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
20868
+ check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
20684
20869
  check_type(argname="argument item_selector", value=item_selector, expected_type=type_hints["item_selector"])
20685
20870
  check_type(argname="argument max_concurrency", value=max_concurrency, expected_type=type_hints["max_concurrency"])
20686
20871
  check_type(argname="argument outputs", value=outputs, expected_type=type_hints["outputs"])
@@ -20693,6 +20878,8 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
20693
20878
  self._values["query_language"] = query_language
20694
20879
  if state_name is not None:
20695
20880
  self._values["state_name"] = state_name
20881
+ if assign is not None:
20882
+ self._values["assign"] = assign
20696
20883
  if item_selector is not None:
20697
20884
  self._values["item_selector"] = item_selector
20698
20885
  if max_concurrency is not None:
@@ -20734,6 +20921,19 @@ class MapJsonataProps(StateBaseProps, MapBaseOptions, MapBaseJsonataOptions):
20734
20921
  result = self._values.get("state_name")
20735
20922
  return typing.cast(typing.Optional[builtins.str], result)
20736
20923
 
20924
+ @builtins.property
20925
+ def assign(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
20926
+ '''Workflow variables to store in this step.
20927
+
20928
+ Using workflow variables, you can store data in a step and retrieve that data in future steps.
20929
+
20930
+ :default: - Not assign variables
20931
+
20932
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
20933
+ '''
20934
+ result = self._values.get("assign")
20935
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
20936
+
20737
20937
  @builtins.property
20738
20938
  def item_selector(
20739
20939
  self,
@@ -20986,7 +21186,7 @@ class MapProps(MapBaseProps, MapBaseOptions):
20986
21186
 
20987
21187
  :default: - Not assign variables
20988
21188
 
20989
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
21189
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
20990
21190
  '''
20991
21191
  result = self._values.get("assign")
20992
21192
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -21592,7 +21792,7 @@ class ParallelJsonPathProps(
21592
21792
 
21593
21793
  :default: - Not assign variables
21594
21794
 
21595
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
21795
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
21596
21796
  '''
21597
21797
  result = self._values.get("assign")
21598
21798
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -21782,7 +21982,7 @@ class ParallelJsonataProps(
21782
21982
 
21783
21983
  :default: - Not assign variables
21784
21984
 
21785
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
21985
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
21786
21986
  '''
21787
21987
  result = self._values.get("assign")
21788
21988
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -21985,7 +22185,7 @@ class ParallelProps(
21985
22185
 
21986
22186
  :default: - Not assign variables
21987
22187
 
21988
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
22188
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
21989
22189
  '''
21990
22190
  result = self._values.get("assign")
21991
22191
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -22413,7 +22613,7 @@ class PassJsonPathProps(StateBaseProps, AssignableStateOptions, JsonPathCommonOp
22413
22613
 
22414
22614
  :default: - Not assign variables
22415
22615
 
22416
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
22616
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
22417
22617
  '''
22418
22618
  result = self._values.get("assign")
22419
22619
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -22599,7 +22799,7 @@ class PassJsonataProps(StateBaseProps, AssignableStateOptions, JsonataCommonOpti
22599
22799
 
22600
22800
  :default: - Not assign variables
22601
22801
 
22602
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
22802
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
22603
22803
  '''
22604
22804
  result = self._values.get("assign")
22605
22805
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -22784,7 +22984,7 @@ class PassProps(
22784
22984
 
22785
22985
  :default: - Not assign variables
22786
22986
 
22787
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
22987
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
22788
22988
  '''
22789
22989
  result = self._values.get("assign")
22790
22990
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -22884,6 +23084,7 @@ class PassProps(
22884
23084
  "bucket_name_path": "bucketNamePath",
22885
23085
  "max_items": "maxItems",
22886
23086
  "key": "key",
23087
+ "csv_delimiter": "csvDelimiter",
22887
23088
  "csv_headers": "csvHeaders",
22888
23089
  },
22889
23090
  )
@@ -22895,6 +23096,7 @@ class S3CsvItemReaderProps(S3FileItemReaderProps):
22895
23096
  bucket_name_path: typing.Optional[builtins.str] = None,
22896
23097
  max_items: typing.Optional[jsii.Number] = None,
22897
23098
  key: builtins.str,
23099
+ csv_delimiter: typing.Optional[CsvDelimiter] = None,
22898
23100
  csv_headers: typing.Optional[CsvHeaders] = None,
22899
23101
  ) -> None:
22900
23102
  '''Properties for configuring an Item Reader that iterates over items in a CSV file in S3.
@@ -22903,6 +23105,7 @@ class S3CsvItemReaderProps(S3FileItemReaderProps):
22903
23105
  :param bucket_name_path: S3 bucket name containing objects to iterate over or a file with a list to iterate over, as JsonPath. Default: - S3 bucket will be determined from
22904
23106
  :param max_items: Limits the number of items passed to the Distributed Map state. Default: - Distributed Map state will iterate over all items provided by the ItemReader
22905
23107
  :param key: Key of file stored in S3 bucket containing an array to iterate over.
23108
+ :param csv_delimiter: Delimiter used in a CSV file. Default: undefined - Default setting is COMMA.
22906
23109
  :param csv_headers: CSV file header configuration. Default: - CsvHeaders with CsvHeadersLocation.FIRST_ROW
22907
23110
 
22908
23111
  :exampleMetadata: fixture=_generated
@@ -22923,6 +23126,7 @@ class S3CsvItemReaderProps(S3FileItemReaderProps):
22923
23126
  # the properties below are optional
22924
23127
  bucket=bucket,
22925
23128
  bucket_name_path="bucketNamePath",
23129
+ csv_delimiter=stepfunctions.CsvDelimiter.COMMA,
22926
23130
  csv_headers=csv_headers,
22927
23131
  max_items=123
22928
23132
  )
@@ -22933,6 +23137,7 @@ class S3CsvItemReaderProps(S3FileItemReaderProps):
22933
23137
  check_type(argname="argument bucket_name_path", value=bucket_name_path, expected_type=type_hints["bucket_name_path"])
22934
23138
  check_type(argname="argument max_items", value=max_items, expected_type=type_hints["max_items"])
22935
23139
  check_type(argname="argument key", value=key, expected_type=type_hints["key"])
23140
+ check_type(argname="argument csv_delimiter", value=csv_delimiter, expected_type=type_hints["csv_delimiter"])
22936
23141
  check_type(argname="argument csv_headers", value=csv_headers, expected_type=type_hints["csv_headers"])
22937
23142
  self._values: typing.Dict[builtins.str, typing.Any] = {
22938
23143
  "key": key,
@@ -22943,6 +23148,8 @@ class S3CsvItemReaderProps(S3FileItemReaderProps):
22943
23148
  self._values["bucket_name_path"] = bucket_name_path
22944
23149
  if max_items is not None:
22945
23150
  self._values["max_items"] = max_items
23151
+ if csv_delimiter is not None:
23152
+ self._values["csv_delimiter"] = csv_delimiter
22946
23153
  if csv_headers is not None:
22947
23154
  self._values["csv_headers"] = csv_headers
22948
23155
 
@@ -22984,6 +23191,15 @@ class S3CsvItemReaderProps(S3FileItemReaderProps):
22984
23191
  assert result is not None, "Required property 'key' is missing"
22985
23192
  return typing.cast(builtins.str, result)
22986
23193
 
23194
+ @builtins.property
23195
+ def csv_delimiter(self) -> typing.Optional[CsvDelimiter]:
23196
+ '''Delimiter used in a CSV file.
23197
+
23198
+ :default: undefined - Default setting is COMMA.
23199
+ '''
23200
+ result = self._values.get("csv_delimiter")
23201
+ return typing.cast(typing.Optional[CsvDelimiter], result)
23202
+
22987
23203
  @builtins.property
22988
23204
  def csv_headers(self) -> typing.Optional[CsvHeaders]:
22989
23205
  '''CSV file header configuration.
@@ -23167,7 +23383,7 @@ class SingleStateOptions(ParallelProps):
23167
23383
 
23168
23384
  :default: - Not assign variables
23169
23385
 
23170
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
23386
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
23171
23387
  '''
23172
23388
  result = self._values.get("assign")
23173
23389
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -23431,6 +23647,7 @@ class DistributedMap(
23431
23647
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
23432
23648
  max_concurrency: typing.Optional[jsii.Number] = None,
23433
23649
  items: typing.Optional[ProvideItems] = None,
23650
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
23434
23651
  outputs: typing.Any = None,
23435
23652
  ) -> "DistributedMap":
23436
23653
  '''Define a Distributed Mode Map state using JSONata in the state machine.
@@ -23459,6 +23676,7 @@ class DistributedMap(
23459
23676
  :param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
23460
23677
  :param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
23461
23678
  :param items: The array that the Map state will iterate over. Default: - The state input as is.
23679
+ :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
23462
23680
  :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
23463
23681
 
23464
23682
  :see: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-asl-use-map-state-distributed.html
@@ -23481,6 +23699,7 @@ class DistributedMap(
23481
23699
  item_selector=item_selector,
23482
23700
  max_concurrency=max_concurrency,
23483
23701
  items=items,
23702
+ assign=assign,
23484
23703
  outputs=outputs,
23485
23704
  )
23486
23705
 
@@ -23511,6 +23730,7 @@ class DistributedMap(
23511
23730
  max_concurrency_path: typing.Optional[builtins.str] = None,
23512
23731
  result_path: typing.Optional[builtins.str] = None,
23513
23732
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
23733
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
23514
23734
  input_path: typing.Optional[builtins.str] = None,
23515
23735
  output_path: typing.Optional[builtins.str] = None,
23516
23736
  ) -> "DistributedMap":
@@ -23545,6 +23765,7 @@ class DistributedMap(
23545
23765
  :param max_concurrency_path: MaxConcurrencyPath. A JsonPath that specifies the maximum concurrency dynamically from the state input. Default: - full concurrency
23546
23766
  :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: $
23547
23767
  :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
23768
+ :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
23548
23769
  :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: $
23549
23770
  :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: $
23550
23771
 
@@ -23573,6 +23794,7 @@ class DistributedMap(
23573
23794
  max_concurrency_path=max_concurrency_path,
23574
23795
  result_path=result_path,
23575
23796
  result_selector=result_selector,
23797
+ assign=assign,
23576
23798
  input_path=input_path,
23577
23799
  output_path=output_path,
23578
23800
  )
@@ -23919,7 +24141,7 @@ class DistributedMapProps(
23919
24141
 
23920
24142
  :default: - Not assign variables
23921
24143
 
23922
- :see: https://docs.aws.amazon.com/ja_jp/step-functions/latest/dg/workflow-variables.html
24144
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/workflow-variables.html
23923
24145
  '''
23924
24146
  result = self._values.get("assign")
23925
24147
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
@@ -24211,12 +24433,12 @@ class Map(
24211
24433
  comment: typing.Optional[builtins.str] = None,
24212
24434
  query_language: typing.Optional[QueryLanguage] = None,
24213
24435
  state_name: typing.Optional[builtins.str] = None,
24214
- assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
24215
24436
  items_path: typing.Optional[builtins.str] = None,
24216
24437
  max_concurrency_path: typing.Optional[builtins.str] = None,
24217
24438
  result_path: typing.Optional[builtins.str] = None,
24218
24439
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
24219
24440
  items: typing.Optional[ProvideItems] = None,
24441
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
24220
24442
  input_path: typing.Optional[builtins.str] = None,
24221
24443
  output_path: typing.Optional[builtins.str] = None,
24222
24444
  outputs: typing.Any = None,
@@ -24230,12 +24452,12 @@ class Map(
24230
24452
  :param comment: A comment describing this state. Default: No comment
24231
24453
  :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
24232
24454
  :param state_name: Optional name for this state. Default: - The construct ID will be used as state name
24233
- :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
24234
24455
  :param items_path: JSONPath expression to select the array to iterate over. Default: $
24235
24456
  :param max_concurrency_path: MaxConcurrencyPath. A JsonPath that specifies the maximum concurrency dynamically from the state input. Default: - full concurrency
24236
24457
  :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: $
24237
24458
  :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
24238
24459
  :param items: The array that the Map state will iterate over. Default: - The state input as is.
24460
+ :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
24239
24461
  :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: $
24240
24462
  :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: $
24241
24463
  :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
@@ -24251,12 +24473,12 @@ class Map(
24251
24473
  comment=comment,
24252
24474
  query_language=query_language,
24253
24475
  state_name=state_name,
24254
- assign=assign,
24255
24476
  items_path=items_path,
24256
24477
  max_concurrency_path=max_concurrency_path,
24257
24478
  result_path=result_path,
24258
24479
  result_selector=result_selector,
24259
24480
  items=items,
24481
+ assign=assign,
24260
24482
  input_path=input_path,
24261
24483
  output_path=output_path,
24262
24484
  outputs=outputs,
@@ -24278,6 +24500,7 @@ class Map(
24278
24500
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
24279
24501
  max_concurrency: typing.Optional[jsii.Number] = None,
24280
24502
  items: typing.Optional[ProvideItems] = None,
24503
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
24281
24504
  outputs: typing.Any = None,
24282
24505
  ) -> "Map":
24283
24506
  '''Define a Map state using JSONata in the state machine.
@@ -24297,6 +24520,7 @@ class Map(
24297
24520
  :param item_selector: The JSON that you want to override your default iteration input (mutually exclusive with ``parameters``). Default: $
24298
24521
  :param max_concurrency: MaxConcurrency. An upper bound on the number of iterations you want running at once. Default: - full concurrency
24299
24522
  :param items: The array that the Map state will iterate over. Default: - The state input as is.
24523
+ :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
24300
24524
  :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
24301
24525
 
24302
24526
  :see: https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-map-state.html
@@ -24313,6 +24537,7 @@ class Map(
24313
24537
  item_selector=item_selector,
24314
24538
  max_concurrency=max_concurrency,
24315
24539
  items=items,
24540
+ assign=assign,
24316
24541
  outputs=outputs,
24317
24542
  )
24318
24543
 
@@ -24335,6 +24560,7 @@ class Map(
24335
24560
  max_concurrency_path: typing.Optional[builtins.str] = None,
24336
24561
  result_path: typing.Optional[builtins.str] = None,
24337
24562
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
24563
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
24338
24564
  input_path: typing.Optional[builtins.str] = None,
24339
24565
  output_path: typing.Optional[builtins.str] = None,
24340
24566
  ) -> "Map":
@@ -24358,6 +24584,7 @@ class Map(
24358
24584
  :param max_concurrency_path: MaxConcurrencyPath. A JsonPath that specifies the maximum concurrency dynamically from the state input. Default: - full concurrency
24359
24585
  :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: $
24360
24586
  :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
24587
+ :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
24361
24588
  :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: $
24362
24589
  :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: $
24363
24590
 
@@ -24378,6 +24605,7 @@ class Map(
24378
24605
  max_concurrency_path=max_concurrency_path,
24379
24606
  result_path=result_path,
24380
24607
  result_selector=result_selector,
24608
+ assign=assign,
24381
24609
  input_path=input_path,
24382
24610
  output_path=output_path,
24383
24611
  )
@@ -24532,6 +24760,7 @@ __all__ = [
24532
24760
  "ChoiceTransitionOptions",
24533
24761
  "Condition",
24534
24762
  "Credentials",
24763
+ "CsvDelimiter",
24535
24764
  "CsvHeaderLocation",
24536
24765
  "CsvHeaders",
24537
24766
  "CustomState",
@@ -25499,6 +25728,12 @@ def _typecheckingstub__2ff50e720afaefc7918f464dff492d9f8f0c7249476cc81f87395388b
25499
25728
  """Type checking stubs"""
25500
25729
  pass
25501
25730
 
25731
+ def _typecheckingstub__783b63447c23bb4d8a57ba3e21444d4647a4973f534473e7a1f006d36180cc81(
25732
+ query_language: typing.Optional[QueryLanguage] = None,
25733
+ ) -> None:
25734
+ """Type checking stubs"""
25735
+ pass
25736
+
25502
25737
  def _typecheckingstub__3dbb71ff45be8e3c94fd024ed10a51f986e7e089ef33bfae17adc18a574bf024(
25503
25738
  state: IChainable,
25504
25739
  ) -> None:
@@ -25748,7 +25983,7 @@ def _typecheckingstub__fcf28e5e7257e423138f4865382515f73bbac4c41c327df36b853bccf
25748
25983
 
25749
25984
  def _typecheckingstub__8b27a348000a6495796817f9fd3b73934a015750ac2d2e09e165c45b4d2d5772(
25750
25985
  *,
25751
- destination: _ILogGroup_3c4fa718,
25986
+ destination: typing.Optional[_ILogGroup_3c4fa718] = None,
25752
25987
  include_execution_data: typing.Optional[builtins.bool] = None,
25753
25988
  level: typing.Optional[LogLevel] = None,
25754
25989
  ) -> None:
@@ -25777,6 +26012,7 @@ def _typecheckingstub__a537c5472fd8c41c516513cba3bdb57f6bd977d16b4afd0b275934481
25777
26012
 
25778
26013
  def _typecheckingstub__7e64b5e53f029b5753785385b8477bb5c760876cfc7efe1b7fa47a5f792fffcb(
25779
26014
  *,
26015
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
25780
26016
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
25781
26017
  max_concurrency: typing.Optional[jsii.Number] = None,
25782
26018
  ) -> None:
@@ -25839,6 +26075,12 @@ def _typecheckingstub__3615b36aa1e6d0193c5cb37ecfb6f1833c1503331f692609e27754142
25839
26075
  """Type checking stubs"""
25840
26076
  pass
25841
26077
 
26078
+ def _typecheckingstub__690debfadbf5210fcb1a54639e938d5096d2b5eefb9fa6790552d733cf404d6d(
26079
+ query_language: typing.Optional[QueryLanguage] = None,
26080
+ ) -> None:
26081
+ """Type checking stubs"""
26082
+ pass
26083
+
25842
26084
  def _typecheckingstub__60e7633dd729e9dd58a8e472e766fe10b0748d68a61f3d07bfec9cc5b8b4721f(
25843
26085
  *,
25844
26086
  bucket: _IBucket_42e086fd,
@@ -25859,6 +26101,12 @@ def _typecheckingstub__984afa5a2055f0c35fc8c3cf6882093d3a32a8b56c725bd4e3c643f69
25859
26101
  """Type checking stubs"""
25860
26102
  pass
25861
26103
 
26104
+ def _typecheckingstub__c53f9a2ea7d79879b70d5d22b592d43105c7737e7451602d697e1aac041f8ffe(
26105
+ query_language: typing.Optional[QueryLanguage] = None,
26106
+ ) -> None:
26107
+ """Type checking stubs"""
26108
+ pass
26109
+
25862
26110
  def _typecheckingstub__fc17fd96c577f0b5f18e9d0043337043a5db7cf7c35fdc1b09e959cf7f58221c(
25863
26111
  *,
25864
26112
  bucket: typing.Optional[_IBucket_42e086fd] = None,
@@ -25869,6 +26117,24 @@ def _typecheckingstub__fc17fd96c577f0b5f18e9d0043337043a5db7cf7c35fdc1b09e959cf7
25869
26117
  """Type checking stubs"""
25870
26118
  pass
25871
26119
 
26120
+ def _typecheckingstub__f7ba747569314ea29170c03870323ea1ddbbec560569d03719539553067efa54(
26121
+ query_language: typing.Optional[QueryLanguage] = None,
26122
+ ) -> None:
26123
+ """Type checking stubs"""
26124
+ pass
26125
+
26126
+ def _typecheckingstub__19056f84ae53892b20d050acc2be09f4ae779dad92d64cefcd50b3ad874b480f(
26127
+ query_language: typing.Optional[QueryLanguage] = None,
26128
+ ) -> None:
26129
+ """Type checking stubs"""
26130
+ pass
26131
+
26132
+ def _typecheckingstub__3bc2701d4d17a9ebaf074864a8e82d7f7fa507a2201b875a0966d6306ef38032(
26133
+ query_language: typing.Optional[QueryLanguage] = None,
26134
+ ) -> None:
26135
+ """Type checking stubs"""
26136
+ pass
26137
+
25872
26138
  def _typecheckingstub__0839027a57f578b6a339286602923b0024b1f5e10dc2fb3ce8ac185f643a3bbc(
25873
26139
  *,
25874
26140
  bucket: typing.Optional[_IBucket_42e086fd] = None,
@@ -26934,6 +27200,7 @@ def _typecheckingstub__ec64abf9bcf7fc88fbbd0e8dea491d0fe3b15022e0a3a15ff395d55b0
26934
27200
  comment: typing.Optional[builtins.str] = None,
26935
27201
  query_language: typing.Optional[QueryLanguage] = None,
26936
27202
  state_name: typing.Optional[builtins.str] = None,
27203
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
26937
27204
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
26938
27205
  max_concurrency: typing.Optional[jsii.Number] = None,
26939
27206
  input_path: typing.Optional[builtins.str] = None,
@@ -26960,6 +27227,7 @@ def _typecheckingstub__81ff0c38557baaa35eb92b4d57e31ecde27db396059124470432c8292
26960
27227
  comment: typing.Optional[builtins.str] = None,
26961
27228
  query_language: typing.Optional[QueryLanguage] = None,
26962
27229
  state_name: typing.Optional[builtins.str] = None,
27230
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
26963
27231
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
26964
27232
  max_concurrency: typing.Optional[jsii.Number] = None,
26965
27233
  outputs: typing.Any = None,
@@ -27095,7 +27363,6 @@ def _typecheckingstub__0d25d492eb753f17d954200a30dfae328a6f5710335312d1b5ffe0113
27095
27363
  comment: typing.Optional[builtins.str] = None,
27096
27364
  query_language: typing.Optional[QueryLanguage] = None,
27097
27365
  state_name: typing.Optional[builtins.str] = None,
27098
- assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27099
27366
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27100
27367
  max_concurrency: typing.Optional[jsii.Number] = None,
27101
27368
  items_path: typing.Optional[builtins.str] = None,
@@ -27103,6 +27370,7 @@ def _typecheckingstub__0d25d492eb753f17d954200a30dfae328a6f5710335312d1b5ffe0113
27103
27370
  result_path: typing.Optional[builtins.str] = None,
27104
27371
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27105
27372
  items: typing.Optional[ProvideItems] = None,
27373
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27106
27374
  input_path: typing.Optional[builtins.str] = None,
27107
27375
  output_path: typing.Optional[builtins.str] = None,
27108
27376
  outputs: typing.Any = None,
@@ -27147,6 +27415,7 @@ def _typecheckingstub__1418bfef4d27a80b418f4fccfa22e0abfc4cf5008b74d8c088c96b991
27147
27415
  comment: typing.Optional[builtins.str] = None,
27148
27416
  query_language: typing.Optional[QueryLanguage] = None,
27149
27417
  state_name: typing.Optional[builtins.str] = None,
27418
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27150
27419
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27151
27420
  max_concurrency: typing.Optional[jsii.Number] = None,
27152
27421
  input_path: typing.Optional[builtins.str] = None,
@@ -27165,6 +27434,7 @@ def _typecheckingstub__a2445c2dd683291fecf01b56e77d0cbe2d0d8486f7f01b558c189426a
27165
27434
  comment: typing.Optional[builtins.str] = None,
27166
27435
  query_language: typing.Optional[QueryLanguage] = None,
27167
27436
  state_name: typing.Optional[builtins.str] = None,
27437
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27168
27438
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27169
27439
  max_concurrency: typing.Optional[jsii.Number] = None,
27170
27440
  outputs: typing.Any = None,
@@ -27428,6 +27698,7 @@ def _typecheckingstub__fd148cd8282abe643b20452cf3c099e0d66560a90ddb7ec54f8374085
27428
27698
  bucket_name_path: typing.Optional[builtins.str] = None,
27429
27699
  max_items: typing.Optional[jsii.Number] = None,
27430
27700
  key: builtins.str,
27701
+ csv_delimiter: typing.Optional[CsvDelimiter] = None,
27431
27702
  csv_headers: typing.Optional[CsvHeaders] = None,
27432
27703
  ) -> None:
27433
27704
  """Type checking stubs"""
@@ -27505,6 +27776,7 @@ def _typecheckingstub__571881b9fd1e6c545891d3d8e303faaf2af3b7abf8dedfe7af5b088c9
27505
27776
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27506
27777
  max_concurrency: typing.Optional[jsii.Number] = None,
27507
27778
  items: typing.Optional[ProvideItems] = None,
27779
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27508
27780
  outputs: typing.Any = None,
27509
27781
  ) -> None:
27510
27782
  """Type checking stubs"""
@@ -27532,6 +27804,7 @@ def _typecheckingstub__9a2f34bdddff2f64215983e3f128e7644b5b5bf72fc9af9b5b0c0e3b3
27532
27804
  max_concurrency_path: typing.Optional[builtins.str] = None,
27533
27805
  result_path: typing.Optional[builtins.str] = None,
27534
27806
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27807
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27535
27808
  input_path: typing.Optional[builtins.str] = None,
27536
27809
  output_path: typing.Optional[builtins.str] = None,
27537
27810
  ) -> None:
@@ -27609,12 +27882,12 @@ def _typecheckingstub__78d28fbd908923a38f00f8f82b2387552ae3a53fe5d860d66d336f49b
27609
27882
  comment: typing.Optional[builtins.str] = None,
27610
27883
  query_language: typing.Optional[QueryLanguage] = None,
27611
27884
  state_name: typing.Optional[builtins.str] = None,
27612
- assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27613
27885
  items_path: typing.Optional[builtins.str] = None,
27614
27886
  max_concurrency_path: typing.Optional[builtins.str] = None,
27615
27887
  result_path: typing.Optional[builtins.str] = None,
27616
27888
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27617
27889
  items: typing.Optional[ProvideItems] = None,
27890
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27618
27891
  input_path: typing.Optional[builtins.str] = None,
27619
27892
  output_path: typing.Optional[builtins.str] = None,
27620
27893
  outputs: typing.Any = None,
@@ -27633,6 +27906,7 @@ def _typecheckingstub__117dd132ca8c26f59efc69b8fbd2855fd633da22be9b9bbcfc5209542
27633
27906
  item_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27634
27907
  max_concurrency: typing.Optional[jsii.Number] = None,
27635
27908
  items: typing.Optional[ProvideItems] = None,
27909
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27636
27910
  outputs: typing.Any = None,
27637
27911
  ) -> None:
27638
27912
  """Type checking stubs"""
@@ -27652,6 +27926,7 @@ def _typecheckingstub__27e601e2ac6be39a50ef90276193f9993e276497c1482cf6fe3ebf359
27652
27926
  max_concurrency_path: typing.Optional[builtins.str] = None,
27653
27927
  result_path: typing.Optional[builtins.str] = None,
27654
27928
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27929
+ assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27655
27930
  input_path: typing.Optional[builtins.str] = None,
27656
27931
  output_path: typing.Optional[builtins.str] = None,
27657
27932
  ) -> None: