For Amazon QuickSight, using the LineItemDescription is the most precise way to filter for specific charges or discounts in the AWS Cost and Usage Report (CUR). This approach is more reliable than using RecordType or LineItemType, especially for Enterprise Discount Program (EDP) discounts.
To implement this filter for QuickSight, you can use the following XML structure in your billing rules:
<BillingRule name="Pass 75% of EDP Discount for Quicksight"
adjustment="25"
type="percentDiscount">
<Product productName="ANY"
includeDataTransfer="true"
includeRIPurchases="true">
<lineItemDescription name="Enterprise Discount Program Discount for AmazonQuickSight"/>
</Product>
</BillingRule>
This configuration:
Targets the specific EDP discount for QuickSight using the exact LineItemDescription.
Applies a 25% adjustment, effectively passing 75% of the discount.
Includes data transfer and Reserved Instance purchases.