UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

58 lines (57 loc) 2.02 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * A billing view is a container of cost & usage metadata. */ export declare function getBillingView(args: GetBillingViewArgs, opts?: pulumi.InvokeOptions): Promise<GetBillingViewResult>; export interface GetBillingViewArgs { /** * The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view. */ arn: string; } export interface GetBillingViewResult { /** * The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view. */ readonly arn?: string; /** * The type of billing group. */ readonly billingViewType?: enums.billing.BillingViewType; /** * The time when the billing view was created. */ readonly createdAt?: number; /** * See [Expression](https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html) . Billing view only supports `LINKED_ACCOUNT` and `Tags` . */ readonly dataFilterExpression?: outputs.billing.DataFilterExpressionProperties; /** * The account owner of the billing view. */ readonly ownerAccountId?: string; /** * An array of strings that define the billing view's source. */ readonly sourceViews?: string[]; /** * An array of key-value pairs associated to the billing view being created. */ readonly tags?: outputs.Tag[]; /** * The time when the billing view was last updated. */ readonly updatedAt?: number; } /** * A billing view is a container of cost & usage metadata. */ export declare function getBillingViewOutput(args: GetBillingViewOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBillingViewResult>; export interface GetBillingViewOutputArgs { /** * The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view. */ arn: pulumi.Input<string>; }