aws sdk - How to create image from snapshot using aws sdk java -
we can create image existing snapshot using aws management console. however, if want same thing using aws sdk java - not find api supporting this. seems, can create image instance, not snapshot using sdk java shown below:
we can use withinstanceid(java.lang.string instanceid) method of createimagerequest class, there no supporting method snapshot id image creation. can please let me know how create image snapshot using sdk java?
you want use importimage
:
importimageresult importimage(importimagerequest importimagerequest) throws amazonserviceexception, amazonclientexception
import single or multi-volume disk images or ebs snapshots amazon machine image (ami).
Comments
Post a Comment