:doc:`Image <index>` / Attribute / usage_operation

***************
usage_operation
***************



.. py:attribute:: EC2.Image.usage_operation

  

  - *(string) --* 

    The operation of the Amazon EC2 instance and the billing code that is associated with the AMI. ``usageOperation`` corresponds to the `lineitem/Operation <https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation>`__ column on your Amazon Web Services Cost and Usage Report and in the `Amazon Web Services Price List API <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html>`__. You can view these fields on the **Instances** or **AMIs** pages in the Amazon EC2 console, or in the responses that are returned by the `DescribeImages <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html>`__ command in the Amazon EC2 API, or the `describe-images <https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html>`__ command in the CLI.

    