Skip to content

Resource: awsCeCostAllocationTag

Provides a CE Cost Allocation Tag.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.ceCostAllocationTag.CeCostAllocationTag(this, "example", {
  status: "Active",
  tagKey: "example",
});

Argument Reference

The following arguments are required:

  • tagKey - (Required) The key for the cost allocation tag.
  • status - (Required) The status of a cost allocation tag. Valid values are active and inactive.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The key for the cost allocation tag.
  • type - The type of cost allocation tag.

Import

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

$ terraform import aws_ce_cost_allocation_tag.example key