Documentation
¶
Overview ¶
CDK Constructs for deploying AWS Events Rule that inveokes AWS Lambda
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventbridgeToLambda_IsConstruct ¶
func EventbridgeToLambda_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewEventbridgeToLambda_Override ¶
func NewEventbridgeToLambda_Override(e EventbridgeToLambda, scope constructs.Construct, id *string, props *EventbridgeToLambdaProps)
Types ¶
type EventbridgeToLambda ¶
type EventbridgeToLambda interface { constructs.Construct EventBus() awsevents.IEventBus EventsRule() awsevents.Rule LambdaFunction() awslambda.Function Node() constructs.Node ToString() *string }
func NewEventbridgeToLambda ¶
func NewEventbridgeToLambda(scope constructs.Construct, id *string, props *EventbridgeToLambdaProps) EventbridgeToLambda
type EventbridgeToLambdaProps ¶
type EventbridgeToLambdaProps struct { // User provided eventRuleProps to override the defaults. EventRuleProps *awsevents.RuleProps `json:"eventRuleProps"` // A new custom EventBus is created with provided props. EventBusProps *awsevents.EventBusProps `json:"eventBusProps"` // Existing instance of a custom EventBus. ExistingEventBusInterface awsevents.IEventBus `json:"existingEventBusInterface"` // Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. ExistingLambdaObj awslambda.Function `json:"existingLambdaObj"` // User provided props to override the default props for the Lambda function. LambdaFunctionProps *awslambda.FunctionProps `json:"lambdaFunctionProps"` }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.