BatchJobProps

class aws_cdk.aws_events_targets.BatchJobProps(*, attempts=None, event=None, job_name=None, size=None)

Bases: object

(experimental) Customize the Batch Job Event Target.

Parameters
  • attempts (Union[int, float, None]) – (experimental) The number of times to attempt to retry, if the job fails. Valid values are 1–10. Default: no retryStrategy is set

  • event (Optional[RuleTargetInput]) – (experimental) The event to send to the Lambda. This will be the payload sent to the Lambda Function. Default: the entire EventBridge event

  • job_name (Optional[str]) – (experimental) The name of the submitted job. Default: - Automatically generated

  • size (Union[int, float, None]) – (experimental) The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000. Default: no arrayProperties are set

Stability

experimental

Attributes

attempts

(experimental) The number of times to attempt to retry, if the job fails.

Valid values are 1–10.

Default

no retryStrategy is set

Stability

experimental

Return type

Union[int, float, None]

event

(experimental) The event to send to the Lambda.

This will be the payload sent to the Lambda Function.

Default

the entire EventBridge event

Stability

experimental

Return type

Optional[RuleTargetInput]

job_name

(experimental) The name of the submitted job.

Default
  • Automatically generated

Stability

experimental

Return type

Optional[str]

size

(experimental) The size of the array, if this is an array batch job.

Valid values are integers between 2 and 10,000.

Default

no arrayProperties are set

Stability

experimental

Return type

Union[int, float, None]