A check that a Lambda function can write to a deployed DynamoDB table through the AWS SDK using its execution role is a…