CostCategorySplitChargeRule - AWS Billing and Cost Management

CostCategorySplitChargeRule

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

Contents

Method

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.

Type: String

Valid Values: FIXED | PROPORTIONAL | EVEN

Required: Yes

Source

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.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: Yes

Targets

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.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 500 items.

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: Yes

Parameters

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

Type: Array of CostCategorySplitChargeRuleParameter objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: