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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -