CostAllocationTag

class CostAllocationTag : KotlinCustomResource

Provides a CE Cost Allocation Tag.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.costexplorer.CostAllocationTag;
import com.pulumi.aws.costexplorer.CostAllocationTagArgs;
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 example = new CostAllocationTag("example", CostAllocationTagArgs.builder()
.status("Active")
.tagKey("example")
.build());
}
}

Import

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

$ pulumi import aws:costexplorer/costAllocationTag:CostAllocationTag example key

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

The status of a cost allocation tag. Valid values are Active and Inactive.

Link copied to clipboard
val tagKey: Output<String>

The key for the cost allocation tag.

Link copied to clipboard
val type: Output<String>

The type of cost allocation tag.

Link copied to clipboard
val urn: Output<String>