ec2-confirm-product-instance PRODUCT_CODE -i INSTANCE_ID
Returns a boolean indicating if the instance with INSTANCE_ID has PRODUCT_CODE attached to it.
A table containing the following information is returned:
Product code.
Instance ID.
Boolean indicating if the product code is attached to the instance.
The instance owner's account id. Only returned if the product code is attached.
Errors are displayed on stderr.
$ ec2-confirm-product-instance 774F4FF8 -i i-10a64379 774F4FF8 i-10a64379 true
$
774F4FF8 i-10a64379 true
DescribeInstances
ec2-modify-image-attribute
Submit feedback about this site to: