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
Post a Comment