AWS Image builder - custom image source vmie

Hi! Can someone please help. Is it possible to do this type of image build via terraform - specifying base image and then vm import source from S3 bucket.
When i build this way using console - image source type is “vmie”.
How to do same import method using terraform? Thanks!