BatchJobProps

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

Bases: object

__init__(*, attempts=None, event=None, job_name=None, size=None)

Customize the Batch Job Event Target.

Parameters
  • attempts (Union[int, float, None]) – 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]) – 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]) – The name of the submitted job. Default: - Automatically generated

  • size (Union[int, float, None]) – 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 :stability: experimental

Return type

None

Attributes

attempts

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

Valid values are 1–10.

default :default: no retryStrategy is set

stability :stability: experimental

Return type

Union[int, float, None]

event

The event to send to the Lambda.

This will be the payload sent to the Lambda Function.

default :default: the entire EventBridge event

stability :stability: experimental

Return type

Optional[RuleTargetInput]

job_name

The name of the submitted job.

default :default: - Automatically generated

stability :stability: experimental

Return type

Optional[str]

size

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

Valid values are integers between 2 and 10,000.

default :default: no arrayProperties are set

stability :stability: experimental

Return type

Union[int, float, None]