public static final class EventsRuleToLambda.Builder extends Object implements software.amazon.jsii.Builder<EventsRuleToLambda>
EventsRuleToLambda.| Modifier and Type | Method and Description |
|---|---|
EventsRuleToLambda |
build() |
static EventsRuleToLambda.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
EventsRuleToLambda.Builder |
eventBusProps(software.amazon.awscdk.services.events.EventBusProps eventBusProps)
A new custom EventBus is created with provided props.
|
EventsRuleToLambda.Builder |
eventRuleProps(software.amazon.awscdk.services.events.RuleProps eventRuleProps)
User provided eventRuleProps to override the defaults.
|
EventsRuleToLambda.Builder |
existingEventBusInterface(software.amazon.awscdk.services.events.IEventBus existingEventBusInterface)
Existing instance of a custom EventBus.
|
EventsRuleToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
EventsRuleToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
public static EventsRuleToLambda.Builder create(software.amazon.awscdk.core.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.EventsRuleToLambda.Builder.public EventsRuleToLambda.Builder eventRuleProps(software.amazon.awscdk.services.events.RuleProps eventRuleProps)
Default: - None
eventRuleProps - User provided eventRuleProps to override the defaults. This parameter is required.thispublic EventsRuleToLambda.Builder eventBusProps(software.amazon.awscdk.services.events.EventBusProps eventBusProps)
Default: - None
eventBusProps - A new custom EventBus is created with provided props. This parameter is required.thispublic EventsRuleToLambda.Builder existingEventBusInterface(software.amazon.awscdk.services.events.IEventBus existingEventBusInterface)
Default: - None
existingEventBusInterface - Existing instance of a custom EventBus. This parameter is required.thispublic EventsRuleToLambda.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. This parameter is required.thispublic EventsRuleToLambda.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default props are used
lambdaFunctionProps - User provided props to override the default props for the Lambda function. This parameter is required.thispublic EventsRuleToLambda build()
build in interface software.amazon.jsii.Builder<EventsRuleToLambda>Copyright © 2022. All rights reserved.