Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CostCategorySplitChargeRule

import type { CostCategorySplitChargeRule } from "https://aws-api.deno.dev/v0.3/services/costexplorer.ts?docs=full";

Use the split charge rule to split the cost of one Cost Category value across several other target values.

interface CostCategorySplitChargeRule {
Source: string;
Targets: string[];
}

§Properties

§

The method that's used to define how to split your source costs across your targets.

Proportional - Allocates charges across your targets based on the proportional weighted cost of each target.

Fixed - Allocates charges across your targets based on your defined allocation percentage.

Even - Allocates costs evenly across all targets.

§

The parameters for a split charge method. This is only required for the FIXED method.

§
Source: string
[src]

The Cost Category value that you want to split. That value can't be used as a source or a target in other split charge rules. To indicate uncategorized costs, you can use an empty string as the source.

§
Targets: string[]
[src]

The Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules.