import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog AWS CUR (Cost and Usage Report) configuration resource. This enables Datadog Cloud Cost Management to access your AWS billing data by configuring the connection to your AWS Cost and Usage Report. **Prerequisites**: An active Datadog AWS integration, existing AWS Cost and Usage Report, and proper S3 bucket permissions. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create new aws_cur_config resource * const foo = new datadog.AwsCurConfig("foo", { * accountId: "123456789123", * bucketName: "dd-cost-bucket", * bucketRegion: "us-east-1", * reportName: "dd-report-name", * reportPrefix: "dd-report-prefix", * accountFilters: [{ * includeNewAccounts: true, * excludedAccounts: [ * "123456789123", * "123456789143", * ], * }], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/awsCurConfig:AwsCurConfig aws_cur_report * ``` */ export declare class AwsCurConfig extends pulumi.CustomResource { /** * Get an existing AwsCurConfig resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AwsCurConfigState, opts?: pulumi.CustomResourceOptions): AwsCurConfig; /** * Returns true if the given object is an instance of AwsCurConfig. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AwsCurConfig; readonly accountFilters: pulumi.Output; /** * The AWS account ID of your billing/payer account. For AWS Organizations, this is typically the management account ID. */ readonly accountId: pulumi.Output; /** * The S3 bucket name where your AWS Cost and Usage Report files are stored. This bucket must have appropriate IAM permissions for Datadog access and should be in the same AWS account as the CUR report. */ readonly bucketName: pulumi.Output; /** * The AWS region where the S3 bucket containing your Cost and Usage Report is located (e.g., us-east-1, eu-west-1). */ readonly bucketRegion: pulumi.Output; /** * The timestamp when the AWS CUR configuration was created. */ readonly createdAt: pulumi.Output; /** * List of error messages if the AWS CUR configuration encountered any issues during setup or data processing. */ readonly errorMessages: pulumi.Output; /** * The exact name of your AWS Cost and Usage Report as configured in AWS Billing preferences. This must match the report name exactly as it appears in your AWS billing settings. */ readonly reportName: pulumi.Output; /** * The S3 key prefix where your Cost and Usage Report files are stored within the bucket (e.g., 'cur-reports/', 'billing/cur/'). */ readonly reportPrefix: pulumi.Output; /** * The current status of the AWS CUR configuration. */ readonly status: pulumi.Output; /** * The timestamp when the configuration status was last updated. */ readonly statusUpdatedAt: pulumi.Output; /** * The timestamp when the AWS CUR configuration was last modified. */ readonly updatedAt: pulumi.Output; /** * Create a AwsCurConfig resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AwsCurConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AwsCurConfig resources. */ export interface AwsCurConfigState { accountFilters?: pulumi.Input; /** * The AWS account ID of your billing/payer account. For AWS Organizations, this is typically the management account ID. */ accountId?: pulumi.Input; /** * The S3 bucket name where your AWS Cost and Usage Report files are stored. This bucket must have appropriate IAM permissions for Datadog access and should be in the same AWS account as the CUR report. */ bucketName?: pulumi.Input; /** * The AWS region where the S3 bucket containing your Cost and Usage Report is located (e.g., us-east-1, eu-west-1). */ bucketRegion?: pulumi.Input; /** * The timestamp when the AWS CUR configuration was created. */ createdAt?: pulumi.Input; /** * List of error messages if the AWS CUR configuration encountered any issues during setup or data processing. */ errorMessages?: pulumi.Input[]>; /** * The exact name of your AWS Cost and Usage Report as configured in AWS Billing preferences. This must match the report name exactly as it appears in your AWS billing settings. */ reportName?: pulumi.Input; /** * The S3 key prefix where your Cost and Usage Report files are stored within the bucket (e.g., 'cur-reports/', 'billing/cur/'). */ reportPrefix?: pulumi.Input; /** * The current status of the AWS CUR configuration. */ status?: pulumi.Input; /** * The timestamp when the configuration status was last updated. */ statusUpdatedAt?: pulumi.Input; /** * The timestamp when the AWS CUR configuration was last modified. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a AwsCurConfig resource. */ export interface AwsCurConfigArgs { accountFilters?: pulumi.Input; /** * The AWS account ID of your billing/payer account. For AWS Organizations, this is typically the management account ID. */ accountId: pulumi.Input; /** * The S3 bucket name where your AWS Cost and Usage Report files are stored. This bucket must have appropriate IAM permissions for Datadog access and should be in the same AWS account as the CUR report. */ bucketName: pulumi.Input; /** * The AWS region where the S3 bucket containing your Cost and Usage Report is located (e.g., us-east-1, eu-west-1). */ bucketRegion?: pulumi.Input; /** * The exact name of your AWS Cost and Usage Report as configured in AWS Billing preferences. This must match the report name exactly as it appears in your AWS billing settings. */ reportName: pulumi.Input; /** * The S3 key prefix where your Cost and Usage Report files are stored within the bucket (e.g., 'cur-reports/', 'billing/cur/'). */ reportPrefix: pulumi.Input; }