Class EventbridgeToStepfunctions.Builder
java.lang.Object
software.amazon.awsconstructs.services.eventbridgestepfunctions.EventbridgeToStepfunctions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventbridgeToStepfunctions>
- Enclosing class:
EventbridgeToStepfunctions
public static final class EventbridgeToStepfunctions.Builder
extends Object
implements software.amazon.jsii.Builder<EventbridgeToStepfunctions>
A fluent builder for
EventbridgeToStepfunctions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()createCloudWatchAlarms(Boolean createCloudWatchAlarms) Whether to create recommended CloudWatch alarms.eventBusProps(software.amazon.awscdk.services.events.EventBusProps eventBusProps) A new custom EventBus is created with provided props.eventRuleProps(software.amazon.awscdk.services.events.RuleProps eventRuleProps) User provided eventRuleProps to override the defaults.existingEventBusInterface(software.amazon.awscdk.services.events.IEventBus existingEventBusInterface) Existing instance of a custom EventBus.logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps) User provided props to override the default props for the CloudWatchLogs LogGroup.stateMachineProps(software.amazon.awscdk.services.stepfunctions.StateMachineProps stateMachineProps) User provided StateMachineProps to override the defaults.
-
Method Details
-
create
public static EventbridgeToStepfunctions.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope-- represents the scope for all the resources.
id-- this is a a scope-unique id.
- Returns:
- a new instance of
EventbridgeToStepfunctions.Builder.
-
eventRuleProps
public EventbridgeToStepfunctions.Builder eventRuleProps(software.amazon.awscdk.services.events.RuleProps eventRuleProps) User provided eventRuleProps to override the defaults.Default: - None
- Parameters:
eventRuleProps- User provided eventRuleProps to override the defaults. This parameter is required.- Returns:
this
-
stateMachineProps
public EventbridgeToStepfunctions.Builder stateMachineProps(software.amazon.awscdk.services.stepfunctions.StateMachineProps stateMachineProps) User provided StateMachineProps to override the defaults.Default: - None
- Parameters:
stateMachineProps- User provided StateMachineProps to override the defaults. This parameter is required.- Returns:
this
-
createCloudWatchAlarms
Whether to create recommended CloudWatch alarms.Default: - Alarms are created
- Parameters:
createCloudWatchAlarms- Whether to create recommended CloudWatch alarms. This parameter is required.- Returns:
this
-
eventBusProps
public EventbridgeToStepfunctions.Builder eventBusProps(software.amazon.awscdk.services.events.EventBusProps eventBusProps) A new custom EventBus is created with provided props.Default: - None
- Parameters:
eventBusProps- A new custom EventBus is created with provided props. This parameter is required.- Returns:
this
-
existingEventBusInterface
public EventbridgeToStepfunctions.Builder existingEventBusInterface(software.amazon.awscdk.services.events.IEventBus existingEventBusInterface) Existing instance of a custom EventBus.Default: - None
- Parameters:
existingEventBusInterface- Existing instance of a custom EventBus. This parameter is required.- Returns:
this
-
logGroupProps
public EventbridgeToStepfunctions.Builder logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps) User provided props to override the default props for the CloudWatchLogs LogGroup.Default: - Default props are used
- Parameters:
logGroupProps- User provided props to override the default props for the CloudWatchLogs LogGroup. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EventbridgeToStepfunctions>- Returns:
- a newly built instance of
EventbridgeToStepfunctions.
-