First we’ll start with the filling. Strain the pineapple by pressing as much of the excess juice as you can from the pineapple. Mash any large bits of it with a fork if needed.
Then place the pineapple, spices, brown sugar, salt and coconut in a mixture saucepan over medium-high heat. Bring this to a boil and reduce the heat so the mixture simmers until thick, about 16-20 minutes, stirring continuously.
Remove from heat and cool.
In a medium bowl, stir together the flour, coconut flour, salt and baking powder – set this aside.
In an electric mixer, beat the butter, icing sugar, coconut cream and vanilla on high until light and fluffy, about 3-4 minutes. Then add the egg yolks, and beat on high for another minute.
Reduce the mixer speed to low and slowly add in the flour mixture. Mix until fully incorporated. Remove the dough and continue to knead it.
Form into a ball and wrap with plastic wrap and refrigerate for at least 1 hour.
Reduce the mixer speed to low and slowly add in the flour mixture. Mix until fully incorporated.
Remove the dough and continue to knead it. Form into a ball and wrap with plastic wrap and refrigerate for at least 1 hour.
Assembling the Cookies
When ready to bake, preheat the oven to 350F and line a baking tray with parchment paper. Form the pineapple filling into small ¾ inch balls and set aside.
Knead the cookie dough until pliable and form 1-1 ¼ inch balls. Flatten the ball into a disk and place a pineapple filling ball in the centre of the disc. Wrap the dough around the filling and ensure the dough fully encases the filling with no “seams”.
Form the dough into an oval shape, placing it on the baking tray and then flattening it slightly. Repeat for all the remaining dough and filling.
Prepare the egg wash by whisking together the yolks and coconut milk. Brush this over the tops of all the dough balls, and score the tops in a crisscross pattern with a knife.
Sprinkle the tops of the balls with sugar, and bake for 15-18 minutes until golden and the bottoms are lightly browned.
Remove from oven and stick some rosemary springs in one end of each of the buns to mimic whole pineapples.