@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
52 lines • 1.75 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCostCategoryOutput = exports.getCostCategory = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Provides details about a specific CostExplorer Cost Category.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.costexplorer.getCostCategory({
* costCategoryArn: "costCategoryARN",
* });
* ```
*/
function getCostCategory(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:costexplorer/getCostCategory:getCostCategory", {
"costCategoryArn": args.costCategoryArn,
"tags": args.tags,
}, opts);
}
exports.getCostCategory = getCostCategory;
/**
* Provides details about a specific CostExplorer Cost Category.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.costexplorer.getCostCategory({
* costCategoryArn: "costCategoryARN",
* });
* ```
*/
function getCostCategoryOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:costexplorer/getCostCategory:getCostCategory", {
"costCategoryArn": args.costCategoryArn,
"tags": args.tags,
}, opts);
}
exports.getCostCategoryOutput = getCostCategoryOutput;
//# sourceMappingURL=getCostCategory.js.map