import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing an AWS BCM Data Exports Export. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const current = aws.getCallerIdentity({}); * const currentGetPartition = aws.getPartition({}); * const test = new aws.bcmdata.Export("test", {"export": { * dataQueries: [{ * queryStatement: "SELECT identity_line_item_id, identity_time_interval, line_item_product_code,line_item_unblended_cost FROM COST_AND_USAGE_REPORT", * tableConfigurations: { * COST_AND_USAGE_REPORT: { * BILLING_VIEW_ARN: Promise.all([currentGetPartition, current]).then(([currentGetPartition, current]) => `arn:${currentGetPartition.partition}:billing::${current.accountId}:billingview/primary`), * TIME_GRANULARITY: "HOURLY", * INCLUDE_RESOURCES: "FALSE", * INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY: "FALSE", * INCLUDE_SPLIT_COST_ALLOCATION_DATA: "FALSE", * }, * }, * }], * destinationConfigurations: [{ * s3Destinations: [{ * s3OutputConfigurations: [{ * overwrite: "OVERWRITE_REPORT", * format: "TEXT_OR_CSV", * compression: "GZIP", * outputType: "CUSTOM", * }], * s3Bucket: testAwsS3Bucket.bucket, * s3Prefix: testAwsS3Bucket.bucketPrefix, * s3Region: testAwsS3Bucket.region, * }], * }], * refreshCadences: [{ * frequency: "SYNCHRONOUS", * }], * name: "testexample", * }}); * ``` * * ## Import * * ### Identity Schema * * #### Required * * - `arn` (String) ARN of the BCM Data Exports export. * * Using `pulumi import`, import BCM Data Exports Export using the export ARN. For example: * * ```sh * $ pulumi import aws:bcmdata/export:Export example arn:aws:bcm-data-exports:us-east-1:123456789012:export/CostUsageReport-9f1c75f3-f982-4d9a-b936-1e7ecab814b7 * ``` */ export declare class Export extends pulumi.CustomResource { /** * Get an existing Export 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?: ExportState, opts?: pulumi.CustomResourceOptions): Export; /** * Returns true if the given object is an instance of Export. 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 Export; /** * ARN for this export. * * `export[0].export_arn` - ARN for this export. */ readonly arn: pulumi.Output; /** * Details of the export, including data query, name, description, and destination configuration. See the `export` block below. */ readonly export: pulumi.Output; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; readonly timeouts: pulumi.Output; /** * Create a Export 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?: ExportArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Export resources. */ export interface ExportState { /** * ARN for this export. * * `export[0].export_arn` - ARN for this export. */ arn?: pulumi.Input; /** * Details of the export, including data query, name, description, and destination configuration. See the `export` block below. */ export?: pulumi.Input; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a Export resource. */ export interface ExportArgs { /** * Details of the export, including data query, name, description, and destination configuration. See the `export` block below. */ export?: pulumi.Input; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; } //# sourceMappingURL=export.d.ts.map