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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -