aws ec2 confirm-product-instance
Determines whether a product code is associated with an instance. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response.--instance-idThe ID of the instance.--product-codeThe product code.