aws logo
AWS Classic v5.41.0, May 15 23

aws.costexplorer.CostCategory

Explore with Pulumi AI

Provides a CE Cost Category.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = new Aws.CostExplorer.CostCategory("test", new()
    {
        Rules = new[]
        {
            new Aws.CostExplorer.Inputs.CostCategoryRuleArgs
            {
                Rule = new Aws.CostExplorer.Inputs.CostCategoryRuleRuleArgs
                {
                    Dimension = new Aws.CostExplorer.Inputs.CostCategoryRuleRuleDimensionArgs
                    {
                        Key = "LINKED_ACCOUNT_NAME",
                        MatchOptions = new[]
                        {
                            "ENDS_WITH",
                        },
                        Values = new[]
                        {
                            "-prod",
                        },
                    },
                },
                Value = "production",
            },
            new Aws.CostExplorer.Inputs.CostCategoryRuleArgs
            {
                Rule = new Aws.CostExplorer.Inputs.CostCategoryRuleRuleArgs
                {
                    Dimension = new Aws.CostExplorer.Inputs.CostCategoryRuleRuleDimensionArgs
                    {
                        Key = "LINKED_ACCOUNT_NAME",
                        MatchOptions = new[]
                        {
                            "ENDS_WITH",
                        },
                        Values = new[]
                        {
                            "-stg",
                        },
                    },
                },
                Value = "staging",
            },
            new Aws.CostExplorer.Inputs.CostCategoryRuleArgs
            {
                Rule = new Aws.CostExplorer.Inputs.CostCategoryRuleRuleArgs
                {
                    Dimension = new Aws.CostExplorer.Inputs.CostCategoryRuleRuleDimensionArgs
                    {
                        Key = "LINKED_ACCOUNT_NAME",
                        MatchOptions = new[]
                        {
                            "ENDS_WITH",
                        },
                        Values = new[]
                        {
                            "-dev",
                        },
                    },
                },
                Value = "testing",
            },
        },
        RuleVersion = "CostCategoryExpression.v1",
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/costexplorer"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := costexplorer.NewCostCategory(ctx, "test", &costexplorer.CostCategoryArgs{
			Rules: costexplorer.CostCategoryRuleArray{
				&costexplorer.CostCategoryRuleArgs{
					Rule: &costexplorer.CostCategoryRuleRuleArgs{
						Dimension: &costexplorer.CostCategoryRuleRuleDimensionArgs{
							Key: pulumi.String("LINKED_ACCOUNT_NAME"),
							MatchOptions: pulumi.StringArray{
								pulumi.String("ENDS_WITH"),
							},
							Values: pulumi.StringArray{
								pulumi.String("-prod"),
							},
						},
					},
					Value: pulumi.String("production"),
				},
				&costexplorer.CostCategoryRuleArgs{
					Rule: &costexplorer.CostCategoryRuleRuleArgs{
						Dimension: &costexplorer.CostCategoryRuleRuleDimensionArgs{
							Key: pulumi.String("LINKED_ACCOUNT_NAME"),
							MatchOptions: pulumi.StringArray{
								pulumi.String("ENDS_WITH"),
							},
							Values: pulumi.StringArray{
								pulumi.String("-stg"),
							},
						},
					},
					Value: pulumi.String("staging"),
				},
				&costexplorer.CostCategoryRuleArgs{
					Rule: &costexplorer.CostCategoryRuleRuleArgs{
						Dimension: &costexplorer.CostCategoryRuleRuleDimensionArgs{
							Key: pulumi.String("LINKED_ACCOUNT_NAME"),
							MatchOptions: pulumi.StringArray{
								pulumi.String("ENDS_WITH"),
							},
							Values: pulumi.StringArray{
								pulumi.String("-dev"),
							},
						},
					},
					Value: pulumi.String("testing"),
				},
			},
			RuleVersion: pulumi.String("CostCategoryExpression.v1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.costexplorer.CostCategory;
import com.pulumi.aws.costexplorer.CostCategoryArgs;
import com.pulumi.aws.costexplorer.inputs.CostCategoryRuleArgs;
import com.pulumi.aws.costexplorer.inputs.CostCategoryRuleRuleArgs;
import com.pulumi.aws.costexplorer.inputs.CostCategoryRuleRuleDimensionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new CostCategory("test", CostCategoryArgs.builder()        
            .rules(            
                CostCategoryRuleArgs.builder()
                    .rule(CostCategoryRuleRuleArgs.builder()
                        .dimension(CostCategoryRuleRuleDimensionArgs.builder()
                            .key("LINKED_ACCOUNT_NAME")
                            .matchOptions("ENDS_WITH")
                            .values("-prod")
                            .build())
                        .build())
                    .value("production")
                    .build(),
                CostCategoryRuleArgs.builder()
                    .rule(CostCategoryRuleRuleArgs.builder()
                        .dimension(CostCategoryRuleRuleDimensionArgs.builder()
                            .key("LINKED_ACCOUNT_NAME")
                            .matchOptions("ENDS_WITH")
                            .values("-stg")
                            .build())
                        .build())
                    .value("staging")
                    .build(),
                CostCategoryRuleArgs.builder()
                    .rule(CostCategoryRuleRuleArgs.builder()
                        .dimension(CostCategoryRuleRuleDimensionArgs.builder()
                            .key("LINKED_ACCOUNT_NAME")
                            .matchOptions("ENDS_WITH")
                            .values("-dev")
                            .build())
                        .build())
                    .value("testing")
                    .build())
            .ruleVersion("CostCategoryExpression.v1")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

test = aws.costexplorer.CostCategory("test",
    rules=[
        aws.costexplorer.CostCategoryRuleArgs(
            rule=aws.costexplorer.CostCategoryRuleRuleArgs(
                dimension=aws.costexplorer.CostCategoryRuleRuleDimensionArgs(
                    key="LINKED_ACCOUNT_NAME",
                    match_options=["ENDS_WITH"],
                    values=["-prod"],
                ),
            ),
            value="production",
        ),
        aws.costexplorer.CostCategoryRuleArgs(
            rule=aws.costexplorer.CostCategoryRuleRuleArgs(
                dimension=aws.costexplorer.CostCategoryRuleRuleDimensionArgs(
                    key="LINKED_ACCOUNT_NAME",
                    match_options=["ENDS_WITH"],
                    values=["-stg"],
                ),
            ),
            value="staging",
        ),
        aws.costexplorer.CostCategoryRuleArgs(
            rule=aws.costexplorer.CostCategoryRuleRuleArgs(
                dimension=aws.costexplorer.CostCategoryRuleRuleDimensionArgs(
                    key="LINKED_ACCOUNT_NAME",
                    match_options=["ENDS_WITH"],
                    values=["-dev"],
                ),
            ),
            value="testing",
        ),
    ],
    rule_version="CostCategoryExpression.v1")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.costexplorer.CostCategory("test", {
    rules: [
        {
            rule: {
                dimension: {
                    key: "LINKED_ACCOUNT_NAME",
                    matchOptions: ["ENDS_WITH"],
                    values: ["-prod"],
                },
            },
            value: "production",
        },
        {
            rule: {
                dimension: {
                    key: "LINKED_ACCOUNT_NAME",
                    matchOptions: ["ENDS_WITH"],
                    values: ["-stg"],
                },
            },
            value: "staging",
        },
        {
            rule: {
                dimension: {
                    key: "LINKED_ACCOUNT_NAME",
                    matchOptions: ["ENDS_WITH"],
                    values: ["-dev"],
                },
            },
            value: "testing",
        },
    ],
    ruleVersion: "CostCategoryExpression.v1",
});
resources:
  test:
    type: aws:costexplorer:CostCategory
    properties:
      rules:
        - rule:
            dimension:
              key: LINKED_ACCOUNT_NAME
              matchOptions:
                - ENDS_WITH
              values:
                - -prod
          value: production
        - rule:
            dimension:
              key: LINKED_ACCOUNT_NAME
              matchOptions:
                - ENDS_WITH
              values:
                - -stg
          value: staging
        - rule:
            dimension:
              key: LINKED_ACCOUNT_NAME
              matchOptions:
                - ENDS_WITH
              values:
                - -dev
          value: testing
      ruleVersion: CostCategoryExpression.v1

Create CostCategory Resource

new CostCategory(name: string, args: CostCategoryArgs, opts?: CustomResourceOptions);
@overload
def CostCategory(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 default_value: Optional[str] = None,
                 effective_start: Optional[str] = None,
                 name: Optional[str] = None,
                 rule_version: Optional[str] = None,
                 rules: Optional[Sequence[CostCategoryRuleArgs]] = None,
                 split_charge_rules: Optional[Sequence[CostCategorySplitChargeRuleArgs]] = None,
                 tags: Optional[Mapping[str, str]] = None)
@overload
def CostCategory(resource_name: str,
                 args: CostCategoryArgs,
                 opts: Optional[ResourceOptions] = None)
func NewCostCategory(ctx *Context, name string, args CostCategoryArgs, opts ...ResourceOption) (*CostCategory, error)
public CostCategory(string name, CostCategoryArgs args, CustomResourceOptions? opts = null)
public CostCategory(String name, CostCategoryArgs args)
public CostCategory(String name, CostCategoryArgs args, CustomResourceOptions options)
type: aws:costexplorer:CostCategory
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CostCategoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CostCategoryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CostCategoryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CostCategoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CostCategoryArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CostCategory Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CostCategory resource accepts the following input properties:

RuleVersion string

Rule schema version in this particular Cost Category.

Rules List<CostCategoryRuleArgs>

Configuration block for the Cost Category rules used to categorize costs. See below.

DefaultValue string

Default value for the cost category.

EffectiveStart string

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

Name string

Unique name for the Cost Category.

SplitChargeRules List<CostCategorySplitChargeRuleArgs>

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

Tags Dictionary<string, string>

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

RuleVersion string

Rule schema version in this particular Cost Category.

Rules []CostCategoryRuleArgs

Configuration block for the Cost Category rules used to categorize costs. See below.

DefaultValue string

Default value for the cost category.

EffectiveStart string

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

Name string

Unique name for the Cost Category.

SplitChargeRules []CostCategorySplitChargeRuleArgs

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

Tags map[string]string

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

ruleVersion String

Rule schema version in this particular Cost Category.

rules List<CostCategoryRuleArgs>

Configuration block for the Cost Category rules used to categorize costs. See below.

defaultValue String

Default value for the cost category.

effectiveStart String

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

name String

Unique name for the Cost Category.

splitChargeRules List<CostCategorySplitChargeRuleArgs>

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

tags Map<String,String>

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

ruleVersion string

Rule schema version in this particular Cost Category.

rules CostCategoryRuleArgs[]

Configuration block for the Cost Category rules used to categorize costs. See below.

defaultValue string

Default value for the cost category.

effectiveStart string

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

name string

Unique name for the Cost Category.

splitChargeRules CostCategorySplitChargeRuleArgs[]

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

tags {[key: string]: string}

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

rule_version str

Rule schema version in this particular Cost Category.

rules Sequence[CostCategoryRuleArgs]

Configuration block for the Cost Category rules used to categorize costs. See below.

default_value str

Default value for the cost category.

effective_start str

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

name str

Unique name for the Cost Category.

split_charge_rules Sequence[CostCategorySplitChargeRuleArgs]

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

tags Mapping[str, str]

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

ruleVersion String

Rule schema version in this particular Cost Category.

rules List<Property Map>

Configuration block for the Cost Category rules used to categorize costs. See below.

defaultValue String

Default value for the cost category.

effectiveStart String

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

name String

Unique name for the Cost Category.

splitChargeRules List<Property Map>

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

tags Map<String>

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the CostCategory resource produces the following output properties:

Arn string

ARN of the cost category.

EffectiveEnd string

Effective end data of your Cost Category.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Arn string

ARN of the cost category.

EffectiveEnd string

Effective end data of your Cost Category.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

ARN of the cost category.

effectiveEnd String

Effective end data of your Cost Category.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn string

ARN of the cost category.

effectiveEnd string

Effective end data of your Cost Category.

id string

The provider-assigned unique ID for this managed resource.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn str

ARN of the cost category.

effective_end str

Effective end data of your Cost Category.

id str

The provider-assigned unique ID for this managed resource.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

ARN of the cost category.

effectiveEnd String

Effective end data of your Cost Category.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Look up Existing CostCategory Resource

Get an existing CostCategory resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: CostCategoryState, opts?: CustomResourceOptions): CostCategory
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        default_value: Optional[str] = None,
        effective_end: Optional[str] = None,
        effective_start: Optional[str] = None,
        name: Optional[str] = None,
        rule_version: Optional[str] = None,
        rules: Optional[Sequence[CostCategoryRuleArgs]] = None,
        split_charge_rules: Optional[Sequence[CostCategorySplitChargeRuleArgs]] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> CostCategory
func GetCostCategory(ctx *Context, name string, id IDInput, state *CostCategoryState, opts ...ResourceOption) (*CostCategory, error)
public static CostCategory Get(string name, Input<string> id, CostCategoryState? state, CustomResourceOptions? opts = null)
public static CostCategory get(String name, Output<String> id, CostCategoryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

ARN of the cost category.

DefaultValue string

Default value for the cost category.

EffectiveEnd string

Effective end data of your Cost Category.

EffectiveStart string

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

Name string

Unique name for the Cost Category.

RuleVersion string

Rule schema version in this particular Cost Category.

Rules List<CostCategoryRuleArgs>

Configuration block for the Cost Category rules used to categorize costs. See below.

SplitChargeRules List<CostCategorySplitChargeRuleArgs>

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

Tags Dictionary<string, string>

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Arn string

ARN of the cost category.

DefaultValue string

Default value for the cost category.

EffectiveEnd string

Effective end data of your Cost Category.

EffectiveStart string

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

Name string

Unique name for the Cost Category.

RuleVersion string

Rule schema version in this particular Cost Category.

Rules []CostCategoryRuleArgs

Configuration block for the Cost Category rules used to categorize costs. See below.

SplitChargeRules []CostCategorySplitChargeRuleArgs

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

Tags map[string]string

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

ARN of the cost category.

defaultValue String

Default value for the cost category.

effectiveEnd String

Effective end data of your Cost Category.

effectiveStart String

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

name String

Unique name for the Cost Category.

ruleVersion String

Rule schema version in this particular Cost Category.

rules List<CostCategoryRuleArgs>

Configuration block for the Cost Category rules used to categorize costs. See below.

splitChargeRules List<CostCategorySplitChargeRuleArgs>

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

tags Map<String,String>

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn string

ARN of the cost category.

defaultValue string

Default value for the cost category.

effectiveEnd string

Effective end data of your Cost Category.

effectiveStart string

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

name string

Unique name for the Cost Category.

ruleVersion string

Rule schema version in this particular Cost Category.

rules CostCategoryRuleArgs[]

Configuration block for the Cost Category rules used to categorize costs. See below.

splitChargeRules CostCategorySplitChargeRuleArgs[]

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

tags {[key: string]: string}

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn str

ARN of the cost category.

default_value str

Default value for the cost category.

effective_end str

Effective end data of your Cost Category.

effective_start str

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

name str

Unique name for the Cost Category.

rule_version str

Rule schema version in this particular Cost Category.

rules Sequence[CostCategoryRuleArgs]

Configuration block for the Cost Category rules used to categorize costs. See below.

split_charge_rules Sequence[CostCategorySplitChargeRuleArgs]

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

tags Mapping[str, str]

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

ARN of the cost category.

defaultValue String

Default value for the cost category.

effectiveEnd String

Effective end data of your Cost Category.

effectiveStart String

The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example 2022-11-01T00:00:00Z.

name String

Unique name for the Cost Category.

ruleVersion String

Rule schema version in this particular Cost Category.

rules List<Property Map>

Configuration block for the Cost Category rules used to categorize costs. See below.

splitChargeRules List<Property Map>

Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.

tags Map<String>

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Supporting Types

CostCategoryRule

InheritedValue CostCategoryRuleInheritedValue

Configuration block for the value the line item is categorized as if the line item contains the matched dimension. See below.

Rule CostCategoryRuleRule

Configuration block for the Expression object used to categorize costs. See below.

Type string

You can define the CostCategoryRule rule type as either REGULAR or INHERITED_VALUE.

Value string

Default value for the cost category.

InheritedValue CostCategoryRuleInheritedValue

Configuration block for the value the line item is categorized as if the line item contains the matched dimension. See below.

Rule CostCategoryRuleRule

Configuration block for the Expression object used to categorize costs. See below.

Type string

You can define the CostCategoryRule rule type as either REGULAR or INHERITED_VALUE.

Value string

Default value for the cost category.

inheritedValue CostCategoryRuleInheritedValue

Configuration block for the value the line item is categorized as if the line item contains the matched dimension. See below.

rule CostCategoryRuleRule

Configuration block for the Expression object used to categorize costs. See below.

type String

You can define the CostCategoryRule rule type as either REGULAR or INHERITED_VALUE.

value String

Default value for the cost category.

inheritedValue CostCategoryRuleInheritedValue

Configuration block for the value the line item is categorized as if the line item contains the matched dimension. See below.

rule CostCategoryRuleRule

Configuration block for the Expression object used to categorize costs. See below.

type string

You can define the CostCategoryRule rule type as either REGULAR or INHERITED_VALUE.

value string

Default value for the cost category.

inherited_value CostCategoryRuleInheritedValue

Configuration block for the value the line item is categorized as if the line item contains the matched dimension. See below.

rule CostCategoryRuleRule

Configuration block for the Expression object used to categorize costs. See below.

type str

You can define the CostCategoryRule rule type as either REGULAR or INHERITED_VALUE.

value str

Default value for the cost category.

inheritedValue Property Map

Configuration block for the value the line item is categorized as if the line item contains the matched dimension. See below.

rule Property Map

Configuration block for the Expression object used to categorize costs. See below.

type String

You can define the CostCategoryRule rule type as either REGULAR or INHERITED_VALUE.

value String

Default value for the cost category.

CostCategoryRuleInheritedValue

DimensionKey string

Key to extract cost category values.

DimensionName string

Name of the dimension that's used to group costs. If you specify LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you specify TAG, the cost category value will be based on the value of the specified tag key. Valid values are LINKED_ACCOUNT_NAME, TAG

DimensionKey string

Key to extract cost category values.

DimensionName string

Name of the dimension that's used to group costs. If you specify LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you specify TAG, the cost category value will be based on the value of the specified tag key. Valid values are LINKED_ACCOUNT_NAME, TAG

dimensionKey String

Key to extract cost category values.

dimensionName String

Name of the dimension that's used to group costs. If you specify LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you specify TAG, the cost category value will be based on the value of the specified tag key. Valid values are LINKED_ACCOUNT_NAME, TAG

dimensionKey string

Key to extract cost category values.

dimensionName string

Name of the dimension that's used to group costs. If you specify LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you specify TAG, the cost category value will be based on the value of the specified tag key. Valid values are LINKED_ACCOUNT_NAME, TAG

dimension_key str

Key to extract cost category values.

dimension_name str

Name of the dimension that's used to group costs. If you specify LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you specify TAG, the cost category value will be based on the value of the specified tag key. Valid values are LINKED_ACCOUNT_NAME, TAG

dimensionKey String

Key to extract cost category values.

dimensionName String

Name of the dimension that's used to group costs. If you specify LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you specify TAG, the cost category value will be based on the value of the specified tag key. Valid values are LINKED_ACCOUNT_NAME, TAG

CostCategoryRuleRule

Ands List<CostCategoryRuleRuleAnd>

Return results that match both Dimension objects.

CostCategory CostCategoryRuleRuleCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

Dimension CostCategoryRuleRuleDimension

Configuration block for the specific Dimension to use for Expression. See below.

Not CostCategoryRuleRuleNot

Return results that match both Dimension object.

Ors List<CostCategoryRuleRuleOr>

Return results that match both Dimension object.

Tags CostCategoryRuleRuleTags

Configuration block for the specific Tag to use for Expression. See below.

Ands []CostCategoryRuleRuleAnd

Return results that match both Dimension objects.

CostCategory CostCategoryRuleRuleCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

Dimension CostCategoryRuleRuleDimension

Configuration block for the specific Dimension to use for Expression. See below.

Not CostCategoryRuleRuleNot

Return results that match both Dimension object.

Ors []CostCategoryRuleRuleOr

Return results that match both Dimension object.

Tags CostCategoryRuleRuleTags

Configuration block for the specific Tag to use for Expression. See below.

ands List<CostCategoryRuleRuleAnd>

Return results that match both Dimension objects.

costCategory CostCategoryRuleRuleCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleDimension

Configuration block for the specific Dimension to use for Expression. See below.

not CostCategoryRuleRuleNot

Return results that match both Dimension object.

ors List<CostCategoryRuleRuleOr>

Return results that match both Dimension object.

tags CostCategoryRuleRuleTags

Configuration block for the specific Tag to use for Expression. See below.

ands CostCategoryRuleRuleAnd[]

Return results that match both Dimension objects.

costCategory CostCategoryRuleRuleCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleDimension

Configuration block for the specific Dimension to use for Expression. See below.

not CostCategoryRuleRuleNot

Return results that match both Dimension object.

ors CostCategoryRuleRuleOr[]

Return results that match both Dimension object.

tags CostCategoryRuleRuleTags

Configuration block for the specific Tag to use for Expression. See below.

ands Sequence[CostCategoryRuleRuleAnd]

Return results that match both Dimension objects.

cost_category CostCategoryRuleRuleCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleDimension

Configuration block for the specific Dimension to use for Expression. See below.

not_ CostCategoryRuleRuleNot

Return results that match both Dimension object.

ors Sequence[CostCategoryRuleRuleOr]

Return results that match both Dimension object.

tags CostCategoryRuleRuleTags

Configuration block for the specific Tag to use for Expression. See below.

ands List<Property Map>

Return results that match both Dimension objects.

costCategory Property Map

Configuration block for the filter that's based on CostCategory values. See below.

dimension Property Map

Configuration block for the specific Dimension to use for Expression. See below.

not Property Map

Return results that match both Dimension object.

ors List<Property Map>

Return results that match both Dimension object.

tags Property Map

Configuration block for the specific Tag to use for Expression. See below.

CostCategoryRuleRuleAnd

CostCategory CostCategoryRuleRuleAndCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

Dimension CostCategoryRuleRuleAndDimension

Configuration block for the specific Dimension to use for Expression. See below.

Tags CostCategoryRuleRuleAndTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

CostCategory CostCategoryRuleRuleAndCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

Dimension CostCategoryRuleRuleAndDimension

Configuration block for the specific Dimension to use for Expression. See below.

Tags CostCategoryRuleRuleAndTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

costCategory CostCategoryRuleRuleAndCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleAndDimension

Configuration block for the specific Dimension to use for Expression. See below.

tags CostCategoryRuleRuleAndTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

costCategory CostCategoryRuleRuleAndCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleAndDimension

Configuration block for the specific Dimension to use for Expression. See below.

tags CostCategoryRuleRuleAndTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

cost_category CostCategoryRuleRuleAndCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleAndDimension

Configuration block for the specific Dimension to use for Expression. See below.

tags CostCategoryRuleRuleAndTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

costCategory Property Map

Configuration block for the filter that's based on CostCategory values. See below.

dimension Property Map

Configuration block for the specific Dimension to use for Expression. See below.

tags Property Map

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

CostCategoryRuleRuleAndCostCategory

Key string

Unique name of the Cost Category.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Unique name of the Cost Category.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Unique name of the Cost Category.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Unique name of the Cost Category.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleAndDimension

Key string

Unique name of the Cost Category.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Unique name of the Cost Category.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Unique name of the Cost Category.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Unique name of the Cost Category.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleAndTags

Key string

Key for the tag.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Key for the tag.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Key for the tag.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Key for the tag.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Key for the tag.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Key for the tag.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleCostCategory

Key string

Unique name of the Cost Category.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Unique name of the Cost Category.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Unique name of the Cost Category.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Unique name of the Cost Category.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleDimension

Key string

Unique name of the Cost Category.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Unique name of the Cost Category.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Unique name of the Cost Category.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Unique name of the Cost Category.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleNot

CostCategory CostCategoryRuleRuleNotCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

Dimension CostCategoryRuleRuleNotDimension

Configuration block for the specific Dimension to use for Expression. See below.

Tags CostCategoryRuleRuleNotTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

CostCategory CostCategoryRuleRuleNotCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

Dimension CostCategoryRuleRuleNotDimension

Configuration block for the specific Dimension to use for Expression. See below.

Tags CostCategoryRuleRuleNotTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

costCategory CostCategoryRuleRuleNotCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleNotDimension

Configuration block for the specific Dimension to use for Expression. See below.

tags CostCategoryRuleRuleNotTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

costCategory CostCategoryRuleRuleNotCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleNotDimension

Configuration block for the specific Dimension to use for Expression. See below.

tags CostCategoryRuleRuleNotTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

cost_category CostCategoryRuleRuleNotCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleNotDimension

Configuration block for the specific Dimension to use for Expression. See below.

tags CostCategoryRuleRuleNotTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

costCategory Property Map

Configuration block for the filter that's based on CostCategory values. See below.

dimension Property Map

Configuration block for the specific Dimension to use for Expression. See below.

tags Property Map

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

CostCategoryRuleRuleNotCostCategory

Key string

Unique name of the Cost Category.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Unique name of the Cost Category.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Unique name of the Cost Category.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Unique name of the Cost Category.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleNotDimension

Key string

Unique name of the Cost Category.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Unique name of the Cost Category.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Unique name of the Cost Category.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Unique name of the Cost Category.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleNotTags

Key string

Key for the tag.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Key for the tag.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Key for the tag.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Key for the tag.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Key for the tag.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Key for the tag.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleOr

CostCategory CostCategoryRuleRuleOrCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

Dimension CostCategoryRuleRuleOrDimension

Configuration block for the specific Dimension to use for Expression. See below.

Tags CostCategoryRuleRuleOrTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

CostCategory CostCategoryRuleRuleOrCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

Dimension CostCategoryRuleRuleOrDimension

Configuration block for the specific Dimension to use for Expression. See below.

Tags CostCategoryRuleRuleOrTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

costCategory CostCategoryRuleRuleOrCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleOrDimension

Configuration block for the specific Dimension to use for Expression. See below.

tags CostCategoryRuleRuleOrTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

costCategory CostCategoryRuleRuleOrCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleOrDimension

Configuration block for the specific Dimension to use for Expression. See below.

tags CostCategoryRuleRuleOrTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

cost_category CostCategoryRuleRuleOrCostCategory

Configuration block for the filter that's based on CostCategory values. See below.

dimension CostCategoryRuleRuleOrDimension

Configuration block for the specific Dimension to use for Expression. See below.

tags CostCategoryRuleRuleOrTags

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

costCategory Property Map

Configuration block for the filter that's based on CostCategory values. See below.

dimension Property Map

Configuration block for the specific Dimension to use for Expression. See below.

tags Property Map

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

CostCategoryRuleRuleOrCostCategory

Key string

Unique name of the Cost Category.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Unique name of the Cost Category.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Unique name of the Cost Category.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Unique name of the Cost Category.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleOrDimension

Key string

Unique name of the Cost Category.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Unique name of the Cost Category.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Unique name of the Cost Category.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Unique name of the Cost Category.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Unique name of the Cost Category.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleOrTags

Key string

Key for the tag.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Key for the tag.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Key for the tag.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Key for the tag.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Key for the tag.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Key for the tag.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategoryRuleRuleTags

Key string

Key for the tag.

MatchOptions List<string>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values List<string>

Specific value of the Cost Category.

Key string

Key for the tag.

MatchOptions []string

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

Values []string

Specific value of the Cost Category.

key String

Key for the tag.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

key string

Key for the tag.

matchOptions string[]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values string[]

Specific value of the Cost Category.

key str

Key for the tag.

match_options Sequence[str]

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values Sequence[str]

Specific value of the Cost Category.

key String

Key for the tag.

matchOptions List<String>

Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. Valid values are: EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE.

values List<String>

Specific value of the Cost Category.

CostCategorySplitChargeRule

Method string

Method that's used to define how to split your source costs across your targets. Valid values are FIXED, PROPORTIONAL, EVEN

Source string

Cost Category value that you want to split.

Targets List<string>

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

Parameters List<CostCategorySplitChargeRuleParameter>

Configuration block for the parameters for a split charge method. This is only required for the FIXED method. See below.

Method string

Method that's used to define how to split your source costs across your targets. Valid values are FIXED, PROPORTIONAL, EVEN

Source string

Cost Category value that you want to split.

Targets []string

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

Parameters []CostCategorySplitChargeRuleParameter

Configuration block for the parameters for a split charge method. This is only required for the FIXED method. See below.

method String

Method that's used to define how to split your source costs across your targets. Valid values are FIXED, PROPORTIONAL, EVEN

source String

Cost Category value that you want to split.

targets List<String>

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

parameters List<CostCategorySplitChargeRuleParameter>

Configuration block for the parameters for a split charge method. This is only required for the FIXED method. See below.

method string

Method that's used to define how to split your source costs across your targets. Valid values are FIXED, PROPORTIONAL, EVEN

source string

Cost Category value that you want to split.

targets string[]

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

parameters CostCategorySplitChargeRuleParameter[]

Configuration block for the parameters for a split charge method. This is only required for the FIXED method. See below.

method str

Method that's used to define how to split your source costs across your targets. Valid values are FIXED, PROPORTIONAL, EVEN

source str

Cost Category value that you want to split.

targets Sequence[str]

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

parameters Sequence[CostCategorySplitChargeRuleParameter]

Configuration block for the parameters for a split charge method. This is only required for the FIXED method. See below.

method String

Method that's used to define how to split your source costs across your targets. Valid values are FIXED, PROPORTIONAL, EVEN

source String

Cost Category value that you want to split.

targets List<String>

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

parameters List<Property Map>

Configuration block for the parameters for a split charge method. This is only required for the FIXED method. See below.

CostCategorySplitChargeRuleParameter

Type string

Parameter type.

Values List<string>

Parameter values.

Type string

Parameter type.

Values []string

Parameter values.

type String

Parameter type.

values List<String>

Parameter values.

type string

Parameter type.

values string[]

Parameter values.

type str

Parameter type.

values Sequence[str]

Parameter values.

type String

Parameter type.

values List<String>

Parameter values.

Import

aws_ce_cost_category can be imported using the id, e.g.

 $ pulumi import aws:costexplorer/costCategory:CostCategory example costCategoryARN

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.