Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FunctionEventBusLink ¶
func FunctionEventBusLink( iamServiceFactory pluginutils.ServiceFactory[*aws.Config, iamservice.Service], ) func(FunctionToEventBusLinkDeps) provider.Link
FunctionEventBusLink returns a link implementation for a link from a Lambda function to an EventBridge event bus. The Lambda function is granted the IAM permission to publish events to the bus and, optionally, environment variables referencing the bus.
func RuleFunctionLink ¶
RuleFunctionLink returns a link implementation for a link from an EventBridge rule to a Lambda function. The rule -> function wiring itself is modelled inline in the rule's targets array. This link only grants the function's resource-based permission allowing EventBridge to invoke it.
Types ¶
type FunctionToEventBusLinkDeps ¶
type FunctionToEventBusLinkDeps pluginutils.LinkServiceDeps[ *aws.Config, lambdaservice.Service, *aws.Config, eventsservice.Service, ]
FunctionToEventBusLinkDeps is a type alias for the core dependencies for a link from a Lambda function to an EventBridge event bus.