create_allocation
Create a cost allocation rule to group and assign cloud costs based on specified criteria like dimensions, labels, or tags. Use this tool to define new allocation rules for cost tracking and reporting.
Instructions
Use this when the user wants to create a new cost allocation rule. Ask the user to confirm the allocation parameters before executing. Do NOT use this for viewing existing allocations (use list_allocations) or labels (use create_label).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name of the allocation | |
| description | Yes | Description of the allocation's purpose | |
| rule | No | A single allocation rule that defines one grouping. Provide this for a single-rule allocation. Mutually exclusive with 'rules' | |
| rules | No | Ordered list of allocation rules for a group allocation. Must include at least two rules. Mutually exclusive with 'rule' | |
| unallocatedCosts | No | Custom label for values that do not fit into any allocation rule (required when using 'rules' for group allocations) |