class Aws::CostExplorer::Types::CostCategorySplitChargeRule

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

@note When making an API call, you may pass CostCategorySplitChargeRule

data as a hash:

    {
      source: "GenericString", # required
      targets: ["GenericString"], # required
      method: "FIXED", # required, accepts FIXED, PROPORTIONAL, EVEN
      parameters: [
        {
          type: "ALLOCATION_PERCENTAGES", # required, accepts ALLOCATION_PERCENTAGES
          values: ["GenericString"], # required
        },
      ],
    }

@!attribute [rw] 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.
@return [String]

@!attribute [rw] 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.
@return [Array<String>]

@!attribute [rw] 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.

&gt;`Even` - Allocates costs evenly across all targets.
@return [String]

@!attribute [rw] parameters

The parameters for a split charge method. This is only required for
the `FIXED` method.
@return [Array<Types::CostCategorySplitChargeRuleParameter>]

@see docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategorySplitChargeRule AWS API Documentation

Constants

SENSITIVE