I'm building an app with Amplify where one of the functions generates PDF. I would like to save this PDF in S3 which is also created through Amplify. Accessing S3 from the front-end side is well documented but no mention for doing it from Lambda. In that Lambda function, I'm accessing DynamoDB without any problems so aws-sdk is configured.
I can configure the IAM role and bucket manually, but is there the Right Way of doing it with Amplify?