Looking for a solution to add the EventBridge RuleName, instead of using the default one
validatoLambdar:
name: feed-validator
handler: feed-validator.handler
layers:
- !Ref Layer
logForwarding:
enabled: true
alarms:
- functionInvocations
events:
- eventBridge:
pattern:
source:
- “aws.s3”
detail-type:
- AWS API Call via CloudTrail
detail:
eventSource:
- s3.amazonaws.com
eventName:
- CompleteMultipartUpload
- PutObject
requestParameters:
bucketName:
- ${self:custom.S3FeedBucketName.${opt:stage}}
key:
- prefix: FEED
state:
- ENABLED
is there any option to add the EventBridge RuleName.
There is an option to create the EventBridge RuleName using the serverless-step-function level Serverless Framework: Plugins
stepFunctions:
validate: true
stateMachines:
FeedBusinessServiceStateMachine:
name: feed-business-service-sf-
events:
- eventBridge:
name: feed-trigger-reports-sf-eb
looking same option at the function level