aws-cdk-lib 2.132.1__py3-none-any.whl → 2.134.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 (69) hide show
  1. aws_cdk/__init__.py +9 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.132.1.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +12 -10
  5. aws_cdk/aws_apigatewayv2/__init__.py +112 -6
  6. aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
  7. aws_cdk/aws_appconfig/__init__.py +186 -8
  8. aws_cdk/aws_appintegrations/__init__.py +551 -0
  9. aws_cdk/aws_applicationautoscaling/__init__.py +6 -6
  10. aws_cdk/aws_appsync/__init__.py +71 -0
  11. aws_cdk/aws_autoscaling/__init__.py +10 -14
  12. aws_cdk/aws_b2bi/__init__.py +2 -42
  13. aws_cdk/aws_backup/__init__.py +23 -12
  14. aws_cdk/aws_batch/__init__.py +2150 -1078
  15. aws_cdk/aws_bedrock/__init__.py +197 -2
  16. aws_cdk/aws_cloudformation/__init__.py +1 -1
  17. aws_cdk/aws_cloudfront/__init__.py +4 -4
  18. aws_cdk/aws_cloudtrail/__init__.py +44 -14
  19. aws_cdk/aws_cloudwatch/__init__.py +20 -4
  20. aws_cdk/aws_codeartifact/__init__.py +812 -2
  21. aws_cdk/aws_codebuild/__init__.py +32 -10
  22. aws_cdk/aws_codepipeline/__init__.py +33 -11
  23. aws_cdk/aws_cognito/__init__.py +49 -44
  24. aws_cdk/aws_connect/__init__.py +256 -0
  25. aws_cdk/aws_controltower/__init__.py +4 -4
  26. aws_cdk/aws_datasync/__init__.py +393 -13
  27. aws_cdk/aws_dlm/__init__.py +2 -2
  28. aws_cdk/aws_docdbelastic/__init__.py +117 -0
  29. aws_cdk/aws_dynamodb/__init__.py +416 -5
  30. aws_cdk/aws_ec2/__init__.py +590 -134
  31. aws_cdk/aws_ecs/__init__.py +29 -20
  32. aws_cdk/aws_ecs_patterns/__init__.py +52 -12
  33. aws_cdk/aws_eks/__init__.py +27 -25
  34. aws_cdk/aws_elasticloadbalancing/__init__.py +6 -9
  35. aws_cdk/aws_elasticloadbalancingv2/__init__.py +363 -62
  36. aws_cdk/aws_emr/__init__.py +7 -4
  37. aws_cdk/aws_entityresolution/__init__.py +91 -64
  38. aws_cdk/aws_fsx/__init__.py +7 -7
  39. aws_cdk/aws_glue/__init__.py +137 -3
  40. aws_cdk/aws_iam/__init__.py +9 -10
  41. aws_cdk/aws_internetmonitor/__init__.py +85 -0
  42. aws_cdk/aws_iotsitewise/__init__.py +208 -198
  43. aws_cdk/aws_iotwireless/__init__.py +6 -5
  44. aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
  45. aws_cdk/aws_kendra/__init__.py +34 -24
  46. aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
  47. aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
  48. aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
  49. aws_cdk/aws_lambda/__init__.py +16 -16
  50. aws_cdk/aws_msk/__init__.py +88 -0
  51. aws_cdk/aws_opensearchservice/__init__.py +61 -18
  52. aws_cdk/aws_pinpoint/__init__.py +42 -0
  53. aws_cdk/aws_rds/__init__.py +1292 -216
  54. aws_cdk/aws_redshift/__init__.py +6 -3
  55. aws_cdk/aws_redshiftserverless/__init__.py +0 -157
  56. aws_cdk/aws_sagemaker/__init__.py +29 -9
  57. aws_cdk/aws_shield/__init__.py +7 -8
  58. aws_cdk/aws_ssm/__init__.py +15 -12
  59. aws_cdk/aws_stepfunctions_tasks/__init__.py +476 -0
  60. aws_cdk/aws_synthetics/__init__.py +74 -14
  61. aws_cdk/aws_transfer/__init__.py +4 -3
  62. aws_cdk/aws_wafv2/__init__.py +516 -42
  63. aws_cdk/cx_api/__init__.py +34 -0
  64. {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
  65. {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +69 -69
  66. {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
  67. {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
  68. {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
  69. {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
@@ -74,8 +74,15 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
74
74
 
75
75
  * [Put Events](#put-events)
76
76
  * [Glue](#glue)
77
+
78
+ * [Start Job Run](#start-job-run)
79
+ * [Start Crawler Run](#startcrawlerrun)
77
80
  * [Glue DataBrew](#glue-databrew)
81
+
82
+ * [Start Job Run](#start-job-run-1)
78
83
  * [Lambda](#lambda)
84
+
85
+ * [Invoke](#invoke)
79
86
  * [SageMaker](#sagemaker)
80
87
 
81
88
  * [Create Training Job](#create-training-job)
@@ -85,12 +92,16 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
85
92
  * [Create Model](#create-model)
86
93
  * [Update Endpoint](#update-endpoint)
87
94
  * [SNS](#sns)
95
+
96
+ * [Publish](#publish)
88
97
  * [Step Functions](#step-functions)
89
98
 
90
99
  * [Start Execution](#start-execution)
91
100
  * [Invoke Activity](#invoke-activity)
92
101
  * [SQS](#sqs)
93
102
 
103
+ * [Send Message](#send-message)
104
+
94
105
  ## Paths
95
106
 
96
107
  Learn more about input and output processing in Step Functions [here](https://docs.aws.amazon.com/step-functions/latest/dg/concepts-input-output-filtering.html)
@@ -1094,6 +1105,8 @@ tasks.EventBridgePutEvents(self, "Send an event to EventBridge",
1094
1105
 
1095
1106
  Step Functions supports [AWS Glue](https://docs.aws.amazon.com/step-functions/latest/dg/connect-glue.html) through the service integration pattern.
1096
1107
 
1108
+ ### StartJobRun
1109
+
1097
1110
  You can call the [`StartJobRun`](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-runs.html#aws-glue-api-jobs-runs-StartJobRun) API from a `Task` state.
1098
1111
 
1099
1112
  ```python
@@ -1107,10 +1120,33 @@ tasks.GlueStartJobRun(self, "Task",
1107
1120
  )
1108
1121
  ```
1109
1122
 
1123
+ ### StartCrawlerRun
1124
+
1125
+ You can call the [`StartCrawler`](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-crawling.html#aws-glue-api-crawler-crawling-StartCrawler) API from a `Task` state through AWS SDK service integrations.
1126
+
1127
+ ```python
1128
+ import aws_cdk.aws_glue as glue
1129
+
1130
+ # my_crawler: glue.CfnCrawler
1131
+
1132
+
1133
+ # You can get the crawler name from `crawler.ref`
1134
+ tasks.GlueStartCrawlerRun(self, "Task1",
1135
+ crawler_name=my_crawler.ref
1136
+ )
1137
+
1138
+ # Of course, you can also specify the crawler name directly.
1139
+ tasks.GlueStartCrawlerRun(self, "Task2",
1140
+ crawler_name="my-crawler-job"
1141
+ )
1142
+ ```
1143
+
1110
1144
  ## Glue DataBrew
1111
1145
 
1112
1146
  Step Functions supports [AWS Glue DataBrew](https://docs.aws.amazon.com/step-functions/latest/dg/connect-databrew.html) through the service integration pattern.
1113
1147
 
1148
+ ### Start Job Run
1149
+
1114
1150
  You can call the [`StartJobRun`](https://docs.aws.amazon.com/databrew/latest/dg/API_StartJobRun.html) API from a `Task` state.
1115
1151
 
1116
1152
  ```python
@@ -1121,6 +1157,10 @@ tasks.GlueDataBrewStartJobRun(self, "Task",
1121
1157
 
1122
1158
  ## Lambda
1123
1159
 
1160
+ Step Functions supports [AWS Lambda](https://docs.aws.amazon.com/step-functions/latest/dg/connect-lambda.html) through the service integration pattern.
1161
+
1162
+ ### Invoke
1163
+
1124
1164
  [Invoke](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html) a Lambda function.
1125
1165
 
1126
1166
  You can specify the input to your Lambda function through the `payload` attribute.
@@ -1359,6 +1399,8 @@ tasks.SageMakerUpdateEndpoint(self, "SagemakerEndpoint",
1359
1399
 
1360
1400
  Step Functions supports [Amazon SNS](https://docs.aws.amazon.com/step-functions/latest/dg/connect-sns.html) through the service integration pattern.
1361
1401
 
1402
+ ### Publish
1403
+
1362
1404
  You can call the [`Publish`](https://docs.aws.amazon.com/sns/latest/api/API_Publish.html) API from a `Task` state to publish to an SNS topic.
1363
1405
 
1364
1406
  ```python
@@ -1400,6 +1442,8 @@ task2 = tasks.SnsPublish(self, "Publish2",
1400
1442
 
1401
1443
  ## Step Functions
1402
1444
 
1445
+ Step Functions supports [AWS Step Functions](https://docs.aws.amazon.com/step-functions/latest/dg/connect-stepfunctions.html) through the service integration pattern.
1446
+
1403
1447
  ### Start Execution
1404
1448
 
1405
1449
  You can manage [AWS Step Functions](https://docs.aws.amazon.com/step-functions/latest/dg/connect-stepfunctions.html) executions.
@@ -1496,6 +1540,8 @@ tasks.StepFunctionsInvokeActivity(self, "Submit Job",
1496
1540
 
1497
1541
  Step Functions supports [Amazon SQS](https://docs.aws.amazon.com/step-functions/latest/dg/connect-sqs.html)
1498
1542
 
1543
+ ### Send Message
1544
+
1499
1545
  You can call the [`SendMessage`](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html) API from a `Task` state
1500
1546
  to send a message to an SQS queue.
1501
1547
 
@@ -22573,6 +22619,394 @@ class GlueDataBrewStartJobRunProps(_TaskStateBaseProps_3a62b6d0):
22573
22619
  )
22574
22620
 
22575
22621
 
22622
+ class GlueStartCrawlerRun(
22623
+ _TaskStateBase_b5c0a816,
22624
+ metaclass=jsii.JSIIMeta,
22625
+ jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.GlueStartCrawlerRun",
22626
+ ):
22627
+ '''Starts an AWS Glue Crawler in a Task state.
22628
+
22629
+ :see: https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-crawling.html#aws-glue-api-crawler-crawling-StartCrawler
22630
+ :exampleMetadata: infused
22631
+
22632
+ Example::
22633
+
22634
+ import aws_cdk.aws_glue as glue
22635
+
22636
+ # my_crawler: glue.CfnCrawler
22637
+
22638
+
22639
+ # You can get the crawler name from `crawler.ref`
22640
+ tasks.GlueStartCrawlerRun(self, "Task1",
22641
+ crawler_name=my_crawler.ref
22642
+ )
22643
+
22644
+ # Of course, you can also specify the crawler name directly.
22645
+ tasks.GlueStartCrawlerRun(self, "Task2",
22646
+ crawler_name="my-crawler-job"
22647
+ )
22648
+ '''
22649
+
22650
+ def __init__(
22651
+ self,
22652
+ scope: _constructs_77d1e7e8.Construct,
22653
+ id: builtins.str,
22654
+ *,
22655
+ crawler_name: builtins.str,
22656
+ comment: typing.Optional[builtins.str] = None,
22657
+ credentials: typing.Optional[typing.Union[_Credentials_2cd64c6b, typing.Dict[builtins.str, typing.Any]]] = None,
22658
+ heartbeat: typing.Optional[_Duration_4839e8c3] = None,
22659
+ heartbeat_timeout: typing.Optional[_Timeout_d7c10551] = None,
22660
+ input_path: typing.Optional[builtins.str] = None,
22661
+ integration_pattern: typing.Optional[_IntegrationPattern_949291bc] = None,
22662
+ output_path: typing.Optional[builtins.str] = None,
22663
+ result_path: typing.Optional[builtins.str] = None,
22664
+ result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22665
+ state_name: typing.Optional[builtins.str] = None,
22666
+ task_timeout: typing.Optional[_Timeout_d7c10551] = None,
22667
+ timeout: typing.Optional[_Duration_4839e8c3] = None,
22668
+ ) -> None:
22669
+ '''
22670
+ :param scope: -
22671
+ :param id: Descriptive identifier for this chainable.
22672
+ :param crawler_name: Glue crawler name.
22673
+ :param comment: An optional description for this state. Default: - No comment
22674
+ :param credentials: Credentials for an IAM Role that the State Machine assumes for executing the task. This enables cross-account resource invocations. Default: - None (Task is executed using the State Machine's execution role)
22675
+ :param heartbeat: (deprecated) Timeout for the heartbeat. Default: - None
22676
+ :param heartbeat_timeout: Timeout for the heartbeat. [disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface Default: - None
22677
+ :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: - The entire task input (JSON path '$')
22678
+ :param integration_pattern: AWS Step Functions integrates with services directly in the Amazon States Language. You can control these AWS services using service integration patterns. Depending on the AWS Service, the Service Integration Pattern availability will vary. Default: - ``IntegrationPattern.REQUEST_RESPONSE`` for most tasks. ``IntegrationPattern.RUN_JOB`` for the following exceptions: ``BatchSubmitJob``, ``EmrAddStep``, ``EmrCreateCluster``, ``EmrTerminationCluster``, and ``EmrContainersStartJobRun``.
22679
+ :param output_path: JSONPath expression to select select a portion of the state output to pass to the next state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')
22680
+ :param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: - Replaces the entire input with the result (JSON path '$')
22681
+ :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
22682
+ :param state_name: Optional name for this state. Default: - The construct ID will be used as state name
22683
+ :param task_timeout: Timeout for the task. [disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface Default: - None
22684
+ :param timeout: (deprecated) Timeout for the task. Default: - None
22685
+ '''
22686
+ if __debug__:
22687
+ type_hints = typing.get_type_hints(_typecheckingstub__f264cba7fa19bf21bd67a0cf04f41bbacf1af0b407e6f101ed1cba13bca77418)
22688
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
22689
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
22690
+ props = GlueStartCrawlerRunProps(
22691
+ crawler_name=crawler_name,
22692
+ comment=comment,
22693
+ credentials=credentials,
22694
+ heartbeat=heartbeat,
22695
+ heartbeat_timeout=heartbeat_timeout,
22696
+ input_path=input_path,
22697
+ integration_pattern=integration_pattern,
22698
+ output_path=output_path,
22699
+ result_path=result_path,
22700
+ result_selector=result_selector,
22701
+ state_name=state_name,
22702
+ task_timeout=task_timeout,
22703
+ timeout=timeout,
22704
+ )
22705
+
22706
+ jsii.create(self.__class__, self, [scope, id, props])
22707
+
22708
+ @builtins.property
22709
+ @jsii.member(jsii_name="taskMetrics")
22710
+ def _task_metrics(self) -> typing.Optional[_TaskMetricsConfig_32ea9403]:
22711
+ return typing.cast(typing.Optional[_TaskMetricsConfig_32ea9403], jsii.get(self, "taskMetrics"))
22712
+
22713
+ @builtins.property
22714
+ @jsii.member(jsii_name="taskPolicies")
22715
+ def _task_policies(self) -> typing.Optional[typing.List[_PolicyStatement_0fe33853]]:
22716
+ return typing.cast(typing.Optional[typing.List[_PolicyStatement_0fe33853]], jsii.get(self, "taskPolicies"))
22717
+
22718
+
22719
+ @jsii.data_type(
22720
+ jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.GlueStartCrawlerRunProps",
22721
+ jsii_struct_bases=[_TaskStateBaseProps_3a62b6d0],
22722
+ name_mapping={
22723
+ "comment": "comment",
22724
+ "credentials": "credentials",
22725
+ "heartbeat": "heartbeat",
22726
+ "heartbeat_timeout": "heartbeatTimeout",
22727
+ "input_path": "inputPath",
22728
+ "integration_pattern": "integrationPattern",
22729
+ "output_path": "outputPath",
22730
+ "result_path": "resultPath",
22731
+ "result_selector": "resultSelector",
22732
+ "state_name": "stateName",
22733
+ "task_timeout": "taskTimeout",
22734
+ "timeout": "timeout",
22735
+ "crawler_name": "crawlerName",
22736
+ },
22737
+ )
22738
+ class GlueStartCrawlerRunProps(_TaskStateBaseProps_3a62b6d0):
22739
+ def __init__(
22740
+ self,
22741
+ *,
22742
+ comment: typing.Optional[builtins.str] = None,
22743
+ credentials: typing.Optional[typing.Union[_Credentials_2cd64c6b, typing.Dict[builtins.str, typing.Any]]] = None,
22744
+ heartbeat: typing.Optional[_Duration_4839e8c3] = None,
22745
+ heartbeat_timeout: typing.Optional[_Timeout_d7c10551] = None,
22746
+ input_path: typing.Optional[builtins.str] = None,
22747
+ integration_pattern: typing.Optional[_IntegrationPattern_949291bc] = None,
22748
+ output_path: typing.Optional[builtins.str] = None,
22749
+ result_path: typing.Optional[builtins.str] = None,
22750
+ result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
22751
+ state_name: typing.Optional[builtins.str] = None,
22752
+ task_timeout: typing.Optional[_Timeout_d7c10551] = None,
22753
+ timeout: typing.Optional[_Duration_4839e8c3] = None,
22754
+ crawler_name: builtins.str,
22755
+ ) -> None:
22756
+ '''Properties for starting an AWS Glue Crawler as a task.
22757
+
22758
+ :param comment: An optional description for this state. Default: - No comment
22759
+ :param credentials: Credentials for an IAM Role that the State Machine assumes for executing the task. This enables cross-account resource invocations. Default: - None (Task is executed using the State Machine's execution role)
22760
+ :param heartbeat: (deprecated) Timeout for the heartbeat. Default: - None
22761
+ :param heartbeat_timeout: Timeout for the heartbeat. [disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface Default: - None
22762
+ :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: - The entire task input (JSON path '$')
22763
+ :param integration_pattern: AWS Step Functions integrates with services directly in the Amazon States Language. You can control these AWS services using service integration patterns. Depending on the AWS Service, the Service Integration Pattern availability will vary. Default: - ``IntegrationPattern.REQUEST_RESPONSE`` for most tasks. ``IntegrationPattern.RUN_JOB`` for the following exceptions: ``BatchSubmitJob``, ``EmrAddStep``, ``EmrCreateCluster``, ``EmrTerminationCluster``, and ``EmrContainersStartJobRun``.
22764
+ :param output_path: JSONPath expression to select select a portion of the state output to pass to the next state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')
22765
+ :param result_path: JSONPath expression to indicate where to inject the state's output. May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output. Default: - Replaces the entire input with the result (JSON path '$')
22766
+ :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
22767
+ :param state_name: Optional name for this state. Default: - The construct ID will be used as state name
22768
+ :param task_timeout: Timeout for the task. [disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface Default: - None
22769
+ :param timeout: (deprecated) Timeout for the task. Default: - None
22770
+ :param crawler_name: Glue crawler name.
22771
+
22772
+ :exampleMetadata: infused
22773
+
22774
+ Example::
22775
+
22776
+ import aws_cdk.aws_glue as glue
22777
+
22778
+ # my_crawler: glue.CfnCrawler
22779
+
22780
+
22781
+ # You can get the crawler name from `crawler.ref`
22782
+ tasks.GlueStartCrawlerRun(self, "Task1",
22783
+ crawler_name=my_crawler.ref
22784
+ )
22785
+
22786
+ # Of course, you can also specify the crawler name directly.
22787
+ tasks.GlueStartCrawlerRun(self, "Task2",
22788
+ crawler_name="my-crawler-job"
22789
+ )
22790
+ '''
22791
+ if isinstance(credentials, dict):
22792
+ credentials = _Credentials_2cd64c6b(**credentials)
22793
+ if __debug__:
22794
+ type_hints = typing.get_type_hints(_typecheckingstub__dce10d315644e09a3651f49bd35f96d0ecdc7bf8a7a81ce4cfd669d1f21f0b0e)
22795
+ check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
22796
+ check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
22797
+ check_type(argname="argument heartbeat", value=heartbeat, expected_type=type_hints["heartbeat"])
22798
+ check_type(argname="argument heartbeat_timeout", value=heartbeat_timeout, expected_type=type_hints["heartbeat_timeout"])
22799
+ check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
22800
+ check_type(argname="argument integration_pattern", value=integration_pattern, expected_type=type_hints["integration_pattern"])
22801
+ check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
22802
+ check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
22803
+ check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
22804
+ check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
22805
+ check_type(argname="argument task_timeout", value=task_timeout, expected_type=type_hints["task_timeout"])
22806
+ check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
22807
+ check_type(argname="argument crawler_name", value=crawler_name, expected_type=type_hints["crawler_name"])
22808
+ self._values: typing.Dict[builtins.str, typing.Any] = {
22809
+ "crawler_name": crawler_name,
22810
+ }
22811
+ if comment is not None:
22812
+ self._values["comment"] = comment
22813
+ if credentials is not None:
22814
+ self._values["credentials"] = credentials
22815
+ if heartbeat is not None:
22816
+ self._values["heartbeat"] = heartbeat
22817
+ if heartbeat_timeout is not None:
22818
+ self._values["heartbeat_timeout"] = heartbeat_timeout
22819
+ if input_path is not None:
22820
+ self._values["input_path"] = input_path
22821
+ if integration_pattern is not None:
22822
+ self._values["integration_pattern"] = integration_pattern
22823
+ if output_path is not None:
22824
+ self._values["output_path"] = output_path
22825
+ if result_path is not None:
22826
+ self._values["result_path"] = result_path
22827
+ if result_selector is not None:
22828
+ self._values["result_selector"] = result_selector
22829
+ if state_name is not None:
22830
+ self._values["state_name"] = state_name
22831
+ if task_timeout is not None:
22832
+ self._values["task_timeout"] = task_timeout
22833
+ if timeout is not None:
22834
+ self._values["timeout"] = timeout
22835
+
22836
+ @builtins.property
22837
+ def comment(self) -> typing.Optional[builtins.str]:
22838
+ '''An optional description for this state.
22839
+
22840
+ :default: - No comment
22841
+ '''
22842
+ result = self._values.get("comment")
22843
+ return typing.cast(typing.Optional[builtins.str], result)
22844
+
22845
+ @builtins.property
22846
+ def credentials(self) -> typing.Optional[_Credentials_2cd64c6b]:
22847
+ '''Credentials for an IAM Role that the State Machine assumes for executing the task.
22848
+
22849
+ This enables cross-account resource invocations.
22850
+
22851
+ :default: - None (Task is executed using the State Machine's execution role)
22852
+
22853
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-access-cross-acct-resources.html
22854
+ '''
22855
+ result = self._values.get("credentials")
22856
+ return typing.cast(typing.Optional[_Credentials_2cd64c6b], result)
22857
+
22858
+ @builtins.property
22859
+ def heartbeat(self) -> typing.Optional[_Duration_4839e8c3]:
22860
+ '''(deprecated) Timeout for the heartbeat.
22861
+
22862
+ :default: - None
22863
+
22864
+ :deprecated: use ``heartbeatTimeout``
22865
+
22866
+ :stability: deprecated
22867
+ '''
22868
+ result = self._values.get("heartbeat")
22869
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
22870
+
22871
+ @builtins.property
22872
+ def heartbeat_timeout(self) -> typing.Optional[_Timeout_d7c10551]:
22873
+ '''Timeout for the heartbeat.
22874
+
22875
+ [disable-awslint:duration-prop-type] is needed because all props interface in
22876
+ aws-stepfunctions-tasks extend this interface
22877
+
22878
+ :default: - None
22879
+ '''
22880
+ result = self._values.get("heartbeat_timeout")
22881
+ return typing.cast(typing.Optional[_Timeout_d7c10551], result)
22882
+
22883
+ @builtins.property
22884
+ def input_path(self) -> typing.Optional[builtins.str]:
22885
+ '''JSONPath expression to select part of the state to be the input to this state.
22886
+
22887
+ May also be the special value JsonPath.DISCARD, which will cause the effective
22888
+ input to be the empty object {}.
22889
+
22890
+ :default: - The entire task input (JSON path '$')
22891
+ '''
22892
+ result = self._values.get("input_path")
22893
+ return typing.cast(typing.Optional[builtins.str], result)
22894
+
22895
+ @builtins.property
22896
+ def integration_pattern(self) -> typing.Optional[_IntegrationPattern_949291bc]:
22897
+ '''AWS Step Functions integrates with services directly in the Amazon States Language.
22898
+
22899
+ You can control these AWS services using service integration patterns.
22900
+
22901
+ Depending on the AWS Service, the Service Integration Pattern availability will vary.
22902
+
22903
+ :default:
22904
+
22905
+ - ``IntegrationPattern.REQUEST_RESPONSE`` for most tasks.
22906
+ ``IntegrationPattern.RUN_JOB`` for the following exceptions:
22907
+ ``BatchSubmitJob``, ``EmrAddStep``, ``EmrCreateCluster``, ``EmrTerminationCluster``, and ``EmrContainersStartJobRun``.
22908
+
22909
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/connect-supported-services.html
22910
+ '''
22911
+ result = self._values.get("integration_pattern")
22912
+ return typing.cast(typing.Optional[_IntegrationPattern_949291bc], result)
22913
+
22914
+ @builtins.property
22915
+ def output_path(self) -> typing.Optional[builtins.str]:
22916
+ '''JSONPath expression to select select a portion of the state output to pass to the next state.
22917
+
22918
+ May also be the special value JsonPath.DISCARD, which will cause the effective
22919
+ output to be the empty object {}.
22920
+
22921
+ :default:
22922
+
22923
+ - The entire JSON node determined by the state input, the task result,
22924
+ and resultPath is passed to the next state (JSON path '$')
22925
+ '''
22926
+ result = self._values.get("output_path")
22927
+ return typing.cast(typing.Optional[builtins.str], result)
22928
+
22929
+ @builtins.property
22930
+ def result_path(self) -> typing.Optional[builtins.str]:
22931
+ '''JSONPath expression to indicate where to inject the state's output.
22932
+
22933
+ May also be the special value JsonPath.DISCARD, which will cause the state's
22934
+ input to become its output.
22935
+
22936
+ :default: - Replaces the entire input with the result (JSON path '$')
22937
+ '''
22938
+ result = self._values.get("result_path")
22939
+ return typing.cast(typing.Optional[builtins.str], result)
22940
+
22941
+ @builtins.property
22942
+ def result_selector(
22943
+ self,
22944
+ ) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
22945
+ '''The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
22946
+
22947
+ You can use ResultSelector to create a payload with values that are static
22948
+ or selected from the state's raw result.
22949
+
22950
+ :default: - None
22951
+
22952
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-resultselector
22953
+ '''
22954
+ result = self._values.get("result_selector")
22955
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
22956
+
22957
+ @builtins.property
22958
+ def state_name(self) -> typing.Optional[builtins.str]:
22959
+ '''Optional name for this state.
22960
+
22961
+ :default: - The construct ID will be used as state name
22962
+ '''
22963
+ result = self._values.get("state_name")
22964
+ return typing.cast(typing.Optional[builtins.str], result)
22965
+
22966
+ @builtins.property
22967
+ def task_timeout(self) -> typing.Optional[_Timeout_d7c10551]:
22968
+ '''Timeout for the task.
22969
+
22970
+ [disable-awslint:duration-prop-type] is needed because all props interface in
22971
+ aws-stepfunctions-tasks extend this interface
22972
+
22973
+ :default: - None
22974
+ '''
22975
+ result = self._values.get("task_timeout")
22976
+ return typing.cast(typing.Optional[_Timeout_d7c10551], result)
22977
+
22978
+ @builtins.property
22979
+ def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
22980
+ '''(deprecated) Timeout for the task.
22981
+
22982
+ :default: - None
22983
+
22984
+ :deprecated: use ``taskTimeout``
22985
+
22986
+ :stability: deprecated
22987
+ '''
22988
+ result = self._values.get("timeout")
22989
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
22990
+
22991
+ @builtins.property
22992
+ def crawler_name(self) -> builtins.str:
22993
+ '''Glue crawler name.'''
22994
+ result = self._values.get("crawler_name")
22995
+ assert result is not None, "Required property 'crawler_name' is missing"
22996
+ return typing.cast(builtins.str, result)
22997
+
22998
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
22999
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
23000
+
23001
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
23002
+ return not (rhs == self)
23003
+
23004
+ def __repr__(self) -> str:
23005
+ return "GlueStartCrawlerRunProps(%s)" % ", ".join(
23006
+ k + "=" + repr(v) for k, v in self._values.items()
23007
+ )
23008
+
23009
+
22576
23010
  class GlueStartJobRun(
22577
23011
  _TaskStateBase_b5c0a816,
22578
23012
  metaclass=jsii.JSIIMeta,
@@ -31674,6 +32108,8 @@ __all__ = [
31674
32108
  "EventBridgePutEventsProps",
31675
32109
  "GlueDataBrewStartJobRun",
31676
32110
  "GlueDataBrewStartJobRunProps",
32111
+ "GlueStartCrawlerRun",
32112
+ "GlueStartCrawlerRunProps",
31677
32113
  "GlueStartJobRun",
31678
32114
  "GlueStartJobRunProps",
31679
32115
  "HttpMethod",
@@ -33845,6 +34281,46 @@ def _typecheckingstub__69a84c7e673f8f3a1038e40920094e0954ed3fead8b2f4b7c569c20e5
33845
34281
  """Type checking stubs"""
33846
34282
  pass
33847
34283
 
34284
+ def _typecheckingstub__f264cba7fa19bf21bd67a0cf04f41bbacf1af0b407e6f101ed1cba13bca77418(
34285
+ scope: _constructs_77d1e7e8.Construct,
34286
+ id: builtins.str,
34287
+ *,
34288
+ crawler_name: builtins.str,
34289
+ comment: typing.Optional[builtins.str] = None,
34290
+ credentials: typing.Optional[typing.Union[_Credentials_2cd64c6b, typing.Dict[builtins.str, typing.Any]]] = None,
34291
+ heartbeat: typing.Optional[_Duration_4839e8c3] = None,
34292
+ heartbeat_timeout: typing.Optional[_Timeout_d7c10551] = None,
34293
+ input_path: typing.Optional[builtins.str] = None,
34294
+ integration_pattern: typing.Optional[_IntegrationPattern_949291bc] = None,
34295
+ output_path: typing.Optional[builtins.str] = None,
34296
+ result_path: typing.Optional[builtins.str] = None,
34297
+ result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
34298
+ state_name: typing.Optional[builtins.str] = None,
34299
+ task_timeout: typing.Optional[_Timeout_d7c10551] = None,
34300
+ timeout: typing.Optional[_Duration_4839e8c3] = None,
34301
+ ) -> None:
34302
+ """Type checking stubs"""
34303
+ pass
34304
+
34305
+ def _typecheckingstub__dce10d315644e09a3651f49bd35f96d0ecdc7bf8a7a81ce4cfd669d1f21f0b0e(
34306
+ *,
34307
+ comment: typing.Optional[builtins.str] = None,
34308
+ credentials: typing.Optional[typing.Union[_Credentials_2cd64c6b, typing.Dict[builtins.str, typing.Any]]] = None,
34309
+ heartbeat: typing.Optional[_Duration_4839e8c3] = None,
34310
+ heartbeat_timeout: typing.Optional[_Timeout_d7c10551] = None,
34311
+ input_path: typing.Optional[builtins.str] = None,
34312
+ integration_pattern: typing.Optional[_IntegrationPattern_949291bc] = None,
34313
+ output_path: typing.Optional[builtins.str] = None,
34314
+ result_path: typing.Optional[builtins.str] = None,
34315
+ result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
34316
+ state_name: typing.Optional[builtins.str] = None,
34317
+ task_timeout: typing.Optional[_Timeout_d7c10551] = None,
34318
+ timeout: typing.Optional[_Duration_4839e8c3] = None,
34319
+ crawler_name: builtins.str,
34320
+ ) -> None:
34321
+ """Type checking stubs"""
34322
+ pass
34323
+
33848
34324
  def _typecheckingstub__ca53b69e05a043466b0fb8d683b8908756bbb80a6167bf6e801b2cc4b3f2603a(
33849
34325
  scope: _constructs_77d1e7e8.Construct,
33850
34326
  id: builtins.str,