Try AWS Native preview for resources not in the classic version.
aws.bcmdata.Export
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Resource for managing an AWS BCM Data Exports Export.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.bcmdata.Export("test", {"export": {
name: "testexample",
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: {
TIME_GRANULARITY: "HOURLY",
INCLUDE_RESOURCES: "FALSE",
INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY: "FALSE",
INCLUDE_SPLIT_COST_ALLOCATION_DATA: "FALSE",
},
},
}],
destinationConfigurations: [{
s3Destinations: [{
s3Bucket: testAwsS3Bucket.bucket,
s3Prefix: testAwsS3Bucket.bucketPrefix,
s3Region: testAwsS3Bucket.region,
s3OutputConfigurations: [{
overwrite: "OVERWRITE_REPORT",
format: "TEXT_OR_CSV",
compression: "GZIP",
outputType: "CUSTOM",
}],
}],
}],
refreshCadences: [{
frequency: "SYNCHRONOUS",
}],
}});
import pulumi
import pulumi_aws as aws
test = aws.bcmdata.Export("test", export={
"name": "testexample",
"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": {
"TIME_GRANULARITY": "HOURLY",
"INCLUDE_RESOURCES": "FALSE",
"INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY": "FALSE",
"INCLUDE_SPLIT_COST_ALLOCATION_DATA": "FALSE",
},
},
}],
"destinationConfigurations": [{
"s3Destinations": [{
"s3Bucket": test_aws_s3_bucket["bucket"],
"s3Prefix": test_aws_s3_bucket["bucketPrefix"],
"s3Region": test_aws_s3_bucket["region"],
"s3OutputConfigurations": [{
"overwrite": "OVERWRITE_REPORT",
"format": "TEXT_OR_CSV",
"compression": "GZIP",
"outputType": "CUSTOM",
}],
}],
}],
"refreshCadences": [{
"frequency": "SYNCHRONOUS",
}],
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/bcmdata"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bcmdata.NewExport(ctx, "test", &bcmdata.ExportArgs{
Export: &bcmdata.ExportExportArgs{
Name: pulumi.String("testexample"),
DataQueries: bcmdata.ExportExportDataQueryArray{
&bcmdata.ExportExportDataQueryArgs{
QueryStatement: pulumi.String("SELECT identity_line_item_id, identity_time_interval, line_item_product_code,line_item_unblended_cost FROM COST_AND_USAGE_REPORT"),
TableConfigurations: pulumi.MapMap{
"COST_AND_USAGE_REPORT": pulumi.Map{
"TIME_GRANULARITY": pulumi.Any("HOURLY"),
"INCLUDE_RESOURCES": pulumi.Any("FALSE"),
"INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY": pulumi.Any("FALSE"),
"INCLUDE_SPLIT_COST_ALLOCATION_DATA": pulumi.Any("FALSE"),
},
},
},
},
DestinationConfigurations: bcmdata.ExportExportDestinationConfigurationArray{
&bcmdata.ExportExportDestinationConfigurationArgs{
S3Destinations: bcmdata.ExportExportDestinationConfigurationS3DestinationArray{
&bcmdata.ExportExportDestinationConfigurationS3DestinationArgs{
S3Bucket: pulumi.Any(testAwsS3Bucket.Bucket),
S3Prefix: pulumi.Any(testAwsS3Bucket.BucketPrefix),
S3Region: pulumi.Any(testAwsS3Bucket.Region),
S3OutputConfigurations: bcmdata.ExportExportDestinationConfigurationS3DestinationS3OutputConfigurationArray{
&bcmdata.ExportExportDestinationConfigurationS3DestinationS3OutputConfigurationArgs{
Overwrite: pulumi.String("OVERWRITE_REPORT"),
Format: pulumi.String("TEXT_OR_CSV"),
Compression: pulumi.String("GZIP"),
OutputType: pulumi.String("CUSTOM"),
},
},
},
},
},
},
RefreshCadences: bcmdata.ExportExportRefreshCadenceArray{
&bcmdata.ExportExportRefreshCadenceArgs{
Frequency: pulumi.String("SYNCHRONOUS"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = new Aws.BcmData.Export("test", new()
{
ExportDetails = new Aws.BcmData.Inputs.ExportExportArgs
{
Name = "testexample",
DataQueries = new[]
{
new Aws.BcmData.Inputs.ExportExportDataQueryArgs
{
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",
{
{ "TIME_GRANULARITY", "HOURLY" },
{ "INCLUDE_RESOURCES", "FALSE" },
{ "INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY", "FALSE" },
{ "INCLUDE_SPLIT_COST_ALLOCATION_DATA", "FALSE" },
} },
},
},
},
DestinationConfigurations = new[]
{
new Aws.BcmData.Inputs.ExportExportDestinationConfigurationArgs
{
S3Destinations = new[]
{
new Aws.BcmData.Inputs.ExportExportDestinationConfigurationS3DestinationArgs
{
S3Bucket = testAwsS3Bucket.Bucket,
S3Prefix = testAwsS3Bucket.BucketPrefix,
S3Region = testAwsS3Bucket.Region,
S3OutputConfigurations = new[]
{
new Aws.BcmData.Inputs.ExportExportDestinationConfigurationS3DestinationS3OutputConfigurationArgs
{
Overwrite = "OVERWRITE_REPORT",
Format = "TEXT_OR_CSV",
Compression = "GZIP",
OutputType = "CUSTOM",
},
},
},
},
},
},
RefreshCadences = new[]
{
new Aws.BcmData.Inputs.ExportExportRefreshCadenceArgs
{
Frequency = "SYNCHRONOUS",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.bcmdata.Export;
import com.pulumi.aws.bcmdata.ExportArgs;
import com.pulumi.aws.bcmdata.inputs.ExportExportArgs;
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 test = new Export("test", ExportArgs.builder()
.export(ExportExportArgs.builder()
.name("testexample")
.dataQueries(ExportExportDataQueryArgs.builder()
.queryStatement("SELECT identity_line_item_id, identity_time_interval, line_item_product_code,line_item_unblended_cost FROM COST_AND_USAGE_REPORT")
.tableConfigurations(Map.of("COST_AND_USAGE_REPORT", Map.ofEntries(
Map.entry("TIME_GRANULARITY", "HOURLY"),
Map.entry("INCLUDE_RESOURCES", "FALSE"),
Map.entry("INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY", "FALSE"),
Map.entry("INCLUDE_SPLIT_COST_ALLOCATION_DATA", "FALSE")
)))
.build())
.destinationConfigurations(ExportExportDestinationConfigurationArgs.builder()
.s3Destinations(ExportExportDestinationConfigurationS3DestinationArgs.builder()
.s3Bucket(testAwsS3Bucket.bucket())
.s3Prefix(testAwsS3Bucket.bucketPrefix())
.s3Region(testAwsS3Bucket.region())
.s3OutputConfigurations(ExportExportDestinationConfigurationS3DestinationS3OutputConfigurationArgs.builder()
.overwrite("OVERWRITE_REPORT")
.format("TEXT_OR_CSV")
.compression("GZIP")
.outputType("CUSTOM")
.build())
.build())
.build())
.refreshCadences(ExportExportRefreshCadenceArgs.builder()
.frequency("SYNCHRONOUS")
.build())
.build())
.build());
}
}
resources:
test:
type: aws:bcmdata:Export
properties:
export:
name: testexample
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:
TIME_GRANULARITY: HOURLY
INCLUDE_RESOURCES: FALSE
INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY: FALSE
INCLUDE_SPLIT_COST_ALLOCATION_DATA: FALSE
destinationConfigurations:
- s3Destinations:
- s3Bucket: ${testAwsS3Bucket.bucket}
s3Prefix: ${testAwsS3Bucket.bucketPrefix}
s3Region: ${testAwsS3Bucket.region}
s3OutputConfigurations:
- overwrite: OVERWRITE_REPORT
format: TEXT_OR_CSV
compression: GZIP
outputType: CUSTOM
refreshCadences:
- frequency: SYNCHRONOUS
Create Export Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Export(name: string, args?: ExportArgs, opts?: CustomResourceOptions);
@overload
def Export(resource_name: str,
args: Optional[ExportArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Export(resource_name: str,
opts: Optional[ResourceOptions] = None,
export: Optional[ExportExportArgs] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ExportTimeoutsArgs] = None)
func NewExport(ctx *Context, name string, args *ExportArgs, opts ...ResourceOption) (*Export, error)
public Export(string name, ExportArgs? args = null, CustomResourceOptions? opts = null)
public Export(String name, ExportArgs args)
public Export(String name, ExportArgs args, CustomResourceOptions options)
type: aws:bcmdata:Export
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ExportArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ExportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExportArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exportResource = new Aws.BcmData.Export("exportResource", new()
{
ExportDetails = new Aws.BcmData.Inputs.ExportExportArgs
{
Name = "string",
DataQueries = new[]
{
new Aws.BcmData.Inputs.ExportExportDataQueryArgs
{
QueryStatement = "string",
TableConfigurations =
{
{ "string",
{
{ "string", "any" },
} },
},
},
},
Description = "string",
DestinationConfigurations = new[]
{
new Aws.BcmData.Inputs.ExportExportDestinationConfigurationArgs
{
S3Destinations = new[]
{
new Aws.BcmData.Inputs.ExportExportDestinationConfigurationS3DestinationArgs
{
S3Bucket = "string",
S3Prefix = "string",
S3Region = "string",
S3OutputConfigurations = new[]
{
new Aws.BcmData.Inputs.ExportExportDestinationConfigurationS3DestinationS3OutputConfigurationArgs
{
Compression = "string",
Format = "string",
OutputType = "string",
Overwrite = "string",
},
},
},
},
},
},
ExportArn = "string",
RefreshCadences = new[]
{
new Aws.BcmData.Inputs.ExportExportRefreshCadenceArgs
{
Frequency = "string",
},
},
},
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.BcmData.Inputs.ExportTimeoutsArgs
{
Create = "string",
Update = "string",
},
});
example, err := bcmdata.NewExport(ctx, "exportResource", &bcmdata.ExportArgs{
Export: &bcmdata.ExportExportArgs{
Name: pulumi.String("string"),
DataQueries: bcmdata.ExportExportDataQueryArray{
&bcmdata.ExportExportDataQueryArgs{
QueryStatement: pulumi.String("string"),
TableConfigurations: pulumi.MapMap{
"string": pulumi.Map{
"string": pulumi.Any("any"),
},
},
},
},
Description: pulumi.String("string"),
DestinationConfigurations: bcmdata.ExportExportDestinationConfigurationArray{
&bcmdata.ExportExportDestinationConfigurationArgs{
S3Destinations: bcmdata.ExportExportDestinationConfigurationS3DestinationArray{
&bcmdata.ExportExportDestinationConfigurationS3DestinationArgs{
S3Bucket: pulumi.String("string"),
S3Prefix: pulumi.String("string"),
S3Region: pulumi.String("string"),
S3OutputConfigurations: bcmdata.ExportExportDestinationConfigurationS3DestinationS3OutputConfigurationArray{
&bcmdata.ExportExportDestinationConfigurationS3DestinationS3OutputConfigurationArgs{
Compression: pulumi.String("string"),
Format: pulumi.String("string"),
OutputType: pulumi.String("string"),
Overwrite: pulumi.String("string"),
},
},
},
},
},
},
ExportArn: pulumi.String("string"),
RefreshCadences: bcmdata.ExportExportRefreshCadenceArray{
&bcmdata.ExportExportRefreshCadenceArgs{
Frequency: pulumi.String("string"),
},
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &bcmdata.ExportTimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var exportResource = new Export("exportResource", ExportArgs.builder()
.export(ExportExportArgs.builder()
.name("string")
.dataQueries(ExportExportDataQueryArgs.builder()
.queryStatement("string")
.tableConfigurations(Map.of("string", Map.of("string", "any")))
.build())
.description("string")
.destinationConfigurations(ExportExportDestinationConfigurationArgs.builder()
.s3Destinations(ExportExportDestinationConfigurationS3DestinationArgs.builder()
.s3Bucket("string")
.s3Prefix("string")
.s3Region("string")
.s3OutputConfigurations(ExportExportDestinationConfigurationS3DestinationS3OutputConfigurationArgs.builder()
.compression("string")
.format("string")
.outputType("string")
.overwrite("string")
.build())
.build())
.build())
.exportArn("string")
.refreshCadences(ExportExportRefreshCadenceArgs.builder()
.frequency("string")
.build())
.build())
.tags(Map.of("string", "string"))
.timeouts(ExportTimeoutsArgs.builder()
.create("string")
.update("string")
.build())
.build());
export_resource = aws.bcmdata.Export("exportResource",
export={
"name": "string",
"dataQueries": [{
"queryStatement": "string",
"tableConfigurations": {
"string": {
"string": "any",
},
},
}],
"description": "string",
"destinationConfigurations": [{
"s3Destinations": [{
"s3Bucket": "string",
"s3Prefix": "string",
"s3Region": "string",
"s3OutputConfigurations": [{
"compression": "string",
"format": "string",
"outputType": "string",
"overwrite": "string",
}],
}],
}],
"exportArn": "string",
"refreshCadences": [{
"frequency": "string",
}],
},
tags={
"string": "string",
},
timeouts={
"create": "string",
"update": "string",
})
const exportResource = new aws.bcmdata.Export("exportResource", {
"export": {
name: "string",
dataQueries: [{
queryStatement: "string",
tableConfigurations: {
string: {
string: "any",
},
},
}],
description: "string",
destinationConfigurations: [{
s3Destinations: [{
s3Bucket: "string",
s3Prefix: "string",
s3Region: "string",
s3OutputConfigurations: [{
compression: "string",
format: "string",
outputType: "string",
overwrite: "string",
}],
}],
}],
exportArn: "string",
refreshCadences: [{
frequency: "string",
}],
},
tags: {
string: "string",
},
timeouts: {
create: "string",
update: "string",
},
});
type: aws:bcmdata:Export
properties:
export:
dataQueries:
- queryStatement: string
tableConfigurations:
string:
string: any
description: string
destinationConfigurations:
- s3Destinations:
- s3Bucket: string
s3OutputConfigurations:
- compression: string
format: string
outputType: string
overwrite: string
s3Prefix: string
s3Region: string
exportArn: string
name: string
refreshCadences:
- frequency: string
tags:
string: string
timeouts:
create: string
update: string
Export Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Export resource accepts the following input properties:
- Export
Details ExportExport - The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - Dictionary<string, string>
- Timeouts
Export
Timeouts
- Export
Export
Export Args - The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - map[string]string
- Timeouts
Export
Timeouts Args
- export
Export
Export - The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - Map<String,String>
- timeouts
Export
Timeouts
- export
Export
Export - The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - {[key: string]: string}
- timeouts
Export
Timeouts
- export
Export
Export Args - The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - Mapping[str, str]
- timeouts
Export
Timeouts Args
- export Property Map
- The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - Map<String>
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the Export resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
Look up Existing Export Resource
Get an existing Export resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExportState, opts?: CustomResourceOptions): Export
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
export: Optional[ExportExportArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[ExportTimeoutsArgs] = None) -> Export
func GetExport(ctx *Context, name string, id IDInput, state *ExportState, opts ...ResourceOption) (*Export, error)
public static Export Get(string name, Input<string> id, ExportState? state, CustomResourceOptions? opts = null)
public static Export get(String name, Output<String> id, ExportState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Export
Details ExportExport - The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - Dictionary<string, string>
- Dictionary<string, string>
- Timeouts
Export
Timeouts
- Export
Export
Export Args - The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - map[string]string
- map[string]string
- Timeouts
Export
Timeouts Args
- export
Export
Export - The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - Map<String,String>
- Map<String,String>
- timeouts
Export
Timeouts
- export
Export
Export - The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - {[key: string]: string}
- {[key: string]: string}
- timeouts
Export
Timeouts
- export
Export
Export Args - The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - Mapping[str, str]
- Mapping[str, str]
- timeouts
Export
Timeouts Args
- export Property Map
- The details of the export, including data query, name, description, and destination configuration. See the
export
argument reference below. - Map<String>
- Map<String>
- timeouts Property Map
Supporting Types
ExportExport, ExportExportArgs
- Name string
- Name of this specific data export.
- Data
Queries List<ExportExport Data Query> - Data query for this specific data export. See the
data_query
argument reference below. - Description string
- Description for this specific data export.
- Destination
Configurations List<ExportExport Destination Configuration> - Destination configuration for this specific data export. See the
destination_configurations
argument reference below. - Export
Arn string - Amazon Resource Name (ARN) for this export.
- Refresh
Cadences List<ExportExport Refresh Cadence> - Cadence for Amazon Web Services to update the export in your S3 bucket. See the
refresh_cadence
argument reference below.
- Name string
- Name of this specific data export.
- Data
Queries []ExportExport Data Query - Data query for this specific data export. See the
data_query
argument reference below. - Description string
- Description for this specific data export.
- Destination
Configurations []ExportExport Destination Configuration - Destination configuration for this specific data export. See the
destination_configurations
argument reference below. - Export
Arn string - Amazon Resource Name (ARN) for this export.
- Refresh
Cadences []ExportExport Refresh Cadence - Cadence for Amazon Web Services to update the export in your S3 bucket. See the
refresh_cadence
argument reference below.
- name String
- Name of this specific data export.
- data
Queries List<ExportExport Data Query> - Data query for this specific data export. See the
data_query
argument reference below. - description String
- Description for this specific data export.
- destination
Configurations List<ExportExport Destination Configuration> - Destination configuration for this specific data export. See the
destination_configurations
argument reference below. - export
Arn String - Amazon Resource Name (ARN) for this export.
- refresh
Cadences List<ExportExport Refresh Cadence> - Cadence for Amazon Web Services to update the export in your S3 bucket. See the
refresh_cadence
argument reference below.
- name string
- Name of this specific data export.
- data
Queries ExportExport Data Query[] - Data query for this specific data export. See the
data_query
argument reference below. - description string
- Description for this specific data export.
- destination
Configurations ExportExport Destination Configuration[] - Destination configuration for this specific data export. See the
destination_configurations
argument reference below. - export
Arn string - Amazon Resource Name (ARN) for this export.
- refresh
Cadences ExportExport Refresh Cadence[] - Cadence for Amazon Web Services to update the export in your S3 bucket. See the
refresh_cadence
argument reference below.
- name str
- Name of this specific data export.
- data_
queries Sequence[ExportExport Data Query] - Data query for this specific data export. See the
data_query
argument reference below. - description str
- Description for this specific data export.
- destination_
configurations Sequence[ExportExport Destination Configuration] - Destination configuration for this specific data export. See the
destination_configurations
argument reference below. - export_
arn str - Amazon Resource Name (ARN) for this export.
- refresh_
cadences Sequence[ExportExport Refresh Cadence] - Cadence for Amazon Web Services to update the export in your S3 bucket. See the
refresh_cadence
argument reference below.
- name String
- Name of this specific data export.
- data
Queries List<Property Map> - Data query for this specific data export. See the
data_query
argument reference below. - description String
- Description for this specific data export.
- destination
Configurations List<Property Map> - Destination configuration for this specific data export. See the
destination_configurations
argument reference below. - export
Arn String - Amazon Resource Name (ARN) for this export.
- refresh
Cadences List<Property Map> - Cadence for Amazon Web Services to update the export in your S3 bucket. See the
refresh_cadence
argument reference below.
ExportExportDataQuery, ExportExportDataQueryArgs
- Query
Statement string - Query statement.
- Table
Configurations Dictionary<string, ImmutableDictionary<string, object>> - Table configuration.
- Query
Statement string - Query statement.
- Table
Configurations map[string]map[string]interface{} - Table configuration.
- query
Statement String - Query statement.
- table
Configurations Map<String,Map<String,Object>> - Table configuration.
- query
Statement string - Query statement.
- table
Configurations {[key: string]: {[key: string]: any}} - Table configuration.
- query_
statement str - Query statement.
- table_
configurations Mapping[str, Mapping[str, Any]] - Table configuration.
- query
Statement String - Query statement.
- table
Configurations Map<Map<Any>> - Table configuration.
ExportExportDestinationConfiguration, ExportExportDestinationConfigurationArgs
- S3Destinations
List<Export
Export Destination Configuration S3Destination> - Object that describes the destination of the data exports file. See the
s3_destination
argument reference below.
- S3Destinations
[]Export
Export Destination Configuration S3Destination - Object that describes the destination of the data exports file. See the
s3_destination
argument reference below.
- s3Destinations
List<Export
Export Destination Configuration S3Destination> - Object that describes the destination of the data exports file. See the
s3_destination
argument reference below.
- s3Destinations
Export
Export Destination Configuration S3Destination[] - Object that describes the destination of the data exports file. See the
s3_destination
argument reference below.
- s3_
destinations Sequence[ExportExport Destination Configuration S3Destination] - Object that describes the destination of the data exports file. See the
s3_destination
argument reference below.
- s3Destinations List<Property Map>
- Object that describes the destination of the data exports file. See the
s3_destination
argument reference below.
ExportExportDestinationConfigurationS3Destination, ExportExportDestinationConfigurationS3DestinationArgs
- S3Bucket string
- Name of the Amazon S3 bucket used as the destination of a data export file.
- S3Prefix string
- S3 path prefix you want prepended to the name of your data export.
- S3Region string
- S3 bucket region.
- S3Output
Configurations List<ExportExport Destination Configuration S3Destination S3Output Configuration> - Output configuration for the data export. See the
s3_output_configurations
argument reference below.
- S3Bucket string
- Name of the Amazon S3 bucket used as the destination of a data export file.
- S3Prefix string
- S3 path prefix you want prepended to the name of your data export.
- S3Region string
- S3 bucket region.
- S3Output
Configurations []ExportExport Destination Configuration S3Destination S3Output Configuration - Output configuration for the data export. See the
s3_output_configurations
argument reference below.
- s3Bucket String
- Name of the Amazon S3 bucket used as the destination of a data export file.
- s3Prefix String
- S3 path prefix you want prepended to the name of your data export.
- s3Region String
- S3 bucket region.
- s3Output
Configurations List<ExportExport Destination Configuration S3Destination S3Output Configuration> - Output configuration for the data export. See the
s3_output_configurations
argument reference below.
- s3Bucket string
- Name of the Amazon S3 bucket used as the destination of a data export file.
- s3Prefix string
- S3 path prefix you want prepended to the name of your data export.
- s3Region string
- S3 bucket region.
- s3Output
Configurations ExportExport Destination Configuration S3Destination S3Output Configuration[] - Output configuration for the data export. See the
s3_output_configurations
argument reference below.
- s3_
bucket str - Name of the Amazon S3 bucket used as the destination of a data export file.
- s3_
prefix str - S3 path prefix you want prepended to the name of your data export.
- s3_
region str - S3 bucket region.
- s3_
output_ Sequence[Exportconfigurations Export Destination Configuration S3Destination S3Output Configuration] - Output configuration for the data export. See the
s3_output_configurations
argument reference below.
- s3Bucket String
- Name of the Amazon S3 bucket used as the destination of a data export file.
- s3Prefix String
- S3 path prefix you want prepended to the name of your data export.
- s3Region String
- S3 bucket region.
- s3Output
Configurations List<Property Map> - Output configuration for the data export. See the
s3_output_configurations
argument reference below.
ExportExportDestinationConfigurationS3DestinationS3OutputConfiguration, ExportExportDestinationConfigurationS3DestinationS3OutputConfigurationArgs
- Compression string
- Compression type for the data export. Valid values
GZIP
,PARQUET
. - Format string
- File format for the data export. Valid values
TEXT_OR_CSV
orPARQUET
. - Output
Type string - Output type for the data export. Valid value
CUSTOM
. - Overwrite string
- The rule to follow when generating a version of the data export file. You have the choice to overwrite the previous version or to be delivered in addition to the previous versions. Overwriting exports can save on Amazon S3 storage costs. Creating new export versions allows you to track the changes in cost and usage data over time. Valid values
CREATE_NEW_REPORT
orOVERWRITE_REPORT
.
- Compression string
- Compression type for the data export. Valid values
GZIP
,PARQUET
. - Format string
- File format for the data export. Valid values
TEXT_OR_CSV
orPARQUET
. - Output
Type string - Output type for the data export. Valid value
CUSTOM
. - Overwrite string
- The rule to follow when generating a version of the data export file. You have the choice to overwrite the previous version or to be delivered in addition to the previous versions. Overwriting exports can save on Amazon S3 storage costs. Creating new export versions allows you to track the changes in cost and usage data over time. Valid values
CREATE_NEW_REPORT
orOVERWRITE_REPORT
.
- compression String
- Compression type for the data export. Valid values
GZIP
,PARQUET
. - format String
- File format for the data export. Valid values
TEXT_OR_CSV
orPARQUET
. - output
Type String - Output type for the data export. Valid value
CUSTOM
. - overwrite String
- The rule to follow when generating a version of the data export file. You have the choice to overwrite the previous version or to be delivered in addition to the previous versions. Overwriting exports can save on Amazon S3 storage costs. Creating new export versions allows you to track the changes in cost and usage data over time. Valid values
CREATE_NEW_REPORT
orOVERWRITE_REPORT
.
- compression string
- Compression type for the data export. Valid values
GZIP
,PARQUET
. - format string
- File format for the data export. Valid values
TEXT_OR_CSV
orPARQUET
. - output
Type string - Output type for the data export. Valid value
CUSTOM
. - overwrite string
- The rule to follow when generating a version of the data export file. You have the choice to overwrite the previous version or to be delivered in addition to the previous versions. Overwriting exports can save on Amazon S3 storage costs. Creating new export versions allows you to track the changes in cost and usage data over time. Valid values
CREATE_NEW_REPORT
orOVERWRITE_REPORT
.
- compression str
- Compression type for the data export. Valid values
GZIP
,PARQUET
. - format str
- File format for the data export. Valid values
TEXT_OR_CSV
orPARQUET
. - output_
type str - Output type for the data export. Valid value
CUSTOM
. - overwrite str
- The rule to follow when generating a version of the data export file. You have the choice to overwrite the previous version or to be delivered in addition to the previous versions. Overwriting exports can save on Amazon S3 storage costs. Creating new export versions allows you to track the changes in cost and usage data over time. Valid values
CREATE_NEW_REPORT
orOVERWRITE_REPORT
.
- compression String
- Compression type for the data export. Valid values
GZIP
,PARQUET
. - format String
- File format for the data export. Valid values
TEXT_OR_CSV
orPARQUET
. - output
Type String - Output type for the data export. Valid value
CUSTOM
. - overwrite String
- The rule to follow when generating a version of the data export file. You have the choice to overwrite the previous version or to be delivered in addition to the previous versions. Overwriting exports can save on Amazon S3 storage costs. Creating new export versions allows you to track the changes in cost and usage data over time. Valid values
CREATE_NEW_REPORT
orOVERWRITE_REPORT
.
ExportExportRefreshCadence, ExportExportRefreshCadenceArgs
- Frequency string
- Frequency that data exports are updated. The export refreshes each time the source data updates, up to three times daily. Valid values
SYNCHRONOUS
.
- Frequency string
- Frequency that data exports are updated. The export refreshes each time the source data updates, up to three times daily. Valid values
SYNCHRONOUS
.
- frequency String
- Frequency that data exports are updated. The export refreshes each time the source data updates, up to three times daily. Valid values
SYNCHRONOUS
.
- frequency string
- Frequency that data exports are updated. The export refreshes each time the source data updates, up to three times daily. Valid values
SYNCHRONOUS
.
- frequency str
- Frequency that data exports are updated. The export refreshes each time the source data updates, up to three times daily. Valid values
SYNCHRONOUS
.
- frequency String
- Frequency that data exports are updated. The export refreshes each time the source data updates, up to three times daily. Valid values
SYNCHRONOUS
.
ExportTimeouts, ExportTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import
, import BCM Data Exports Export using the export ARN. For example:
$ pulumi import aws:bcmdata/export:Export example arn:aws:bcm-data-exports:us-east-1:123456789012:export/CostUsageReport-9f1c75f3-f982-4d9a-b936-1e7ecab814b7
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.