aws.bcmdata.Export
Explore with Pulumi AI
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",
    "data_queries": [{
        "query_statement": "SELECT identity_line_item_id, identity_time_interval, line_item_product_code,line_item_unblended_cost FROM COST_AND_USAGE_REPORT",
        "table_configurations": {
            "COST_AND_USAGE_REPORT": {
                "TIME_GRANULARITY": "HOURLY",
                "INCLUDE_RESOURCES": "FALSE",
                "INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY": "FALSE",
                "INCLUDE_SPLIT_COST_ALLOCATION_DATA": "FALSE",
            },
        },
    }],
    "destination_configurations": [{
        "s3_destinations": [{
            "s3_bucket": test_aws_s3_bucket["bucket"],
            "s3_prefix": test_aws_s3_bucket["bucketPrefix"],
            "s3_region": test_aws_s3_bucket["region"],
            "s3_output_configurations": [{
                "overwrite": "OVERWRITE_REPORT",
                "format": "TEXT_OR_CSV",
                "compression": "GZIP",
                "output_type": "CUSTOM",
            }],
        }],
    }],
    "refresh_cadences": [{
        "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.StringMapMap{
							"COST_AND_USAGE_REPORT": pulumi.StringMap{
								"TIME_GRANULARITY":                      pulumi.String("HOURLY"),
								"INCLUDE_RESOURCES":                     pulumi.String("FALSE"),
								"INCLUDE_MANUAL_DISCOUNT_COMPATIBILITY": pulumi.String("FALSE"),
								"INCLUDE_SPLIT_COST_ALLOCATION_DATA":    pulumi.String("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", "string" },
                    } },
                },
            },
        },
        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.StringMapMap{
					"string": pulumi.StringMap{
						"string": pulumi.String("string"),
					},
				},
			},
		},
		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", "string")))
            .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",
        "data_queries": [{
            "query_statement": "string",
            "table_configurations": {
                "string": {
                    "string": "string",
                },
            },
        }],
        "description": "string",
        "destination_configurations": [{
            "s3_destinations": [{
                "s3_bucket": "string",
                "s3_prefix": "string",
                "s3_region": "string",
                "s3_output_configurations": [{
                    "compression": "string",
                    "format": "string",
                    "output_type": "string",
                    "overwrite": "string",
                }],
            }],
        }],
        "export_arn": "string",
        "refresh_cadences": [{
            "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: "string",
                },
            },
        }],
        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: string
        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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Export resource accepts the following input properties:
- ExportDetails ExportExport 
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- Dictionary<string, string>
- Timeouts
ExportTimeouts 
- Export
ExportExport Args 
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- map[string]string
- Timeouts
ExportTimeouts Args 
- export
ExportExport 
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- Map<String,String>
- timeouts
ExportTimeouts 
- export
ExportExport 
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- {[key: string]: string}
- timeouts
ExportTimeouts 
- export
ExportExport Args 
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- Mapping[str, str]
- timeouts
ExportTimeouts Args 
- export Property Map
- The details of the export, including data query, name, description, and destination configuration. See the exportargument 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) -> Exportfunc 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)resources:  _:    type: aws:bcmdata:Export    get:      id: ${id}- 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.
- ExportDetails ExportExport 
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- Dictionary<string, string>
- Dictionary<string, string>
- Timeouts
ExportTimeouts 
- Export
ExportExport Args 
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- map[string]string
- map[string]string
- Timeouts
ExportTimeouts Args 
- export
ExportExport 
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- Map<String,String>
- Map<String,String>
- timeouts
ExportTimeouts 
- export
ExportExport 
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- {[key: string]: string}
- {[key: string]: string}
- timeouts
ExportTimeouts 
- export
ExportExport Args 
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- Mapping[str, str]
- Mapping[str, str]
- timeouts
ExportTimeouts Args 
- export Property Map
- The details of the export, including data query, name, description, and destination configuration. See the exportargument reference below.
- Map<String>
- Map<String>
- timeouts Property Map
Supporting Types
ExportExport, ExportExportArgs    
- Name string
- Name of this specific data export.
- DataQueries List<ExportExport Data Query> 
- Data query for this specific data export. See the data_queryargument reference below.
- Description string
- Description for this specific data export.
- DestinationConfigurations List<ExportExport Destination Configuration> 
- Destination configuration for this specific data export. See the destination_configurationsargument reference below.
- ExportArn string
- Amazon Resource Name (ARN) for this export.
- RefreshCadences List<ExportExport Refresh Cadence> 
- Cadence for Amazon Web Services to update the export in your S3 bucket. See the refresh_cadenceargument reference below.
- Name string
- Name of this specific data export.
- DataQueries []ExportExport Data Query 
- Data query for this specific data export. See the data_queryargument reference below.
- Description string
- Description for this specific data export.
- DestinationConfigurations []ExportExport Destination Configuration 
- Destination configuration for this specific data export. See the destination_configurationsargument reference below.
- ExportArn string
- Amazon Resource Name (ARN) for this export.
- RefreshCadences []ExportExport Refresh Cadence 
- Cadence for Amazon Web Services to update the export in your S3 bucket. See the refresh_cadenceargument reference below.
- name String
- Name of this specific data export.
- dataQueries List<ExportExport Data Query> 
- Data query for this specific data export. See the data_queryargument reference below.
- description String
- Description for this specific data export.
- destinationConfigurations List<ExportExport Destination Configuration> 
- Destination configuration for this specific data export. See the destination_configurationsargument reference below.
- exportArn String
- Amazon Resource Name (ARN) for this export.
- refreshCadences List<ExportExport Refresh Cadence> 
- Cadence for Amazon Web Services to update the export in your S3 bucket. See the refresh_cadenceargument reference below.
- name string
- Name of this specific data export.
- dataQueries ExportExport Data Query[] 
- Data query for this specific data export. See the data_queryargument reference below.
- description string
- Description for this specific data export.
- destinationConfigurations ExportExport Destination Configuration[] 
- Destination configuration for this specific data export. See the destination_configurationsargument reference below.
- exportArn string
- Amazon Resource Name (ARN) for this export.
- refreshCadences ExportExport Refresh Cadence[] 
- Cadence for Amazon Web Services to update the export in your S3 bucket. See the refresh_cadenceargument 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_queryargument 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_configurationsargument 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_cadenceargument reference below.
- name String
- Name of this specific data export.
- dataQueries List<Property Map>
- Data query for this specific data export. See the data_queryargument reference below.
- description String
- Description for this specific data export.
- destinationConfigurations List<Property Map>
- Destination configuration for this specific data export. See the destination_configurationsargument reference below.
- exportArn String
- Amazon Resource Name (ARN) for this export.
- refreshCadences List<Property Map>
- Cadence for Amazon Web Services to update the export in your S3 bucket. See the refresh_cadenceargument reference below.
ExportExportDataQuery, ExportExportDataQueryArgs        
- QueryStatement string
- Query statement.
- TableConfigurations Dictionary<string, ImmutableDictionary<string, string>> 
- Table configuration.
- QueryStatement string
- Query statement.
- TableConfigurations map[string]map[string]string
- Table configuration.
- queryStatement String
- Query statement.
- tableConfigurations Map<String,Map<String,String>>
- Table configuration.
- queryStatement string
- Query statement.
- tableConfigurations {[key: string]: {[key: string]: string}}
- Table configuration.
- query_statement str
- Query statement.
- table_configurations Mapping[str, Mapping[str, str]]
- Table configuration.
- queryStatement String
- Query statement.
- tableConfigurations Map<Map<String>>
- Table configuration.
ExportExportDestinationConfiguration, ExportExportDestinationConfigurationArgs        
- S3Destinations
List<ExportExport Destination Configuration S3Destination> 
- Object that describes the destination of the data exports file. See the s3_destinationargument reference below.
- S3Destinations
[]ExportExport Destination Configuration S3Destination 
- Object that describes the destination of the data exports file. See the s3_destinationargument reference below.
- s3Destinations
List<ExportExport Destination Configuration S3Destination> 
- Object that describes the destination of the data exports file. See the s3_destinationargument reference below.
- s3Destinations
ExportExport Destination Configuration S3Destination[] 
- Object that describes the destination of the data exports file. See the s3_destinationargument reference below.
- s3_destinations Sequence[ExportExport Destination Configuration S3Destination] 
- Object that describes the destination of the data exports file. See the s3_destinationargument reference below.
- s3Destinations List<Property Map>
- Object that describes the destination of the data exports file. See the s3_destinationargument 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.
- S3OutputConfigurations List<ExportExport Destination Configuration S3Destination S3Output Configuration> 
- Output configuration for the data export. See the s3_output_configurationsargument 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.
- S3OutputConfigurations []ExportExport Destination Configuration S3Destination S3Output Configuration 
- Output configuration for the data export. See the s3_output_configurationsargument 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.
- s3OutputConfigurations List<ExportExport Destination Configuration S3Destination S3Output Configuration> 
- Output configuration for the data export. See the s3_output_configurationsargument 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.
- s3OutputConfigurations ExportExport Destination Configuration S3Destination S3Output Configuration[] 
- Output configuration for the data export. See the s3_output_configurationsargument 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_configurationsargument 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.
- s3OutputConfigurations List<Property Map>
- Output configuration for the data export. See the s3_output_configurationsargument 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_CSVorPARQUET.
- OutputType 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_REPORTorOVERWRITE_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_CSVorPARQUET.
- OutputType 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_REPORTorOVERWRITE_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_CSVorPARQUET.
- outputType 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_REPORTorOVERWRITE_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_CSVorPARQUET.
- outputType 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_REPORTorOVERWRITE_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_CSVorPARQUET.
- 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_REPORTorOVERWRITE_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_CSVorPARQUET.
- outputType 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_REPORTorOVERWRITE_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 awsTerraform Provider.