A developer is building an event-driven application by using AWS Lambda and Amazon EventBridge. The Lambda function needs to push events to an EventBridge event bus. The developer uses an SDK to run the PutEvents EventBridge action and specifies no credentials in the code. After deploying the Lambda function, the developer notices that the function is failing and there are AccessDeniedException errors in the logs.
How should the developer resolve this issue?
examuserss
4 months, 1 week ago65703c1
11 months, 1 week agobe1dca8
1 year agoalbert_kuo
9 months, 1 week agoDeaconStJohn
1 year, 1 month agooutrageous7
1 year, 1 month agoKarBiswa
1 year, 1 month ago