aws-cdk-lib 2.143.1__py3-none-any.whl → 2.145.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 (43) hide show
  1. aws_cdk/__init__.py +1 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.143.1.jsii.tgz → aws-cdk-lib@2.145.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2_authorizers/__init__.py +27 -0
  5. aws_cdk/aws_apigatewayv2_integrations/__init__.py +28 -0
  6. aws_cdk/aws_appconfig/__init__.py +132 -1
  7. aws_cdk/aws_autoscaling/__init__.py +4 -4
  8. aws_cdk/aws_bedrock/__init__.py +48 -0
  9. aws_cdk/aws_chatbot/__init__.py +149 -2
  10. aws_cdk/aws_cloudfront/experimental/__init__.py +65 -9
  11. aws_cdk/aws_codebuild/__init__.py +801 -16
  12. aws_cdk/aws_config/__init__.py +1305 -45
  13. aws_cdk/aws_dynamodb/__init__.py +309 -3
  14. aws_cdk/aws_ec2/__init__.py +112 -31
  15. aws_cdk/aws_ecs_patterns/__init__.py +89 -7
  16. aws_cdk/aws_eks/__init__.py +185 -41
  17. aws_cdk/aws_fsx/__init__.py +4 -4
  18. aws_cdk/aws_glue/__init__.py +39 -0
  19. aws_cdk/aws_iam/__init__.py +3 -3
  20. aws_cdk/aws_lambda/__init__.py +605 -42
  21. aws_cdk/aws_lambda_nodejs/__init__.py +160 -13
  22. aws_cdk/aws_logs/__init__.py +114 -8
  23. aws_cdk/aws_logs_destinations/__init__.py +11 -9
  24. aws_cdk/aws_mediaconnect/__init__.py +2 -6
  25. aws_cdk/aws_medialive/__init__.py +20 -2
  26. aws_cdk/aws_mediapackagev2/__init__.py +476 -0
  27. aws_cdk/aws_rds/__init__.py +27 -19
  28. aws_cdk/aws_route53/__init__.py +3 -3
  29. aws_cdk/aws_s3/__init__.py +21 -0
  30. aws_cdk/aws_s3_deployment/__init__.py +3 -2
  31. aws_cdk/aws_securityhub/__init__.py +2415 -374
  32. aws_cdk/aws_securitylake/__init__.py +179 -314
  33. aws_cdk/aws_sqs/__init__.py +2 -2
  34. aws_cdk/aws_stepfunctions/__init__.py +53 -24
  35. aws_cdk/aws_stepfunctions_tasks/__init__.py +763 -16
  36. aws_cdk/pipelines/__init__.py +2 -0
  37. aws_cdk/triggers/__init__.py +65 -9
  38. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/METADATA +1 -1
  39. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/RECORD +43 -43
  40. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/WHEEL +1 -1
  41. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/LICENSE +0 -0
  42. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/NOTICE +0 -0
  43. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/top_level.txt +0 -0
@@ -83,6 +83,9 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
83
83
  * [Lambda](#lambda)
84
84
 
85
85
  * [Invoke](#invoke)
86
+ * [MediaConvert](#mediaconvert)
87
+
88
+ * [Create Job](#create-job)
86
89
  * [SageMaker](#sagemaker)
87
90
 
88
91
  * [Create Training Job](#create-training-job)
@@ -1148,6 +1151,18 @@ tasks.GlueStartJobRun(self, "Task",
1148
1151
  )
1149
1152
  ```
1150
1153
 
1154
+ You can configure workers by setting the `workerType` and `numberOfWorkers` properties.
1155
+
1156
+ ```python
1157
+ tasks.GlueStartJobRun(self, "Task",
1158
+ glue_job_name="my-glue-job",
1159
+ worker_configuration=tasks.WorkerConfigurationProperty(
1160
+ worker_type=tasks.WorkerType.G_1X, # Worker type
1161
+ number_of_workers=2
1162
+ )
1163
+ )
1164
+ ```
1165
+
1151
1166
  ### StartCrawlerRun
1152
1167
 
1153
1168
  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.
@@ -1316,6 +1331,77 @@ As a best practice, the `LambdaInvoke` task will retry on those errors with an i
1316
1331
  a back-off rate of 2 and 6 maximum attempts. Set the `retryOnServiceExceptions` prop to `false` to
1317
1332
  disable this behavior.
1318
1333
 
1334
+ ## MediaConvert
1335
+
1336
+ Step Functions supports [AWS MediaConvert](https://docs.aws.amazon.com/step-functions/latest/dg/connect-mediaconvert.html) through the Optimized integration pattern.
1337
+
1338
+ ### CreateJob
1339
+
1340
+ The [CreateJob](https://docs.aws.amazon.com/mediaconvert/latest/apireference/jobs.html#jobspost) API creates a new transcoding job.
1341
+ For information about jobs and job settings, see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
1342
+
1343
+ You can call the `CreateJob` API from a `Task` state. Optionally you can specify the `integrationPattern`.
1344
+
1345
+ Make sure you update the required fields - [Role](https://docs.aws.amazon.com/mediaconvert/latest/apireference/jobs.html#jobs-prop-createjobrequest-role) &
1346
+ [Settings](https://docs.aws.amazon.com/mediaconvert/latest/apireference/jobs.html#jobs-prop-createjobrequest-settings) and refer
1347
+ [CreateJobRequest](https://docs.aws.amazon.com/mediaconvert/latest/apireference/jobs.html#jobs-model-createjobrequest) for all other optional parameters.
1348
+
1349
+ ```python
1350
+ tasks.MediaConvertCreateJob(self, "CreateJob",
1351
+ create_job_request={
1352
+ "Role": "arn:aws:iam::123456789012:role/MediaConvertRole",
1353
+ "Settings": {
1354
+ "OutputGroups": [{
1355
+ "Outputs": [{
1356
+ "ContainerSettings": {
1357
+ "Container": "MP4"
1358
+ },
1359
+ "VideoDescription": {
1360
+ "CodecSettings": {
1361
+ "Codec": "H_264",
1362
+ "H264Settings": {
1363
+ "MaxBitrate": 1000,
1364
+ "RateControlMode": "QVBR",
1365
+ "SceneChangeDetect": "TRANSITION_DETECTION"
1366
+ }
1367
+ }
1368
+ },
1369
+ "AudioDescriptions": [{
1370
+ "CodecSettings": {
1371
+ "Codec": "AAC",
1372
+ "AacSettings": {
1373
+ "Bitrate": 96000,
1374
+ "CodingMode": "CODING_MODE_2_0",
1375
+ "SampleRate": 48000
1376
+ }
1377
+ }
1378
+ }
1379
+ ]
1380
+ }
1381
+ ],
1382
+ "OutputGroupSettings": {
1383
+ "Type": "FILE_GROUP_SETTINGS",
1384
+ "FileGroupSettings": {
1385
+ "Destination": "s3://EXAMPLE-DESTINATION-BUCKET/"
1386
+ }
1387
+ }
1388
+ }
1389
+ ],
1390
+ "Inputs": [{
1391
+ "AudioSelectors": {
1392
+ "Audio Selector 1": {
1393
+ "DefaultSelection": "DEFAULT"
1394
+ }
1395
+ },
1396
+ "FileInput": "s3://EXAMPLE-SOURCE-BUCKET/EXAMPLE-SOURCE_FILE"
1397
+ }
1398
+ ]
1399
+ }
1400
+ },
1401
+ integration_pattern=sfn.IntegrationPattern.RUN_JOB
1402
+ )
1403
+ ```
1404
+
1319
1405
  ## SageMaker
1320
1406
 
1321
1407
  Step Functions supports [AWS SageMaker](https://docs.aws.amazon.com/step-functions/latest/dg/connect-sagemaker.html) through the service integration pattern.
@@ -23089,14 +23175,12 @@ class GlueStartJobRun(
23089
23175
 
23090
23176
  Example::
23091
23177
 
23092
- import aws_cdk.aws_glue_alpha as glue
23093
-
23094
- # submit_glue: glue.Job
23095
-
23096
-
23097
- submit_job = tasks.GlueStartJobRun(self, "Submit Job",
23098
- glue_job_name=submit_glue.job_name,
23099
- integration_pattern=sfn.IntegrationPattern.RUN_JOB
23178
+ tasks.GlueStartJobRun(self, "Task",
23179
+ glue_job_name="my-glue-job",
23180
+ worker_configuration=tasks.WorkerConfigurationProperty(
23181
+ worker_type=tasks.WorkerType.G_1X, # Worker type
23182
+ number_of_workers=2
23183
+ )
23100
23184
  )
23101
23185
  '''
23102
23186
 
@@ -23109,6 +23193,7 @@ class GlueStartJobRun(
23109
23193
  arguments: typing.Optional[_TaskInput_91b91b91] = None,
23110
23194
  notify_delay_after: typing.Optional[_Duration_4839e8c3] = None,
23111
23195
  security_configuration: typing.Optional[builtins.str] = None,
23196
+ worker_configuration: typing.Optional[typing.Union["WorkerConfigurationProperty", typing.Dict[builtins.str, typing.Any]]] = None,
23112
23197
  comment: typing.Optional[builtins.str] = None,
23113
23198
  credentials: typing.Optional[typing.Union[_Credentials_2cd64c6b, typing.Dict[builtins.str, typing.Any]]] = None,
23114
23199
  heartbeat: typing.Optional[_Duration_4839e8c3] = None,
@@ -23129,6 +23214,7 @@ class GlueStartJobRun(
23129
23214
  :param arguments: The job arguments specifically for this run. For this job run, they replace the default arguments set in the job definition itself. Default: - Default arguments set in the job definition
23130
23215
  :param notify_delay_after: After a job run starts, the number of minutes to wait before sending a job run delay notification. Must be at least 1 minute. Default: - Default delay set in the job definition
23131
23216
  :param security_configuration: The name of the SecurityConfiguration structure to be used with this job run. This must match the Glue API Default: - Default configuration set in the job definition
23217
+ :param worker_configuration: The worker configuration for this run. Default: - Default worker configuration in the job definition
23132
23218
  :param comment: An optional description for this state. Default: - No comment
23133
23219
  :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)
23134
23220
  :param heartbeat: (deprecated) Timeout for the heartbeat. Default: - None
@@ -23151,6 +23237,7 @@ class GlueStartJobRun(
23151
23237
  arguments=arguments,
23152
23238
  notify_delay_after=notify_delay_after,
23153
23239
  security_configuration=security_configuration,
23240
+ worker_configuration=worker_configuration,
23154
23241
  comment=comment,
23155
23242
  credentials=credentials,
23156
23243
  heartbeat=heartbeat,
@@ -23198,6 +23285,7 @@ class GlueStartJobRun(
23198
23285
  "arguments": "arguments",
23199
23286
  "notify_delay_after": "notifyDelayAfter",
23200
23287
  "security_configuration": "securityConfiguration",
23288
+ "worker_configuration": "workerConfiguration",
23201
23289
  },
23202
23290
  )
23203
23291
  class GlueStartJobRunProps(_TaskStateBaseProps_3a62b6d0):
@@ -23220,6 +23308,7 @@ class GlueStartJobRunProps(_TaskStateBaseProps_3a62b6d0):
23220
23308
  arguments: typing.Optional[_TaskInput_91b91b91] = None,
23221
23309
  notify_delay_after: typing.Optional[_Duration_4839e8c3] = None,
23222
23310
  security_configuration: typing.Optional[builtins.str] = None,
23311
+ worker_configuration: typing.Optional[typing.Union["WorkerConfigurationProperty", typing.Dict[builtins.str, typing.Any]]] = None,
23223
23312
  ) -> None:
23224
23313
  '''Properties for starting an AWS Glue job as a task.
23225
23314
 
@@ -23239,23 +23328,24 @@ class GlueStartJobRunProps(_TaskStateBaseProps_3a62b6d0):
23239
23328
  :param arguments: The job arguments specifically for this run. For this job run, they replace the default arguments set in the job definition itself. Default: - Default arguments set in the job definition
23240
23329
  :param notify_delay_after: After a job run starts, the number of minutes to wait before sending a job run delay notification. Must be at least 1 minute. Default: - Default delay set in the job definition
23241
23330
  :param security_configuration: The name of the SecurityConfiguration structure to be used with this job run. This must match the Glue API Default: - Default configuration set in the job definition
23331
+ :param worker_configuration: The worker configuration for this run. Default: - Default worker configuration in the job definition
23242
23332
 
23243
23333
  :exampleMetadata: infused
23244
23334
 
23245
23335
  Example::
23246
23336
 
23247
- import aws_cdk.aws_glue_alpha as glue
23248
-
23249
- # submit_glue: glue.Job
23250
-
23251
-
23252
- submit_job = tasks.GlueStartJobRun(self, "Submit Job",
23253
- glue_job_name=submit_glue.job_name,
23254
- integration_pattern=sfn.IntegrationPattern.RUN_JOB
23337
+ tasks.GlueStartJobRun(self, "Task",
23338
+ glue_job_name="my-glue-job",
23339
+ worker_configuration=tasks.WorkerConfigurationProperty(
23340
+ worker_type=tasks.WorkerType.G_1X, # Worker type
23341
+ number_of_workers=2
23342
+ )
23255
23343
  )
23256
23344
  '''
23257
23345
  if isinstance(credentials, dict):
23258
23346
  credentials = _Credentials_2cd64c6b(**credentials)
23347
+ if isinstance(worker_configuration, dict):
23348
+ worker_configuration = WorkerConfigurationProperty(**worker_configuration)
23259
23349
  if __debug__:
23260
23350
  type_hints = typing.get_type_hints(_typecheckingstub__6a5a6a067402f20efc3f218ecff8d7cae8c7206cf0bfb73907469d47f31010ab)
23261
23351
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
@@ -23274,6 +23364,7 @@ class GlueStartJobRunProps(_TaskStateBaseProps_3a62b6d0):
23274
23364
  check_type(argname="argument arguments", value=arguments, expected_type=type_hints["arguments"])
23275
23365
  check_type(argname="argument notify_delay_after", value=notify_delay_after, expected_type=type_hints["notify_delay_after"])
23276
23366
  check_type(argname="argument security_configuration", value=security_configuration, expected_type=type_hints["security_configuration"])
23367
+ check_type(argname="argument worker_configuration", value=worker_configuration, expected_type=type_hints["worker_configuration"])
23277
23368
  self._values: typing.Dict[builtins.str, typing.Any] = {
23278
23369
  "glue_job_name": glue_job_name,
23279
23370
  }
@@ -23307,6 +23398,8 @@ class GlueStartJobRunProps(_TaskStateBaseProps_3a62b6d0):
23307
23398
  self._values["notify_delay_after"] = notify_delay_after
23308
23399
  if security_configuration is not None:
23309
23400
  self._values["security_configuration"] = security_configuration
23401
+ if worker_configuration is not None:
23402
+ self._values["worker_configuration"] = worker_configuration
23310
23403
 
23311
23404
  @builtins.property
23312
23405
  def comment(self) -> typing.Optional[builtins.str]:
@@ -23506,6 +23599,15 @@ class GlueStartJobRunProps(_TaskStateBaseProps_3a62b6d0):
23506
23599
  result = self._values.get("security_configuration")
23507
23600
  return typing.cast(typing.Optional[builtins.str], result)
23508
23601
 
23602
+ @builtins.property
23603
+ def worker_configuration(self) -> typing.Optional["WorkerConfigurationProperty"]:
23604
+ '''The worker configuration for this run.
23605
+
23606
+ :default: - Default worker configuration in the job definition
23607
+ '''
23608
+ result = self._values.get("worker_configuration")
23609
+ return typing.cast(typing.Optional["WorkerConfigurationProperty"], result)
23610
+
23509
23611
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
23510
23612
  return isinstance(rhs, self.__class__) and rhs._values == self._values
23511
23613
 
@@ -25034,6 +25136,482 @@ class LaunchTargetBindOptions:
25034
25136
  )
25035
25137
 
25036
25138
 
25139
+ class MediaConvertCreateJob(
25140
+ _TaskStateBase_b5c0a816,
25141
+ metaclass=jsii.JSIIMeta,
25142
+ jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.MediaConvertCreateJob",
25143
+ ):
25144
+ '''A Step Functions Task to create a job in MediaConvert.
25145
+
25146
+ The JobConfiguration/Request Syntax is defined in the Parameters in the Task State
25147
+
25148
+ :see:
25149
+
25150
+ https://docs.aws.amazon.com/step-functions/latest/dg/connect-mediaconvert.html
25151
+
25152
+ Response syntax: see CreateJobResponse schema
25153
+ https://docs.aws.amazon.com/mediaconvert/latest/apireference/jobs.html#jobs-response-examples
25154
+ :exampleMetadata: infused
25155
+
25156
+ Example::
25157
+
25158
+ tasks.MediaConvertCreateJob(self, "CreateJob",
25159
+ create_job_request={
25160
+ "Role": "arn:aws:iam::123456789012:role/MediaConvertRole",
25161
+ "Settings": {
25162
+ "OutputGroups": [{
25163
+ "Outputs": [{
25164
+ "ContainerSettings": {
25165
+ "Container": "MP4"
25166
+ },
25167
+ "VideoDescription": {
25168
+ "CodecSettings": {
25169
+ "Codec": "H_264",
25170
+ "H264Settings": {
25171
+ "MaxBitrate": 1000,
25172
+ "RateControlMode": "QVBR",
25173
+ "SceneChangeDetect": "TRANSITION_DETECTION"
25174
+ }
25175
+ }
25176
+ },
25177
+ "AudioDescriptions": [{
25178
+ "CodecSettings": {
25179
+ "Codec": "AAC",
25180
+ "AacSettings": {
25181
+ "Bitrate": 96000,
25182
+ "CodingMode": "CODING_MODE_2_0",
25183
+ "SampleRate": 48000
25184
+ }
25185
+ }
25186
+ }
25187
+ ]
25188
+ }
25189
+ ],
25190
+ "OutputGroupSettings": {
25191
+ "Type": "FILE_GROUP_SETTINGS",
25192
+ "FileGroupSettings": {
25193
+ "Destination": "s3://EXAMPLE-DESTINATION-BUCKET/"
25194
+ }
25195
+ }
25196
+ }
25197
+ ],
25198
+ "Inputs": [{
25199
+ "AudioSelectors": {
25200
+ "Audio Selector 1": {
25201
+ "DefaultSelection": "DEFAULT"
25202
+ }
25203
+ },
25204
+ "FileInput": "s3://EXAMPLE-SOURCE-BUCKET/EXAMPLE-SOURCE_FILE"
25205
+ }
25206
+ ]
25207
+ }
25208
+ },
25209
+ integration_pattern=sfn.IntegrationPattern.RUN_JOB
25210
+ )
25211
+ '''
25212
+
25213
+ def __init__(
25214
+ self,
25215
+ scope: _constructs_77d1e7e8.Construct,
25216
+ id: builtins.str,
25217
+ *,
25218
+ create_job_request: typing.Mapping[builtins.str, typing.Any],
25219
+ comment: typing.Optional[builtins.str] = None,
25220
+ credentials: typing.Optional[typing.Union[_Credentials_2cd64c6b, typing.Dict[builtins.str, typing.Any]]] = None,
25221
+ heartbeat: typing.Optional[_Duration_4839e8c3] = None,
25222
+ heartbeat_timeout: typing.Optional[_Timeout_d7c10551] = None,
25223
+ input_path: typing.Optional[builtins.str] = None,
25224
+ integration_pattern: typing.Optional[_IntegrationPattern_949291bc] = None,
25225
+ output_path: typing.Optional[builtins.str] = None,
25226
+ result_path: typing.Optional[builtins.str] = None,
25227
+ result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
25228
+ state_name: typing.Optional[builtins.str] = None,
25229
+ task_timeout: typing.Optional[_Timeout_d7c10551] = None,
25230
+ timeout: typing.Optional[_Duration_4839e8c3] = None,
25231
+ ) -> None:
25232
+ '''
25233
+ :param scope: -
25234
+ :param id: Descriptive identifier for this chainable.
25235
+ :param create_job_request: The input data for the MediaConvert Create Job invocation.
25236
+ :param comment: An optional description for this state. Default: - No comment
25237
+ :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)
25238
+ :param heartbeat: (deprecated) Timeout for the heartbeat. Default: - None
25239
+ :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
25240
+ :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 '$')
25241
+ :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``.
25242
+ :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 '$')
25243
+ :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 '$')
25244
+ :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
25245
+ :param state_name: Optional name for this state. Default: - The construct ID will be used as state name
25246
+ :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
25247
+ :param timeout: (deprecated) Timeout for the task. Default: - None
25248
+ '''
25249
+ if __debug__:
25250
+ type_hints = typing.get_type_hints(_typecheckingstub__47626f70f2e0b3afc85fa9d021b7b79ca0fbc387f9b887b223d27d95c4d68a29)
25251
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
25252
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
25253
+ props = MediaConvertCreateJobProps(
25254
+ create_job_request=create_job_request,
25255
+ comment=comment,
25256
+ credentials=credentials,
25257
+ heartbeat=heartbeat,
25258
+ heartbeat_timeout=heartbeat_timeout,
25259
+ input_path=input_path,
25260
+ integration_pattern=integration_pattern,
25261
+ output_path=output_path,
25262
+ result_path=result_path,
25263
+ result_selector=result_selector,
25264
+ state_name=state_name,
25265
+ task_timeout=task_timeout,
25266
+ timeout=timeout,
25267
+ )
25268
+
25269
+ jsii.create(self.__class__, self, [scope, id, props])
25270
+
25271
+ @builtins.property
25272
+ @jsii.member(jsii_name="taskMetrics")
25273
+ def _task_metrics(self) -> typing.Optional[_TaskMetricsConfig_32ea9403]:
25274
+ return typing.cast(typing.Optional[_TaskMetricsConfig_32ea9403], jsii.get(self, "taskMetrics"))
25275
+
25276
+ @builtins.property
25277
+ @jsii.member(jsii_name="taskPolicies")
25278
+ def _task_policies(self) -> typing.Optional[typing.List[_PolicyStatement_0fe33853]]:
25279
+ return typing.cast(typing.Optional[typing.List[_PolicyStatement_0fe33853]], jsii.get(self, "taskPolicies"))
25280
+
25281
+
25282
+ @jsii.data_type(
25283
+ jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.MediaConvertCreateJobProps",
25284
+ jsii_struct_bases=[_TaskStateBaseProps_3a62b6d0],
25285
+ name_mapping={
25286
+ "comment": "comment",
25287
+ "credentials": "credentials",
25288
+ "heartbeat": "heartbeat",
25289
+ "heartbeat_timeout": "heartbeatTimeout",
25290
+ "input_path": "inputPath",
25291
+ "integration_pattern": "integrationPattern",
25292
+ "output_path": "outputPath",
25293
+ "result_path": "resultPath",
25294
+ "result_selector": "resultSelector",
25295
+ "state_name": "stateName",
25296
+ "task_timeout": "taskTimeout",
25297
+ "timeout": "timeout",
25298
+ "create_job_request": "createJobRequest",
25299
+ },
25300
+ )
25301
+ class MediaConvertCreateJobProps(_TaskStateBaseProps_3a62b6d0):
25302
+ def __init__(
25303
+ self,
25304
+ *,
25305
+ comment: typing.Optional[builtins.str] = None,
25306
+ credentials: typing.Optional[typing.Union[_Credentials_2cd64c6b, typing.Dict[builtins.str, typing.Any]]] = None,
25307
+ heartbeat: typing.Optional[_Duration_4839e8c3] = None,
25308
+ heartbeat_timeout: typing.Optional[_Timeout_d7c10551] = None,
25309
+ input_path: typing.Optional[builtins.str] = None,
25310
+ integration_pattern: typing.Optional[_IntegrationPattern_949291bc] = None,
25311
+ output_path: typing.Optional[builtins.str] = None,
25312
+ result_path: typing.Optional[builtins.str] = None,
25313
+ result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
25314
+ state_name: typing.Optional[builtins.str] = None,
25315
+ task_timeout: typing.Optional[_Timeout_d7c10551] = None,
25316
+ timeout: typing.Optional[_Duration_4839e8c3] = None,
25317
+ create_job_request: typing.Mapping[builtins.str, typing.Any],
25318
+ ) -> None:
25319
+ '''Properties for creating a MediaConvert Job.
25320
+
25321
+ See the CreateJob API for complete documentation
25322
+
25323
+ :param comment: An optional description for this state. Default: - No comment
25324
+ :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)
25325
+ :param heartbeat: (deprecated) Timeout for the heartbeat. Default: - None
25326
+ :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
25327
+ :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 '$')
25328
+ :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``.
25329
+ :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 '$')
25330
+ :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 '$')
25331
+ :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
25332
+ :param state_name: Optional name for this state. Default: - The construct ID will be used as state name
25333
+ :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
25334
+ :param timeout: (deprecated) Timeout for the task. Default: - None
25335
+ :param create_job_request: The input data for the MediaConvert Create Job invocation.
25336
+
25337
+ :see: https://docs.aws.amazon.com/mediaconvert/latest/apireference/jobs.html#jobspost
25338
+ :exampleMetadata: infused
25339
+
25340
+ Example::
25341
+
25342
+ tasks.MediaConvertCreateJob(self, "CreateJob",
25343
+ create_job_request={
25344
+ "Role": "arn:aws:iam::123456789012:role/MediaConvertRole",
25345
+ "Settings": {
25346
+ "OutputGroups": [{
25347
+ "Outputs": [{
25348
+ "ContainerSettings": {
25349
+ "Container": "MP4"
25350
+ },
25351
+ "VideoDescription": {
25352
+ "CodecSettings": {
25353
+ "Codec": "H_264",
25354
+ "H264Settings": {
25355
+ "MaxBitrate": 1000,
25356
+ "RateControlMode": "QVBR",
25357
+ "SceneChangeDetect": "TRANSITION_DETECTION"
25358
+ }
25359
+ }
25360
+ },
25361
+ "AudioDescriptions": [{
25362
+ "CodecSettings": {
25363
+ "Codec": "AAC",
25364
+ "AacSettings": {
25365
+ "Bitrate": 96000,
25366
+ "CodingMode": "CODING_MODE_2_0",
25367
+ "SampleRate": 48000
25368
+ }
25369
+ }
25370
+ }
25371
+ ]
25372
+ }
25373
+ ],
25374
+ "OutputGroupSettings": {
25375
+ "Type": "FILE_GROUP_SETTINGS",
25376
+ "FileGroupSettings": {
25377
+ "Destination": "s3://EXAMPLE-DESTINATION-BUCKET/"
25378
+ }
25379
+ }
25380
+ }
25381
+ ],
25382
+ "Inputs": [{
25383
+ "AudioSelectors": {
25384
+ "Audio Selector 1": {
25385
+ "DefaultSelection": "DEFAULT"
25386
+ }
25387
+ },
25388
+ "FileInput": "s3://EXAMPLE-SOURCE-BUCKET/EXAMPLE-SOURCE_FILE"
25389
+ }
25390
+ ]
25391
+ }
25392
+ },
25393
+ integration_pattern=sfn.IntegrationPattern.RUN_JOB
25394
+ )
25395
+ '''
25396
+ if isinstance(credentials, dict):
25397
+ credentials = _Credentials_2cd64c6b(**credentials)
25398
+ if __debug__:
25399
+ type_hints = typing.get_type_hints(_typecheckingstub__16b39b778e06ec2db314a122225a047346a6b819754fdea1212783b40d5bb520)
25400
+ check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
25401
+ check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
25402
+ check_type(argname="argument heartbeat", value=heartbeat, expected_type=type_hints["heartbeat"])
25403
+ check_type(argname="argument heartbeat_timeout", value=heartbeat_timeout, expected_type=type_hints["heartbeat_timeout"])
25404
+ check_type(argname="argument input_path", value=input_path, expected_type=type_hints["input_path"])
25405
+ check_type(argname="argument integration_pattern", value=integration_pattern, expected_type=type_hints["integration_pattern"])
25406
+ check_type(argname="argument output_path", value=output_path, expected_type=type_hints["output_path"])
25407
+ check_type(argname="argument result_path", value=result_path, expected_type=type_hints["result_path"])
25408
+ check_type(argname="argument result_selector", value=result_selector, expected_type=type_hints["result_selector"])
25409
+ check_type(argname="argument state_name", value=state_name, expected_type=type_hints["state_name"])
25410
+ check_type(argname="argument task_timeout", value=task_timeout, expected_type=type_hints["task_timeout"])
25411
+ check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
25412
+ check_type(argname="argument create_job_request", value=create_job_request, expected_type=type_hints["create_job_request"])
25413
+ self._values: typing.Dict[builtins.str, typing.Any] = {
25414
+ "create_job_request": create_job_request,
25415
+ }
25416
+ if comment is not None:
25417
+ self._values["comment"] = comment
25418
+ if credentials is not None:
25419
+ self._values["credentials"] = credentials
25420
+ if heartbeat is not None:
25421
+ self._values["heartbeat"] = heartbeat
25422
+ if heartbeat_timeout is not None:
25423
+ self._values["heartbeat_timeout"] = heartbeat_timeout
25424
+ if input_path is not None:
25425
+ self._values["input_path"] = input_path
25426
+ if integration_pattern is not None:
25427
+ self._values["integration_pattern"] = integration_pattern
25428
+ if output_path is not None:
25429
+ self._values["output_path"] = output_path
25430
+ if result_path is not None:
25431
+ self._values["result_path"] = result_path
25432
+ if result_selector is not None:
25433
+ self._values["result_selector"] = result_selector
25434
+ if state_name is not None:
25435
+ self._values["state_name"] = state_name
25436
+ if task_timeout is not None:
25437
+ self._values["task_timeout"] = task_timeout
25438
+ if timeout is not None:
25439
+ self._values["timeout"] = timeout
25440
+
25441
+ @builtins.property
25442
+ def comment(self) -> typing.Optional[builtins.str]:
25443
+ '''An optional description for this state.
25444
+
25445
+ :default: - No comment
25446
+ '''
25447
+ result = self._values.get("comment")
25448
+ return typing.cast(typing.Optional[builtins.str], result)
25449
+
25450
+ @builtins.property
25451
+ def credentials(self) -> typing.Optional[_Credentials_2cd64c6b]:
25452
+ '''Credentials for an IAM Role that the State Machine assumes for executing the task.
25453
+
25454
+ This enables cross-account resource invocations.
25455
+
25456
+ :default: - None (Task is executed using the State Machine's execution role)
25457
+
25458
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-access-cross-acct-resources.html
25459
+ '''
25460
+ result = self._values.get("credentials")
25461
+ return typing.cast(typing.Optional[_Credentials_2cd64c6b], result)
25462
+
25463
+ @builtins.property
25464
+ def heartbeat(self) -> typing.Optional[_Duration_4839e8c3]:
25465
+ '''(deprecated) Timeout for the heartbeat.
25466
+
25467
+ :default: - None
25468
+
25469
+ :deprecated: use ``heartbeatTimeout``
25470
+
25471
+ :stability: deprecated
25472
+ '''
25473
+ result = self._values.get("heartbeat")
25474
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
25475
+
25476
+ @builtins.property
25477
+ def heartbeat_timeout(self) -> typing.Optional[_Timeout_d7c10551]:
25478
+ '''Timeout for the heartbeat.
25479
+
25480
+ [disable-awslint:duration-prop-type] is needed because all props interface in
25481
+ aws-stepfunctions-tasks extend this interface
25482
+
25483
+ :default: - None
25484
+ '''
25485
+ result = self._values.get("heartbeat_timeout")
25486
+ return typing.cast(typing.Optional[_Timeout_d7c10551], result)
25487
+
25488
+ @builtins.property
25489
+ def input_path(self) -> typing.Optional[builtins.str]:
25490
+ '''JSONPath expression to select part of the state to be the input to this state.
25491
+
25492
+ May also be the special value JsonPath.DISCARD, which will cause the effective
25493
+ input to be the empty object {}.
25494
+
25495
+ :default: - The entire task input (JSON path '$')
25496
+ '''
25497
+ result = self._values.get("input_path")
25498
+ return typing.cast(typing.Optional[builtins.str], result)
25499
+
25500
+ @builtins.property
25501
+ def integration_pattern(self) -> typing.Optional[_IntegrationPattern_949291bc]:
25502
+ '''AWS Step Functions integrates with services directly in the Amazon States Language.
25503
+
25504
+ You can control these AWS services using service integration patterns.
25505
+
25506
+ Depending on the AWS Service, the Service Integration Pattern availability will vary.
25507
+
25508
+ :default:
25509
+
25510
+ - ``IntegrationPattern.REQUEST_RESPONSE`` for most tasks.
25511
+ ``IntegrationPattern.RUN_JOB`` for the following exceptions:
25512
+ ``BatchSubmitJob``, ``EmrAddStep``, ``EmrCreateCluster``, ``EmrTerminationCluster``, and ``EmrContainersStartJobRun``.
25513
+
25514
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/connect-supported-services.html
25515
+ '''
25516
+ result = self._values.get("integration_pattern")
25517
+ return typing.cast(typing.Optional[_IntegrationPattern_949291bc], result)
25518
+
25519
+ @builtins.property
25520
+ def output_path(self) -> typing.Optional[builtins.str]:
25521
+ '''JSONPath expression to select select a portion of the state output to pass to the next state.
25522
+
25523
+ May also be the special value JsonPath.DISCARD, which will cause the effective
25524
+ output to be the empty object {}.
25525
+
25526
+ :default:
25527
+
25528
+ - The entire JSON node determined by the state input, the task result,
25529
+ and resultPath is passed to the next state (JSON path '$')
25530
+ '''
25531
+ result = self._values.get("output_path")
25532
+ return typing.cast(typing.Optional[builtins.str], result)
25533
+
25534
+ @builtins.property
25535
+ def result_path(self) -> typing.Optional[builtins.str]:
25536
+ '''JSONPath expression to indicate where to inject the state's output.
25537
+
25538
+ May also be the special value JsonPath.DISCARD, which will cause the state's
25539
+ input to become its output.
25540
+
25541
+ :default: - Replaces the entire input with the result (JSON path '$')
25542
+ '''
25543
+ result = self._values.get("result_path")
25544
+ return typing.cast(typing.Optional[builtins.str], result)
25545
+
25546
+ @builtins.property
25547
+ def result_selector(
25548
+ self,
25549
+ ) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
25550
+ '''The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
25551
+
25552
+ You can use ResultSelector to create a payload with values that are static
25553
+ or selected from the state's raw result.
25554
+
25555
+ :default: - None
25556
+
25557
+ :see: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-resultselector
25558
+ '''
25559
+ result = self._values.get("result_selector")
25560
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], result)
25561
+
25562
+ @builtins.property
25563
+ def state_name(self) -> typing.Optional[builtins.str]:
25564
+ '''Optional name for this state.
25565
+
25566
+ :default: - The construct ID will be used as state name
25567
+ '''
25568
+ result = self._values.get("state_name")
25569
+ return typing.cast(typing.Optional[builtins.str], result)
25570
+
25571
+ @builtins.property
25572
+ def task_timeout(self) -> typing.Optional[_Timeout_d7c10551]:
25573
+ '''Timeout for the task.
25574
+
25575
+ [disable-awslint:duration-prop-type] is needed because all props interface in
25576
+ aws-stepfunctions-tasks extend this interface
25577
+
25578
+ :default: - None
25579
+ '''
25580
+ result = self._values.get("task_timeout")
25581
+ return typing.cast(typing.Optional[_Timeout_d7c10551], result)
25582
+
25583
+ @builtins.property
25584
+ def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
25585
+ '''(deprecated) Timeout for the task.
25586
+
25587
+ :default: - None
25588
+
25589
+ :deprecated: use ``taskTimeout``
25590
+
25591
+ :stability: deprecated
25592
+ '''
25593
+ result = self._values.get("timeout")
25594
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
25595
+
25596
+ @builtins.property
25597
+ def create_job_request(self) -> typing.Mapping[builtins.str, typing.Any]:
25598
+ '''The input data for the MediaConvert Create Job invocation.'''
25599
+ result = self._values.get("create_job_request")
25600
+ assert result is not None, "Required property 'create_job_request' is missing"
25601
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], result)
25602
+
25603
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
25604
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
25605
+
25606
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
25607
+ return not (rhs == self)
25608
+
25609
+ def __repr__(self) -> str:
25610
+ return "MediaConvertCreateJobProps(%s)" % ", ".join(
25611
+ k + "=" + repr(v) for k, v in self._values.items()
25612
+ )
25613
+
25614
+
25037
25615
  @jsii.data_type(
25038
25616
  jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.MessageAttribute",
25039
25617
  jsii_struct_bases=[],
@@ -32438,6 +33016,121 @@ class VpcConfig:
32438
33016
  )
32439
33017
 
32440
33018
 
33019
+ @jsii.data_type(
33020
+ jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.WorkerConfigurationProperty",
33021
+ jsii_struct_bases=[],
33022
+ name_mapping={"number_of_workers": "numberOfWorkers", "worker_type": "workerType"},
33023
+ )
33024
+ class WorkerConfigurationProperty:
33025
+ def __init__(
33026
+ self,
33027
+ *,
33028
+ number_of_workers: jsii.Number,
33029
+ worker_type: "WorkerType",
33030
+ ) -> None:
33031
+ '''Properties for the worker configuration.
33032
+
33033
+ :param number_of_workers: The number of workers of a defined ``WorkerType`` that are allocated when a job runs.
33034
+ :param worker_type: The type of predefined worker that is allocated when a job runs.
33035
+
33036
+ :exampleMetadata: infused
33037
+
33038
+ Example::
33039
+
33040
+ tasks.GlueStartJobRun(self, "Task",
33041
+ glue_job_name="my-glue-job",
33042
+ worker_configuration=tasks.WorkerConfigurationProperty(
33043
+ worker_type=tasks.WorkerType.G_1X, # Worker type
33044
+ number_of_workers=2
33045
+ )
33046
+ )
33047
+ '''
33048
+ if __debug__:
33049
+ type_hints = typing.get_type_hints(_typecheckingstub__c763ebaff9b2187b4078dfe282a5c758a12f2af6fb159d07e51c1920e8b7c50f)
33050
+ check_type(argname="argument number_of_workers", value=number_of_workers, expected_type=type_hints["number_of_workers"])
33051
+ check_type(argname="argument worker_type", value=worker_type, expected_type=type_hints["worker_type"])
33052
+ self._values: typing.Dict[builtins.str, typing.Any] = {
33053
+ "number_of_workers": number_of_workers,
33054
+ "worker_type": worker_type,
33055
+ }
33056
+
33057
+ @builtins.property
33058
+ def number_of_workers(self) -> jsii.Number:
33059
+ '''The number of workers of a defined ``WorkerType`` that are allocated when a job runs.'''
33060
+ result = self._values.get("number_of_workers")
33061
+ assert result is not None, "Required property 'number_of_workers' is missing"
33062
+ return typing.cast(jsii.Number, result)
33063
+
33064
+ @builtins.property
33065
+ def worker_type(self) -> "WorkerType":
33066
+ '''The type of predefined worker that is allocated when a job runs.'''
33067
+ result = self._values.get("worker_type")
33068
+ assert result is not None, "Required property 'worker_type' is missing"
33069
+ return typing.cast("WorkerType", result)
33070
+
33071
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
33072
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
33073
+
33074
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
33075
+ return not (rhs == self)
33076
+
33077
+ def __repr__(self) -> str:
33078
+ return "WorkerConfigurationProperty(%s)" % ", ".join(
33079
+ k + "=" + repr(v) for k, v in self._values.items()
33080
+ )
33081
+
33082
+
33083
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_stepfunctions_tasks.WorkerType")
33084
+ class WorkerType(enum.Enum):
33085
+ '''The type of predefined worker that is allocated when a job runs.
33086
+
33087
+ If you need to use a WorkerType that doesn't exist as a static member, you
33088
+ can instantiate a ``WorkerType`` object, e.g: ``WorkerType.of('other type')``.
33089
+
33090
+ :exampleMetadata: infused
33091
+
33092
+ Example::
33093
+
33094
+ tasks.GlueStartJobRun(self, "Task",
33095
+ glue_job_name="my-glue-job",
33096
+ worker_configuration=tasks.WorkerConfigurationProperty(
33097
+ worker_type=tasks.WorkerType.G_1X, # Worker type
33098
+ number_of_workers=2
33099
+ )
33100
+ )
33101
+ '''
33102
+
33103
+ STANDARD = "STANDARD"
33104
+ '''Each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker.'''
33105
+ G_1X = "G_1X"
33106
+ '''Each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker.
33107
+
33108
+ Suitable for memory-intensive jobs.
33109
+ '''
33110
+ G_2X = "G_2X"
33111
+ '''Each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker.
33112
+
33113
+ Suitable for memory-intensive jobs.
33114
+ '''
33115
+ G_4X = "G_4X"
33116
+ '''Each worker maps to 4 DPU (16 vCPU, 64 GB of memory, 256 GB disk), and provides 1 executor per worker.
33117
+
33118
+ We recommend this worker type for jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available only for AWS Glue version 3.0 or later jobs.
33119
+ '''
33120
+ G_8X = "G_8X"
33121
+ '''Each worker maps to 8 DPU (32 vCPU, 128 GB of memory, 512 GB disk), and provides 1 executor per worker.
33122
+
33123
+ We recommend this worker type for jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available only for AWS Glue version 3.0 or later jobs.
33124
+ '''
33125
+ G_025X = "G_025X"
33126
+ '''Each worker maps to 0.25 DPU (2 vCPU, 4 GB of memory, 64 GB disk), and provides 1 executor per worker. Suitable for low volume streaming jobs.'''
33127
+ Z_2X = "Z_2X"
33128
+ '''Each worker maps to 2 high-memory DPU [M-DPU] (8 vCPU, 64 GB of memory, 128 GB disk).
33129
+
33130
+ Supported in Ray jobs.
33131
+ '''
33132
+
33133
+
32441
33134
  @jsii.implements(IContainerDefinition)
32442
33135
  class ContainerDefinition(
32443
33136
  metaclass=jsii.JSIIMeta,
@@ -32784,6 +33477,8 @@ __all__ = [
32784
33477
  "LambdaInvoke",
32785
33478
  "LambdaInvokeProps",
32786
33479
  "LaunchTargetBindOptions",
33480
+ "MediaConvertCreateJob",
33481
+ "MediaConvertCreateJobProps",
32787
33482
  "MessageAttribute",
32788
33483
  "MessageAttributeDataType",
32789
33484
  "MetricDefinition",
@@ -32836,6 +33531,8 @@ __all__ = [
32836
33531
  "URLEncodingFormat",
32837
33532
  "VirtualClusterInput",
32838
33533
  "VpcConfig",
33534
+ "WorkerConfigurationProperty",
33535
+ "WorkerType",
32839
33536
  ]
32840
33537
 
32841
33538
  publication.publish()
@@ -34992,6 +35689,7 @@ def _typecheckingstub__ca53b69e05a043466b0fb8d683b8908756bbb80a6167bf6e801b2cc4b
34992
35689
  arguments: typing.Optional[_TaskInput_91b91b91] = None,
34993
35690
  notify_delay_after: typing.Optional[_Duration_4839e8c3] = None,
34994
35691
  security_configuration: typing.Optional[builtins.str] = None,
35692
+ worker_configuration: typing.Optional[typing.Union[WorkerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]] = None,
34995
35693
  comment: typing.Optional[builtins.str] = None,
34996
35694
  credentials: typing.Optional[typing.Union[_Credentials_2cd64c6b, typing.Dict[builtins.str, typing.Any]]] = None,
34997
35695
  heartbeat: typing.Optional[_Duration_4839e8c3] = None,
@@ -35026,6 +35724,7 @@ def _typecheckingstub__6a5a6a067402f20efc3f218ecff8d7cae8c7206cf0bfb73907469d47f
35026
35724
  arguments: typing.Optional[_TaskInput_91b91b91] = None,
35027
35725
  notify_delay_after: typing.Optional[_Duration_4839e8c3] = None,
35028
35726
  security_configuration: typing.Optional[builtins.str] = None,
35727
+ worker_configuration: typing.Optional[typing.Union[WorkerConfigurationProperty, typing.Dict[builtins.str, typing.Any]]] = None,
35029
35728
  ) -> None:
35030
35729
  """Type checking stubs"""
35031
35730
  pass
@@ -35174,6 +35873,46 @@ def _typecheckingstub__7b560f3114f2934e18e7788c4b7a09e5df83fb80cc3508ffa3ca32de1
35174
35873
  """Type checking stubs"""
35175
35874
  pass
35176
35875
 
35876
+ def _typecheckingstub__47626f70f2e0b3afc85fa9d021b7b79ca0fbc387f9b887b223d27d95c4d68a29(
35877
+ scope: _constructs_77d1e7e8.Construct,
35878
+ id: builtins.str,
35879
+ *,
35880
+ create_job_request: typing.Mapping[builtins.str, typing.Any],
35881
+ comment: typing.Optional[builtins.str] = None,
35882
+ credentials: typing.Optional[typing.Union[_Credentials_2cd64c6b, typing.Dict[builtins.str, typing.Any]]] = None,
35883
+ heartbeat: typing.Optional[_Duration_4839e8c3] = None,
35884
+ heartbeat_timeout: typing.Optional[_Timeout_d7c10551] = None,
35885
+ input_path: typing.Optional[builtins.str] = None,
35886
+ integration_pattern: typing.Optional[_IntegrationPattern_949291bc] = None,
35887
+ output_path: typing.Optional[builtins.str] = None,
35888
+ result_path: typing.Optional[builtins.str] = None,
35889
+ result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
35890
+ state_name: typing.Optional[builtins.str] = None,
35891
+ task_timeout: typing.Optional[_Timeout_d7c10551] = None,
35892
+ timeout: typing.Optional[_Duration_4839e8c3] = None,
35893
+ ) -> None:
35894
+ """Type checking stubs"""
35895
+ pass
35896
+
35897
+ def _typecheckingstub__16b39b778e06ec2db314a122225a047346a6b819754fdea1212783b40d5bb520(
35898
+ *,
35899
+ comment: typing.Optional[builtins.str] = None,
35900
+ credentials: typing.Optional[typing.Union[_Credentials_2cd64c6b, typing.Dict[builtins.str, typing.Any]]] = None,
35901
+ heartbeat: typing.Optional[_Duration_4839e8c3] = None,
35902
+ heartbeat_timeout: typing.Optional[_Timeout_d7c10551] = None,
35903
+ input_path: typing.Optional[builtins.str] = None,
35904
+ integration_pattern: typing.Optional[_IntegrationPattern_949291bc] = None,
35905
+ output_path: typing.Optional[builtins.str] = None,
35906
+ result_path: typing.Optional[builtins.str] = None,
35907
+ result_selector: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
35908
+ state_name: typing.Optional[builtins.str] = None,
35909
+ task_timeout: typing.Optional[_Timeout_d7c10551] = None,
35910
+ timeout: typing.Optional[_Duration_4839e8c3] = None,
35911
+ create_job_request: typing.Mapping[builtins.str, typing.Any],
35912
+ ) -> None:
35913
+ """Type checking stubs"""
35914
+ pass
35915
+
35177
35916
  def _typecheckingstub__4d174739d49dbdd5c2e269db4b306eb7cdec88717b5eeb7d9827c8fd1de6460c(
35178
35917
  *,
35179
35918
  value: typing.Any,
@@ -35913,6 +36652,14 @@ def _typecheckingstub__1fbc90a211c2213a59cd0f58f282d9d8472f9b488d20c54956f06975b
35913
36652
  """Type checking stubs"""
35914
36653
  pass
35915
36654
 
36655
+ def _typecheckingstub__c763ebaff9b2187b4078dfe282a5c758a12f2af6fb159d07e51c1920e8b7c50f(
36656
+ *,
36657
+ number_of_workers: jsii.Number,
36658
+ worker_type: WorkerType,
36659
+ ) -> None:
36660
+ """Type checking stubs"""
36661
+ pass
36662
+
35916
36663
  def _typecheckingstub__a8584021dc58453ae786ca7a6b0d6b228d99e24e96189ad9dd7ce18d3087e10d(
35917
36664
  task: ISageMakerTask,
35918
36665
  ) -> None: