EventBatchingCondition

class aws_cdk.aws_glue.EventBatchingCondition(*, batch_size, batch_window=None)

Bases: object

Represents event trigger batch condition.

Parameters:
  • batch_size (Union[int, float]) – Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

  • batch_window (Optional[Duration]) – Window of time in seconds after which EventBridge event trigger fires. Default: - 900 seconds

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
from aws_cdk import aws_glue as glue

event_batching_condition = glue.EventBatchingCondition(
    batch_size=123,

    # the properties below are optional
    batch_window=cdk.Duration.minutes(30)
)

Attributes

batch_size

Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

batch_window

Window of time in seconds after which EventBridge event trigger fires.

Default:
  • 900 seconds