EventBatchingConditionProperty Struct
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const eventBatchingConditionProperty: glue.CfnTrigger.EventBatchingConditionProperty = {
batchSize: 123,
// the properties below are optional
batchWindow: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue
event_batching_condition_property = glue.CfnTrigger.EventBatchingConditionProperty(
batch_size=123,
# the properties below are optional
batch_window=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
EventBatchingConditionProperty eventBatchingConditionProperty = EventBatchingConditionProperty.builder()
.batchSize(123)
// the properties below are optional
.batchWindow(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;
var eventBatchingConditionProperty = new EventBatchingConditionProperty {
BatchSize = 123,
// the properties below are optional
BatchWindow = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
eventBatchingConditionProperty := &EventBatchingConditionProperty{
BatchSize: jsii.Number(123),
// the properties below are optional
BatchWindow: jsii.Number(123),
}
Properties
Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
batchWindowoptionalnumberbatch_windowoptionalint | floatbatchWindowoptionalNumberBatchWindowoptionaldoubleBatchWindowoptional*float64 #Window of time in seconds after which EventBridge event trigger fires.
Window starts when first event is received.