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 (
AmortizedCost
BlendedCost
NetAmortizedCost
NetUnblendedCost
NormalizedUsageAmount
UnblendedCost
UsageQuantity
, 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
DIMENSION
TAG
COST_CATEGORY
(string, required) - key: valid values for the
DIMENSION
type areAZ
INSTANCE_TYPE
LEGAL_ENTITY_NAME
INVOICING_ENTITY
LINKED_ACCOUNT
OPERATION
PLATFORM
PURCHASE_TYPE
SERVICE
TENANCY
RECORD_TYPE
andUSAGE_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