CostAllocationTagArgs

data class CostAllocationTagArgs(val status: Output<String>? = null, val tagKey: Output<String>? = null) : ConvertibleToJava<CostAllocationTagArgs>

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

Constructors

Link copied to clipboard
constructor(status: Output<String>? = null, tagKey: Output<String>? = null)

Properties

Link copied to clipboard
val status: Output<String>? = null

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

Link copied to clipboard
val tagKey: Output<String>? = null

The key for the cost allocation tag.

Functions

Link copied to clipboard
open override fun toJava(): CostAllocationTagArgs