AWS Cost Explorer Cost and Usage Report
- Plugin type: input
- Resume supported: yes
- Cleanup supported: yes
- Guess supported: no
- access_key_id: AWS Access Key Id (integer, required)
- secret_access_key: AWS Secrete Access Key (string, default:
myvalue) - metrics: metrics of the report (
AmortizedCostBlendedCostNetAmortizedCostNetUnblendedCostNormalizedUsageAmountUnblendedCostUsageQuantity, default:UnblendedCost) - groups: grouping of costs by up to two different groups, either dimensions, tag keys, cost categories, or any two group by types (optional)
- type: valid values
DIMENSIONTAGCOST_CATEGORY(string, required) - key: valid values for the
DIMENSIONtype areAZINSTANCE_TYPELEGAL_ENTITY_NAMEINVOICING_ENTITYLINKED_ACCOUNTOPERATIONPLATFORMPURCHASE_TYPESERVICETENANCYRECORD_TYPEandUSAGE_TYPE(string, required)
- type: valid values
- start_date: start date of the report (string, required, format:
2020-01-01) - end_date: end date of the report (string, required, format:
2020-01-01)
in:
type: aws_cost_explorer
access_key_id: xxx
secret_access_key: yyy
metrics: UnblendedCost
groups:
- type: DIMENSION
key: USAGE_TYPE
- type: TAG
key: Environment
start_date: "2020-04-01"
end_date: "2020-04-20"$ ./gradlew gem # -t to watch change of files and rebuild continuously