aws-cdk-lib 2.194.0__py3-none-any.whl → 2.196.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 (108) hide show
  1. aws_cdk/__init__.py +435 -20
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.194.0.jsii.tgz → aws-cdk-lib@2.196.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amazonmq/__init__.py +2 -2
  6. aws_cdk/aws_apigateway/__init__.py +208 -70
  7. aws_cdk/aws_apigatewayv2/__init__.py +155 -24
  8. aws_cdk/aws_appconfig/__init__.py +24 -0
  9. aws_cdk/aws_applicationautoscaling/__init__.py +6 -0
  10. aws_cdk/aws_appmesh/__init__.py +42 -0
  11. aws_cdk/aws_appsync/__init__.py +92 -20
  12. aws_cdk/aws_autoscaling/__init__.py +24 -0
  13. aws_cdk/aws_backup/__init__.py +53 -14
  14. aws_cdk/aws_batch/__init__.py +72 -0
  15. aws_cdk/aws_bedrock/__init__.py +1201 -18
  16. aws_cdk/aws_budgets/__init__.py +569 -0
  17. aws_cdk/aws_certificatemanager/__init__.py +21 -0
  18. aws_cdk/aws_chatbot/__init__.py +6 -0
  19. aws_cdk/aws_cloudfront/__init__.py +277 -120
  20. aws_cdk/aws_cloudfront/experimental/__init__.py +6 -0
  21. aws_cdk/aws_cloudtrail/__init__.py +6 -0
  22. aws_cdk/aws_cloudwatch/__init__.py +18 -0
  23. aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
  24. aws_cdk/aws_codebuild/__init__.py +48 -0
  25. aws_cdk/aws_codecommit/__init__.py +6 -0
  26. aws_cdk/aws_codedeploy/__init__.py +63 -0
  27. aws_cdk/aws_codeguruprofiler/__init__.py +6 -0
  28. aws_cdk/aws_codepipeline/__init__.py +114 -0
  29. aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
  30. aws_cdk/aws_codestarnotifications/__init__.py +6 -0
  31. aws_cdk/aws_cognito/__init__.py +215 -10
  32. aws_cdk/aws_cognito_identitypool/__init__.py +6 -0
  33. aws_cdk/aws_config/__init__.py +36 -0
  34. aws_cdk/aws_datazone/__init__.py +1013 -100
  35. aws_cdk/aws_docdb/__init__.py +27 -3
  36. aws_cdk/aws_dsql/__init__.py +29 -12
  37. aws_cdk/aws_dynamodb/__init__.py +25 -11
  38. aws_cdk/aws_ec2/__init__.py +408 -23
  39. aws_cdk/aws_ecr/__init__.py +22 -14
  40. aws_cdk/aws_ecr_assets/__init__.py +6 -0
  41. aws_cdk/aws_ecs/__init__.py +116 -34
  42. aws_cdk/aws_ecs_patterns/__init__.py +58 -0
  43. aws_cdk/aws_efs/__init__.py +12 -0
  44. aws_cdk/aws_eks/__init__.py +42 -0
  45. aws_cdk/aws_elasticloadbalancing/__init__.py +6 -0
  46. aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -9
  47. aws_cdk/aws_elasticsearch/__init__.py +9 -0
  48. aws_cdk/aws_events/__init__.py +36 -0
  49. aws_cdk/aws_events_targets/__init__.py +10 -10
  50. aws_cdk/aws_fsx/__init__.py +8 -3
  51. aws_cdk/aws_globalaccelerator/__init__.py +18 -0
  52. aws_cdk/aws_iam/__init__.py +66 -0
  53. aws_cdk/aws_imagebuilder/__init__.py +181 -26
  54. aws_cdk/aws_inspector/__init__.py +6 -0
  55. aws_cdk/aws_kinesis/__init__.py +19 -1
  56. aws_cdk/aws_kinesisanalytics/__init__.py +7 -7
  57. aws_cdk/aws_kinesisanalyticsv2/__init__.py +7 -7
  58. aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
  59. aws_cdk/aws_kms/__init__.py +16 -4
  60. aws_cdk/aws_lambda/__init__.py +76 -6
  61. aws_cdk/aws_lambda_nodejs/__init__.py +6 -0
  62. aws_cdk/aws_logs/__init__.py +155 -12
  63. aws_cdk/aws_medialive/__init__.py +4 -6
  64. aws_cdk/aws_mediatailor/__init__.py +115 -0
  65. aws_cdk/aws_oam/__init__.py +43 -10
  66. aws_cdk/aws_opensearchservice/__init__.py +12 -0
  67. aws_cdk/aws_qbusiness/__init__.py +2 -2
  68. aws_cdk/aws_quicksight/__init__.py +22 -22
  69. aws_cdk/aws_rds/__init__.py +347 -36
  70. aws_cdk/aws_redshiftserverless/__init__.py +7 -7
  71. aws_cdk/aws_route53/__init__.py +735 -33
  72. aws_cdk/aws_route53_targets/__init__.py +62 -1
  73. aws_cdk/aws_route53profiles/__init__.py +1 -1
  74. aws_cdk/aws_s3/__init__.py +37 -10
  75. aws_cdk/aws_s3_deployment/__init__.py +6 -0
  76. aws_cdk/aws_s3_notifications/__init__.py +5 -5
  77. aws_cdk/aws_sagemaker/__init__.py +452 -8
  78. aws_cdk/aws_scheduler/__init__.py +12 -0
  79. aws_cdk/aws_secretsmanager/__init__.py +24 -0
  80. aws_cdk/aws_servicecatalog/__init__.py +24 -0
  81. aws_cdk/aws_servicediscovery/__init__.py +48 -0
  82. aws_cdk/aws_ses/__init__.py +133 -33
  83. aws_cdk/aws_signer/__init__.py +6 -0
  84. aws_cdk/aws_sns/__init__.py +18 -0
  85. aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
  86. aws_cdk/aws_sqs/__init__.py +12 -0
  87. aws_cdk/aws_ssm/__init__.py +12 -0
  88. aws_cdk/aws_ssmcontacts/__init__.py +53 -2
  89. aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
  90. aws_cdk/aws_stepfunctions/__init__.py +153 -7
  91. aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
  92. aws_cdk/aws_synthetics/__init__.py +32 -0
  93. aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
  94. aws_cdk/aws_vpclattice/__init__.py +3 -1
  95. aws_cdk/aws_wisdom/__init__.py +6 -4
  96. aws_cdk/cloud_assembly_schema/__init__.py +7 -1
  97. aws_cdk/custom_resources/__init__.py +18 -0
  98. aws_cdk/cx_api/__init__.py +33 -0
  99. aws_cdk/lambda_layer_awscli/__init__.py +6 -0
  100. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
  101. aws_cdk/pipelines/__init__.py +10 -10
  102. aws_cdk/triggers/__init__.py +6 -0
  103. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/METADATA +84 -6
  104. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/RECORD +108 -107
  105. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/LICENSE +0 -0
  106. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/NOTICE +0 -0
  107. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/WHEEL +0 -0
  108. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/top_level.txt +0 -0
@@ -677,7 +677,8 @@ see [step function comparison operators](https://docs.aws.amazon.com/step-functi
677
677
  ### Parallel
678
678
 
679
679
  A `Parallel` state executes one or more subworkflows in parallel. It can also
680
- be used to catch and recover from errors in subworkflows.
680
+ be used to catch and recover from errors in subworkflows. The `parameters` property
681
+ can be used to transform the input that is passed to each branch of the parallel execution.
681
682
 
682
683
  ```python
683
684
  parallel = sfn.Parallel(self, "Do the work in parallel")
@@ -1005,6 +1006,25 @@ distributed_map = sfn.DistributedMap(self, "Distributed Map State",
1005
1006
  distributed_map.item_processor(sfn.Pass(self, "Pass State"))
1006
1007
  ```
1007
1008
 
1009
+ * If information about `bucket` is only known while starting execution of `StateMachine` (dynamically or at run-time) via JSON state input:
1010
+
1011
+ ```python
1012
+ #
1013
+ # JSON state input:
1014
+ # {
1015
+ # "bucketName": "my-bucket"
1016
+ # }
1017
+ #
1018
+ distributed_map = sfn.DistributedMap(self, "DistributedMap",
1019
+ result_writer_v2=sfn.ResultWriterV2(
1020
+ bucket_name_path=sfn.JsonPath.string_at("$.bucketName")
1021
+ )
1022
+ )
1023
+ distributed_map.item_processor(sfn.Pass(self, "Pass"))
1024
+ ```
1025
+
1026
+ * Both `bucket` and `bucketNamePath` are mutually exclusive.
1027
+
1008
1028
  If you want to specify the execution type for the ItemProcessor in the DistributedMap, you must set the `mapExecutionType` property in the `DistributedMap` class. When using the `DistributedMap` class, the `ProcessorConfig.executionType` property is ignored.
1009
1029
 
1010
1030
  In the following example, the execution type for the ItemProcessor in the DistributedMap is set to `EXPRESS` based on the value specified for `mapExecutionType`.
@@ -9627,16 +9647,21 @@ class ResultWriterV2(
9627
9647
  self,
9628
9648
  *,
9629
9649
  bucket: typing.Optional[_IBucket_42e086fd] = None,
9650
+ bucket_name_path: typing.Optional[builtins.str] = None,
9630
9651
  prefix: typing.Optional[builtins.str] = None,
9631
9652
  writer_config: typing.Optional["WriterConfig"] = None,
9632
9653
  ) -> None:
9633
9654
  '''
9634
9655
  :param bucket: S3 Bucket in which to save Map Run results. Default: - specify a bucket
9656
+ :param bucket_name_path: S3 bucket name in which to save Map Run results, as JsonPath. Default: - no bucket path
9635
9657
  :param prefix: S3 prefix in which to save Map Run results. Default: - No prefix
9636
9658
  :param writer_config: Configuration to format the output of the Child Workflow executions. Default: - Specify both Transformation and OutputType
9637
9659
  '''
9638
9660
  props = ResultWriterV2Props(
9639
- bucket=bucket, prefix=prefix, writer_config=writer_config
9661
+ bucket=bucket,
9662
+ bucket_name_path=bucket_name_path,
9663
+ prefix=prefix,
9664
+ writer_config=writer_config,
9640
9665
  )
9641
9666
 
9642
9667
  jsii.create(self.__class__, self, [props])
@@ -9660,12 +9685,26 @@ class ResultWriterV2(
9660
9685
  check_type(argname="argument query_language", value=query_language, expected_type=type_hints["query_language"])
9661
9686
  return typing.cast(typing.Any, jsii.invoke(self, "render", [query_language]))
9662
9687
 
9688
+ @jsii.member(jsii_name="validateResultWriter")
9689
+ def validate_result_writer(self) -> typing.List[builtins.str]:
9690
+ '''Validate that ResultWriter contains exactly either.
9691
+
9692
+ :see: bucketNamePath
9693
+ '''
9694
+ return typing.cast(typing.List[builtins.str], jsii.invoke(self, "validateResultWriter", []))
9695
+
9663
9696
  @builtins.property
9664
9697
  @jsii.member(jsii_name="bucket")
9665
9698
  def bucket(self) -> typing.Optional[_IBucket_42e086fd]:
9666
9699
  '''S3 Bucket in which to save Map Run results.'''
9667
9700
  return typing.cast(typing.Optional[_IBucket_42e086fd], jsii.get(self, "bucket"))
9668
9701
 
9702
+ @builtins.property
9703
+ @jsii.member(jsii_name="bucketNamePath")
9704
+ def bucket_name_path(self) -> typing.Optional[builtins.str]:
9705
+ '''S3 bucket name in which to save Map Run results, as JsonPath.'''
9706
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "bucketNamePath"))
9707
+
9669
9708
  @builtins.property
9670
9709
  @jsii.member(jsii_name="prefix")
9671
9710
  def prefix(self) -> typing.Optional[builtins.str]:
@@ -9687,6 +9726,7 @@ class ResultWriterV2(
9687
9726
  jsii_struct_bases=[],
9688
9727
  name_mapping={
9689
9728
  "bucket": "bucket",
9729
+ "bucket_name_path": "bucketNamePath",
9690
9730
  "prefix": "prefix",
9691
9731
  "writer_config": "writerConfig",
9692
9732
  },
@@ -9696,12 +9736,14 @@ class ResultWriterV2Props:
9696
9736
  self,
9697
9737
  *,
9698
9738
  bucket: typing.Optional[_IBucket_42e086fd] = None,
9739
+ bucket_name_path: typing.Optional[builtins.str] = None,
9699
9740
  prefix: typing.Optional[builtins.str] = None,
9700
9741
  writer_config: typing.Optional["WriterConfig"] = None,
9701
9742
  ) -> None:
9702
9743
  '''Interface for Result Writer configuration props.
9703
9744
 
9704
9745
  :param bucket: S3 Bucket in which to save Map Run results. Default: - specify a bucket
9746
+ :param bucket_name_path: S3 bucket name in which to save Map Run results, as JsonPath. Default: - no bucket path
9705
9747
  :param prefix: S3 prefix in which to save Map Run results. Default: - No prefix
9706
9748
  :param writer_config: Configuration to format the output of the Child Workflow executions. Default: - Specify both Transformation and OutputType
9707
9749
 
@@ -9732,11 +9774,14 @@ class ResultWriterV2Props:
9732
9774
  if __debug__:
9733
9775
  type_hints = typing.get_type_hints(_typecheckingstub__18a2140bb5a78d8150eb6ee1111271032f9faccf277b97a882d6bded4d0905a1)
9734
9776
  check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
9777
+ check_type(argname="argument bucket_name_path", value=bucket_name_path, expected_type=type_hints["bucket_name_path"])
9735
9778
  check_type(argname="argument prefix", value=prefix, expected_type=type_hints["prefix"])
9736
9779
  check_type(argname="argument writer_config", value=writer_config, expected_type=type_hints["writer_config"])
9737
9780
  self._values: typing.Dict[builtins.str, typing.Any] = {}
9738
9781
  if bucket is not None:
9739
9782
  self._values["bucket"] = bucket
9783
+ if bucket_name_path is not None:
9784
+ self._values["bucket_name_path"] = bucket_name_path
9740
9785
  if prefix is not None:
9741
9786
  self._values["prefix"] = prefix
9742
9787
  if writer_config is not None:
@@ -9751,6 +9796,15 @@ class ResultWriterV2Props:
9751
9796
  result = self._values.get("bucket")
9752
9797
  return typing.cast(typing.Optional[_IBucket_42e086fd], result)
9753
9798
 
9799
+ @builtins.property
9800
+ def bucket_name_path(self) -> typing.Optional[builtins.str]:
9801
+ '''S3 bucket name in which to save Map Run results, as JsonPath.
9802
+
9803
+ :default: - no bucket path
9804
+ '''
9805
+ result = self._values.get("bucket_name_path")
9806
+ return typing.cast(typing.Optional[builtins.str], result)
9807
+
9754
9808
  @builtins.property
9755
9809
  def prefix(self) -> typing.Optional[builtins.str]:
9756
9810
  '''S3 prefix in which to save Map Run results.
@@ -12216,6 +12270,12 @@ class StateMachine(
12216
12270
 
12217
12271
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTimedOut", [props]))
12218
12272
 
12273
+ @jsii.python.classproperty
12274
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
12275
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
12276
+ '''Uniquely identifies this class.'''
12277
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
12278
+
12219
12279
  @builtins.property
12220
12280
  @jsii.member(jsii_name="grantPrincipal")
12221
12281
  def grant_principal(self) -> _IPrincipal_539bb2fd:
@@ -12348,6 +12408,7 @@ class StateMachineFragment(
12348
12408
  prefix_states: typing.Optional[builtins.str] = None,
12349
12409
  state_id: typing.Optional[builtins.str] = None,
12350
12410
  arguments: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
12411
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
12351
12412
  result_path: typing.Optional[builtins.str] = None,
12352
12413
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
12353
12414
  comment: typing.Optional[builtins.str] = None,
@@ -12371,6 +12432,7 @@ class StateMachineFragment(
12371
12432
  :param prefix_states: String to prefix all stateIds in the state machine with. Default: stateId
12372
12433
  :param state_id: ID of newly created containing state. Default: Construct ID of the StateMachineFragment
12373
12434
  :param arguments: Parameters pass a collection of key-value pairs, either static values or JSONata expressions that select from the input. Default: No arguments
12435
+ :param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
12374
12436
  :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: $
12375
12437
  :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
12376
12438
  :param comment: A comment describing this state. Default: No comment
@@ -12385,6 +12447,7 @@ class StateMachineFragment(
12385
12447
  prefix_states=prefix_states,
12386
12448
  state_id=state_id,
12387
12449
  arguments=arguments,
12450
+ parameters=parameters,
12388
12451
  result_path=result_path,
12389
12452
  result_selector=result_selector,
12390
12453
  comment=comment,
@@ -17571,6 +17634,12 @@ class Activity(
17571
17634
 
17572
17635
  return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricTimedOut", [props]))
17573
17636
 
17637
+ @jsii.python.classproperty
17638
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
17639
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
17640
+ '''Uniquely identifies this class.'''
17641
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
17642
+
17574
17643
  @builtins.property
17575
17644
  @jsii.member(jsii_name="activityArn")
17576
17645
  def activity_arn(self) -> builtins.str:
@@ -17719,6 +17788,7 @@ class Chain(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_stepfunctions.Ch
17719
17788
  id: builtins.str,
17720
17789
  *,
17721
17790
  arguments: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
17791
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
17722
17792
  result_path: typing.Optional[builtins.str] = None,
17723
17793
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
17724
17794
  comment: typing.Optional[builtins.str] = None,
@@ -17740,6 +17810,7 @@ class Chain(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_stepfunctions.Ch
17740
17810
 
17741
17811
  :param id: -
17742
17812
  :param arguments: Parameters pass a collection of key-value pairs, either static values or JSONata expressions that select from the input. Default: No arguments
17813
+ :param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
17743
17814
  :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: $
17744
17815
  :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
17745
17816
  :param comment: A comment describing this state. Default: No comment
@@ -17755,6 +17826,7 @@ class Chain(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_stepfunctions.Ch
17755
17826
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
17756
17827
  props = ParallelProps(
17757
17828
  arguments=arguments,
17829
+ parameters=parameters,
17758
17830
  result_path=result_path,
17759
17831
  result_selector=result_selector,
17760
17832
  comment=comment,
@@ -21998,6 +22070,7 @@ class Parallel(
21998
22070
  id: builtins.str,
21999
22071
  *,
22000
22072
  arguments: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22073
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22001
22074
  result_path: typing.Optional[builtins.str] = None,
22002
22075
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22003
22076
  comment: typing.Optional[builtins.str] = None,
@@ -22012,6 +22085,7 @@ class Parallel(
22012
22085
  :param scope: -
22013
22086
  :param id: Descriptive identifier for this chainable.
22014
22087
  :param arguments: Parameters pass a collection of key-value pairs, either static values or JSONata expressions that select from the input. Default: No arguments
22088
+ :param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
22015
22089
  :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: $
22016
22090
  :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
22017
22091
  :param comment: A comment describing this state. Default: No comment
@@ -22028,6 +22102,7 @@ class Parallel(
22028
22102
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
22029
22103
  props = ParallelProps(
22030
22104
  arguments=arguments,
22105
+ parameters=parameters,
22031
22106
  result_path=result_path,
22032
22107
  result_selector=result_selector,
22033
22108
  comment=comment,
@@ -22093,6 +22168,7 @@ class Parallel(
22093
22168
  scope: _constructs_77d1e7e8.Construct,
22094
22169
  id: builtins.str,
22095
22170
  *,
22171
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22096
22172
  result_path: typing.Optional[builtins.str] = None,
22097
22173
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22098
22174
  comment: typing.Optional[builtins.str] = None,
@@ -22111,6 +22187,7 @@ class Parallel(
22111
22187
 
22112
22188
  :param scope: -
22113
22189
  :param id: -
22190
+ :param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
22114
22191
  :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: $
22115
22192
  :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
22116
22193
  :param comment: A comment describing this state. Default: No comment
@@ -22125,6 +22202,7 @@ class Parallel(
22125
22202
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
22126
22203
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
22127
22204
  props = ParallelJsonPathProps(
22205
+ parameters=parameters,
22128
22206
  result_path=result_path,
22129
22207
  result_selector=result_selector,
22130
22208
  comment=comment,
@@ -22270,6 +22348,7 @@ class Parallel(
22270
22348
  "assign": "assign",
22271
22349
  "input_path": "inputPath",
22272
22350
  "output_path": "outputPath",
22351
+ "parameters": "parameters",
22273
22352
  "result_path": "resultPath",
22274
22353
  "result_selector": "resultSelector",
22275
22354
  },
@@ -22288,6 +22367,7 @@ class ParallelJsonPathProps(
22288
22367
  assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22289
22368
  input_path: typing.Optional[builtins.str] = None,
22290
22369
  output_path: typing.Optional[builtins.str] = None,
22370
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22291
22371
  result_path: typing.Optional[builtins.str] = None,
22292
22372
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22293
22373
  ) -> None:
@@ -22299,6 +22379,7 @@ class ParallelJsonPathProps(
22299
22379
  :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
22300
22380
  :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: $
22301
22381
  :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: $
22382
+ :param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
22302
22383
  :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: $
22303
22384
  :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
22304
22385
 
@@ -22311,6 +22392,7 @@ class ParallelJsonPathProps(
22311
22392
  from aws_cdk import aws_stepfunctions as stepfunctions
22312
22393
 
22313
22394
  # assign: Any
22395
+ # parameters: Any
22314
22396
  # result_selector: Any
22315
22397
 
22316
22398
  parallel_json_path_props = stepfunctions.ParallelJsonPathProps(
@@ -22320,6 +22402,9 @@ class ParallelJsonPathProps(
22320
22402
  comment="comment",
22321
22403
  input_path="inputPath",
22322
22404
  output_path="outputPath",
22405
+ parameters={
22406
+ "parameters_key": parameters
22407
+ },
22323
22408
  query_language=stepfunctions.QueryLanguage.JSON_PATH,
22324
22409
  result_path="resultPath",
22325
22410
  result_selector={
@@ -22336,6 +22421,7 @@ class ParallelJsonPathProps(
22336
22421
  check_type(argname="argument assign", value=assign, expected_type=type_hints["assign"])
22337
22422
  check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
22338
22423
  check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
22424
+ check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
22339
22425
  check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
22340
22426
  check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
22341
22427
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -22351,6 +22437,8 @@ class ParallelJsonPathProps(
22351
22437
  self._values["input_path"] = input_path
22352
22438
  if output_path is not None:
22353
22439
  self._values["output_path"] = output_path
22440
+ if parameters is not None:
22441
+ self._values["parameters"] = parameters
22354
22442
  if result_path is not None:
22355
22443
  self._values["result_path"] = result_path
22356
22444
  if result_selector is not None:
@@ -22423,6 +22511,17 @@ class ParallelJsonPathProps(
22423
22511
  result = self._values.get("output_path")
22424
22512
  return typing.cast(typing.Optional[builtins.str], result)
22425
22513
 
22514
+ @builtins.property
22515
+ def parameters(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
22516
+ '''Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input.
22517
+
22518
+ :default: No parameters
22519
+
22520
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-parameters
22521
+ '''
22522
+ result = self._values.get("parameters")
22523
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
22524
+
22426
22525
  @builtins.property
22427
22526
  def result_path(self) -> typing.Optional[builtins.str]:
22428
22527
  '''JSONPath expression to indicate where to inject the state's output.
@@ -22646,6 +22745,7 @@ class ParallelJsonataProps(
22646
22745
  "output_path": "outputPath",
22647
22746
  "outputs": "outputs",
22648
22747
  "arguments": "arguments",
22748
+ "parameters": "parameters",
22649
22749
  "result_path": "resultPath",
22650
22750
  "result_selector": "resultSelector",
22651
22751
  },
@@ -22667,6 +22767,7 @@ class ParallelProps(
22667
22767
  output_path: typing.Optional[builtins.str] = None,
22668
22768
  outputs: typing.Any = None,
22669
22769
  arguments: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22770
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22670
22771
  result_path: typing.Optional[builtins.str] = None,
22671
22772
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22672
22773
  ) -> None:
@@ -22680,6 +22781,7 @@ class ParallelProps(
22680
22781
  :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: $
22681
22782
  :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
22682
22783
  :param arguments: Parameters pass a collection of key-value pairs, either static values or JSONata expressions that select from the input. Default: No arguments
22784
+ :param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
22683
22785
  :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: $
22684
22786
  :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
22685
22787
 
@@ -22694,6 +22796,7 @@ class ParallelProps(
22694
22796
  # arguments_: Any
22695
22797
  # assign: Any
22696
22798
  # outputs: Any
22799
+ # parameters: Any
22697
22800
  # result_selector: Any
22698
22801
 
22699
22802
  parallel_props = stepfunctions.ParallelProps(
@@ -22707,6 +22810,9 @@ class ParallelProps(
22707
22810
  input_path="inputPath",
22708
22811
  output_path="outputPath",
22709
22812
  outputs=outputs,
22813
+ parameters={
22814
+ "parameters_key": parameters
22815
+ },
22710
22816
  query_language=stepfunctions.QueryLanguage.JSON_PATH,
22711
22817
  result_path="resultPath",
22712
22818
  result_selector={
@@ -22725,6 +22831,7 @@ class ParallelProps(
22725
22831
  check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
22726
22832
  check_type(argname="argument outputs", value=outputs, expected_type=type_hints["outputs"])
22727
22833
  check_type(argname="argument arguments", value=arguments, expected_type=type_hints["arguments"])
22834
+ check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
22728
22835
  check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
22729
22836
  check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
22730
22837
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -22744,6 +22851,8 @@ class ParallelProps(
22744
22851
  self._values["outputs"] = outputs
22745
22852
  if arguments is not None:
22746
22853
  self._values["arguments"] = arguments
22854
+ if parameters is not None:
22855
+ self._values["parameters"] = parameters
22747
22856
  if result_path is not None:
22748
22857
  self._values["result_path"] = result_path
22749
22858
  if result_selector is not None:
@@ -22844,6 +22953,17 @@ class ParallelProps(
22844
22953
  result = self._values.get("arguments")
22845
22954
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
22846
22955
 
22956
+ @builtins.property
22957
+ def parameters(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
22958
+ '''Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input.
22959
+
22960
+ :default: No parameters
22961
+
22962
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-parameters
22963
+ '''
22964
+ result = self._values.get("parameters")
22965
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
22966
+
22847
22967
  @builtins.property
22848
22968
  def result_path(self) -> typing.Optional[builtins.str]:
22849
22969
  '''JSONPath expression to indicate where to inject the state's output.
@@ -23835,6 +23955,7 @@ class S3CsvItemReaderProps(S3FileItemReaderProps):
23835
23955
  "output_path": "outputPath",
23836
23956
  "outputs": "outputs",
23837
23957
  "arguments": "arguments",
23958
+ "parameters": "parameters",
23838
23959
  "result_path": "resultPath",
23839
23960
  "result_selector": "resultSelector",
23840
23961
  "prefix_states": "prefixStates",
@@ -23853,6 +23974,7 @@ class SingleStateOptions(ParallelProps):
23853
23974
  output_path: typing.Optional[builtins.str] = None,
23854
23975
  outputs: typing.Any = None,
23855
23976
  arguments: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
23977
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
23856
23978
  result_path: typing.Optional[builtins.str] = None,
23857
23979
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
23858
23980
  prefix_states: typing.Optional[builtins.str] = None,
@@ -23868,6 +23990,7 @@ class SingleStateOptions(ParallelProps):
23868
23990
  :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: $
23869
23991
  :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
23870
23992
  :param arguments: Parameters pass a collection of key-value pairs, either static values or JSONata expressions that select from the input. Default: No arguments
23993
+ :param parameters: Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input. Default: No parameters
23871
23994
  :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: $
23872
23995
  :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
23873
23996
  :param prefix_states: String to prefix all stateIds in the state machine with. Default: stateId
@@ -23884,6 +24007,7 @@ class SingleStateOptions(ParallelProps):
23884
24007
  # arguments_: Any
23885
24008
  # assign: Any
23886
24009
  # outputs: Any
24010
+ # parameters: Any
23887
24011
  # result_selector: Any
23888
24012
 
23889
24013
  single_state_options = stepfunctions.SingleStateOptions(
@@ -23897,6 +24021,9 @@ class SingleStateOptions(ParallelProps):
23897
24021
  input_path="inputPath",
23898
24022
  output_path="outputPath",
23899
24023
  outputs=outputs,
24024
+ parameters={
24025
+ "parameters_key": parameters
24026
+ },
23900
24027
  prefix_states="prefixStates",
23901
24028
  query_language=stepfunctions.QueryLanguage.JSON_PATH,
23902
24029
  result_path="resultPath",
@@ -23917,6 +24044,7 @@ class SingleStateOptions(ParallelProps):
23917
24044
  check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
23918
24045
  check_type(argname="argument outputs", value=outputs, expected_type=type_hints["outputs"])
23919
24046
  check_type(argname="argument arguments", value=arguments, expected_type=type_hints["arguments"])
24047
+ check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
23920
24048
  check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
23921
24049
  check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
23922
24050
  check_type(argname="argument prefix_states", value=prefix_states, expected_type=type_hints["prefix_states"])
@@ -23938,6 +24066,8 @@ class SingleStateOptions(ParallelProps):
23938
24066
  self._values["outputs"] = outputs
23939
24067
  if arguments is not None:
23940
24068
  self._values["arguments"] = arguments
24069
+ if parameters is not None:
24070
+ self._values["parameters"] = parameters
23941
24071
  if result_path is not None:
23942
24072
  self._values["result_path"] = result_path
23943
24073
  if result_selector is not None:
@@ -24042,6 +24172,17 @@ class SingleStateOptions(ParallelProps):
24042
24172
  result = self._values.get("arguments")
24043
24173
  return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
24044
24174
 
24175
+ @builtins.property
24176
+ def parameters(self) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
24177
+ '''Parameters pass a collection of key-value pairs, either static values or JSONPath expressions that select from the input.
24178
+
24179
+ :default: No parameters
24180
+
24181
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-parameters
24182
+ '''
24183
+ result = self._values.get("parameters")
24184
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
24185
+
24045
24186
  @builtins.property
24046
24187
  def result_path(self) -> typing.Optional[builtins.str]:
24047
24188
  '''JSONPath expression to indicate where to inject the state's output.
@@ -24125,14 +24266,12 @@ class DistributedMap(
24125
24266
  #
24126
24267
  # JSON state input:
24127
24268
  # {
24128
- # "bucketName": "my-bucket",
24129
- # "prefix": "item"
24269
+ # "bucketName": "my-bucket"
24130
24270
  # }
24131
24271
  #
24132
24272
  distributed_map = sfn.DistributedMap(self, "DistributedMap",
24133
- item_reader=sfn.S3ObjectsItemReader(
24134
- bucket_name_path=sfn.JsonPath.string_at("$.bucketName"),
24135
- prefix=sfn.JsonPath.string_at("$.prefix")
24273
+ result_writer_v2=sfn.ResultWriterV2(
24274
+ bucket_name_path=sfn.JsonPath.string_at("$.bucketName")
24136
24275
  )
24137
24276
  )
24138
24277
  distributed_map.item_processor(sfn.Pass(self, "Pass"))
@@ -26746,6 +26885,7 @@ def _typecheckingstub__4d76b7d45bf1ab379f1533a844554757a1b805fb94f1a5b1c5d2573bb
26746
26885
  def _typecheckingstub__18a2140bb5a78d8150eb6ee1111271032f9faccf277b97a882d6bded4d0905a1(
26747
26886
  *,
26748
26887
  bucket: typing.Optional[_IBucket_42e086fd] = None,
26888
+ bucket_name_path: typing.Optional[builtins.str] = None,
26749
26889
  prefix: typing.Optional[builtins.str] = None,
26750
26890
  writer_config: typing.Optional[WriterConfig] = None,
26751
26891
  ) -> None:
@@ -27704,6 +27844,7 @@ def _typecheckingstub__468194d7b14012a289ab0c26efcba49fbd09832b9f87d79467e6334c8
27704
27844
  id: builtins.str,
27705
27845
  *,
27706
27846
  arguments: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27847
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27707
27848
  result_path: typing.Optional[builtins.str] = None,
27708
27849
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
27709
27850
  comment: typing.Optional[builtins.str] = None,
@@ -28149,6 +28290,7 @@ def _typecheckingstub__94610eed4635a69c6d4a92818527e6ecdf15561092c488fb6caa8d8ec
28149
28290
  id: builtins.str,
28150
28291
  *,
28151
28292
  arguments: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28293
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28152
28294
  result_path: typing.Optional[builtins.str] = None,
28153
28295
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28154
28296
  comment: typing.Optional[builtins.str] = None,
@@ -28180,6 +28322,7 @@ def _typecheckingstub__59516f88fca1f12471673842bc69a84f5bc6f1e5e9870f37ee194215e
28180
28322
  scope: _constructs_77d1e7e8.Construct,
28181
28323
  id: builtins.str,
28182
28324
  *,
28325
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28183
28326
  result_path: typing.Optional[builtins.str] = None,
28184
28327
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28185
28328
  comment: typing.Optional[builtins.str] = None,
@@ -28235,6 +28378,7 @@ def _typecheckingstub__01751a726904e9d37b08d2e5f3e03603fcb85bd621338876a23594d1e
28235
28378
  assign: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28236
28379
  input_path: typing.Optional[builtins.str] = None,
28237
28380
  output_path: typing.Optional[builtins.str] = None,
28381
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28238
28382
  result_path: typing.Optional[builtins.str] = None,
28239
28383
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28240
28384
  ) -> None:
@@ -28263,6 +28407,7 @@ def _typecheckingstub__7a04fcca9cbcddc34201ab96bfd6e4be7793eed6937bb07ccd5c1a2dc
28263
28407
  output_path: typing.Optional[builtins.str] = None,
28264
28408
  outputs: typing.Any = None,
28265
28409
  arguments: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28410
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28266
28411
  result_path: typing.Optional[builtins.str] = None,
28267
28412
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28268
28413
  ) -> None:
@@ -28393,6 +28538,7 @@ def _typecheckingstub__5bfe6c744bf72f7e27c754b7de24b3cc1c8ee511680b9a61ee46fc118
28393
28538
  output_path: typing.Optional[builtins.str] = None,
28394
28539
  outputs: typing.Any = None,
28395
28540
  arguments: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28541
+ parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28396
28542
  result_path: typing.Optional[builtins.str] = None,
28397
28543
  result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
28398
28544
  prefix_states: typing.Optional[builtins.str] = None,