aws java sdk - How to specify AMI Name when creating image using ImportImage -


is possible specify ami name when creating image using importimage api? generated automatically "import-ami-abcd1234". give more reasonable name.

importimagerequest not have "name" parameter: http://docs.aws.amazon.com/awsjavasdk/latest/javadoc/com/amazonaws/services/ec2/model/importimagerequest.html

while createimagerequest creates ami instance have it.

createimagerequest createimagerequest = new createimagerequest(); createimagerequest.withinstanceid("i-xxxxxxxxxxxxxxxxx")     .withname("myaminame")     .withdescription("this ami"); 

or possible modify ami name after importimage ?

thanks in advance.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -