aws.cur.ReportDefinition
Explore with Pulumi AI
Manages Cost and Usage Report Definitions.
NOTE: The AWS Cost and Usage Report service is only available in
us-east-1
currently.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleCurReportDefinition = new aws.cur.ReportDefinition("example_cur_report_definition", {
reportName: "example-cur-report-definition",
timeUnit: "HOURLY",
format: "textORcsv",
compression: "GZIP",
additionalSchemaElements: [
"RESOURCES",
"SPLIT_COST_ALLOCATION_DATA",
],
s3Bucket: "example-bucket-name",
s3Region: "us-east-1",
additionalArtifacts: [
"REDSHIFT",
"QUICKSIGHT",
],
});
import pulumi
import pulumi_aws as aws
example_cur_report_definition = aws.cur.ReportDefinition("example_cur_report_definition",
report_name="example-cur-report-definition",
time_unit="HOURLY",
format="textORcsv",
compression="GZIP",
additional_schema_elements=[
"RESOURCES",
"SPLIT_COST_ALLOCATION_DATA",
],
s3_bucket="example-bucket-name",
s3_region="us-east-1",
additional_artifacts=[
"REDSHIFT",
"QUICKSIGHT",
])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cur"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cur.NewReportDefinition(ctx, "example_cur_report_definition", &cur.ReportDefinitionArgs{
ReportName: pulumi.String("example-cur-report-definition"),
TimeUnit: pulumi.String("HOURLY"),
Format: pulumi.String("textORcsv"),
Compression: pulumi.String("GZIP"),
AdditionalSchemaElements: pulumi.StringArray{
pulumi.String("RESOURCES"),
pulumi.String("SPLIT_COST_ALLOCATION_DATA"),
},
S3Bucket: pulumi.String("example-bucket-name"),
S3Region: pulumi.String("us-east-1"),
AdditionalArtifacts: pulumi.StringArray{
pulumi.String("REDSHIFT"),
pulumi.String("QUICKSIGHT"),
},
})
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 exampleCurReportDefinition = new Aws.Cur.ReportDefinition("example_cur_report_definition", new()
{
ReportName = "example-cur-report-definition",
TimeUnit = "HOURLY",
Format = "textORcsv",
Compression = "GZIP",
AdditionalSchemaElements = new[]
{
"RESOURCES",
"SPLIT_COST_ALLOCATION_DATA",
},
S3Bucket = "example-bucket-name",
S3Region = "us-east-1",
AdditionalArtifacts = new[]
{
"REDSHIFT",
"QUICKSIGHT",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cur.ReportDefinition;
import com.pulumi.aws.cur.ReportDefinitionArgs;
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 exampleCurReportDefinition = new ReportDefinition("exampleCurReportDefinition", ReportDefinitionArgs.builder()
.reportName("example-cur-report-definition")
.timeUnit("HOURLY")
.format("textORcsv")
.compression("GZIP")
.additionalSchemaElements(
"RESOURCES",
"SPLIT_COST_ALLOCATION_DATA")
.s3Bucket("example-bucket-name")
.s3Region("us-east-1")
.additionalArtifacts(
"REDSHIFT",
"QUICKSIGHT")
.build());
}
}
resources:
exampleCurReportDefinition:
type: aws:cur:ReportDefinition
name: example_cur_report_definition
properties:
reportName: example-cur-report-definition
timeUnit: HOURLY
format: textORcsv
compression: GZIP
additionalSchemaElements:
- RESOURCES
- SPLIT_COST_ALLOCATION_DATA
s3Bucket: example-bucket-name
s3Region: us-east-1
additionalArtifacts:
- REDSHIFT
- QUICKSIGHT
Create ReportDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReportDefinition(name: string, args: ReportDefinitionArgs, opts?: CustomResourceOptions);
@overload
def ReportDefinition(resource_name: str,
args: ReportDefinitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ReportDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
additional_schema_elements: Optional[Sequence[str]] = None,
compression: Optional[str] = None,
format: Optional[str] = None,
report_name: Optional[str] = None,
s3_bucket: Optional[str] = None,
s3_region: Optional[str] = None,
time_unit: Optional[str] = None,
additional_artifacts: Optional[Sequence[str]] = None,
refresh_closed_reports: Optional[bool] = None,
report_versioning: Optional[str] = None,
s3_prefix: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewReportDefinition(ctx *Context, name string, args ReportDefinitionArgs, opts ...ResourceOption) (*ReportDefinition, error)
public ReportDefinition(string name, ReportDefinitionArgs args, CustomResourceOptions? opts = null)
public ReportDefinition(String name, ReportDefinitionArgs args)
public ReportDefinition(String name, ReportDefinitionArgs args, CustomResourceOptions options)
type: aws:cur:ReportDefinition
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 ReportDefinitionArgs
- 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 ReportDefinitionArgs
- 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 ReportDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReportDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReportDefinitionArgs
- 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 reportDefinitionResource = new Aws.Cur.ReportDefinition("reportDefinitionResource", new()
{
AdditionalSchemaElements = new[]
{
"string",
},
Compression = "string",
Format = "string",
ReportName = "string",
S3Bucket = "string",
S3Region = "string",
TimeUnit = "string",
AdditionalArtifacts = new[]
{
"string",
},
RefreshClosedReports = false,
ReportVersioning = "string",
S3Prefix = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := cur.NewReportDefinition(ctx, "reportDefinitionResource", &cur.ReportDefinitionArgs{
AdditionalSchemaElements: pulumi.StringArray{
pulumi.String("string"),
},
Compression: pulumi.String("string"),
Format: pulumi.String("string"),
ReportName: pulumi.String("string"),
S3Bucket: pulumi.String("string"),
S3Region: pulumi.String("string"),
TimeUnit: pulumi.String("string"),
AdditionalArtifacts: pulumi.StringArray{
pulumi.String("string"),
},
RefreshClosedReports: pulumi.Bool(false),
ReportVersioning: pulumi.String("string"),
S3Prefix: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var reportDefinitionResource = new ReportDefinition("reportDefinitionResource", ReportDefinitionArgs.builder()
.additionalSchemaElements("string")
.compression("string")
.format("string")
.reportName("string")
.s3Bucket("string")
.s3Region("string")
.timeUnit("string")
.additionalArtifacts("string")
.refreshClosedReports(false)
.reportVersioning("string")
.s3Prefix("string")
.tags(Map.of("string", "string"))
.build());
report_definition_resource = aws.cur.ReportDefinition("reportDefinitionResource",
additional_schema_elements=["string"],
compression="string",
format="string",
report_name="string",
s3_bucket="string",
s3_region="string",
time_unit="string",
additional_artifacts=["string"],
refresh_closed_reports=False,
report_versioning="string",
s3_prefix="string",
tags={
"string": "string",
})
const reportDefinitionResource = new aws.cur.ReportDefinition("reportDefinitionResource", {
additionalSchemaElements: ["string"],
compression: "string",
format: "string",
reportName: "string",
s3Bucket: "string",
s3Region: "string",
timeUnit: "string",
additionalArtifacts: ["string"],
refreshClosedReports: false,
reportVersioning: "string",
s3Prefix: "string",
tags: {
string: "string",
},
});
type: aws:cur:ReportDefinition
properties:
additionalArtifacts:
- string
additionalSchemaElements:
- string
compression: string
format: string
refreshClosedReports: false
reportName: string
reportVersioning: string
s3Bucket: string
s3Prefix: string
s3Region: string
tags:
string: string
timeUnit: string
ReportDefinition 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 ReportDefinition resource accepts the following input properties:
- Additional
Schema List<string>Elements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - Compression string
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - Format string
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - Report
Name string - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- S3Bucket string
- Name of the existing S3 bucket to hold generated reports.
- S3Region string
- Region of the existing S3 bucket to hold generated reports.
- Time
Unit string - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
. - Additional
Artifacts List<string> - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - Refresh
Closed boolReports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- Report
Versioning string - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - S3Prefix string
- Report path prefix. Limited to 256 characters.
- Dictionary<string, string>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Additional
Schema []stringElements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - Compression string
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - Format string
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - Report
Name string - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- S3Bucket string
- Name of the existing S3 bucket to hold generated reports.
- S3Region string
- Region of the existing S3 bucket to hold generated reports.
- Time
Unit string - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
. - Additional
Artifacts []string - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - Refresh
Closed boolReports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- Report
Versioning string - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - S3Prefix string
- Report path prefix. Limited to 256 characters.
- map[string]string
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- additional
Schema List<String>Elements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - compression String
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - format String
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - report
Name String - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- s3Bucket String
- Name of the existing S3 bucket to hold generated reports.
- s3Region String
- Region of the existing S3 bucket to hold generated reports.
- time
Unit String - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
. - additional
Artifacts List<String> - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - refresh
Closed BooleanReports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- report
Versioning String - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - s3Prefix String
- Report path prefix. Limited to 256 characters.
- Map<String,String>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- additional
Schema string[]Elements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - compression string
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - format string
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - report
Name string - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- s3Bucket string
- Name of the existing S3 bucket to hold generated reports.
- s3Region string
- Region of the existing S3 bucket to hold generated reports.
- time
Unit string - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
. - additional
Artifacts string[] - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - refresh
Closed booleanReports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- report
Versioning string - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - s3Prefix string
- Report path prefix. Limited to 256 characters.
- {[key: string]: string}
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- additional_
schema_ Sequence[str]elements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - compression str
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - format str
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - report_
name str - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- s3_
bucket str - Name of the existing S3 bucket to hold generated reports.
- s3_
region str - Region of the existing S3 bucket to hold generated reports.
- time_
unit str - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
. - additional_
artifacts Sequence[str] - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - refresh_
closed_ boolreports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- report_
versioning str - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - s3_
prefix str - Report path prefix. Limited to 256 characters.
- Mapping[str, str]
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- additional
Schema List<String>Elements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - compression String
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - format String
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - report
Name String - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- s3Bucket String
- Name of the existing S3 bucket to hold generated reports.
- s3Region String
- Region of the existing S3 bucket to hold generated reports.
- time
Unit String - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
. - additional
Artifacts List<String> - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - refresh
Closed BooleanReports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- report
Versioning String - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - s3Prefix String
- Report path prefix. Limited to 256 characters.
- Map<String>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the ReportDefinition resource produces the following output properties:
Look up Existing ReportDefinition Resource
Get an existing ReportDefinition 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?: ReportDefinitionState, opts?: CustomResourceOptions): ReportDefinition
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_artifacts: Optional[Sequence[str]] = None,
additional_schema_elements: Optional[Sequence[str]] = None,
arn: Optional[str] = None,
compression: Optional[str] = None,
format: Optional[str] = None,
refresh_closed_reports: Optional[bool] = None,
report_name: Optional[str] = None,
report_versioning: Optional[str] = None,
s3_bucket: Optional[str] = None,
s3_prefix: Optional[str] = None,
s3_region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
time_unit: Optional[str] = None) -> ReportDefinition
func GetReportDefinition(ctx *Context, name string, id IDInput, state *ReportDefinitionState, opts ...ResourceOption) (*ReportDefinition, error)
public static ReportDefinition Get(string name, Input<string> id, ReportDefinitionState? state, CustomResourceOptions? opts = null)
public static ReportDefinition get(String name, Output<String> id, ReportDefinitionState 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.
- Additional
Artifacts List<string> - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - Additional
Schema List<string>Elements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - Arn string
- The Amazon Resource Name (ARN) specifying the cur report.
- Compression string
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - Format string
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - Refresh
Closed boolReports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- Report
Name string - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- Report
Versioning string - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - S3Bucket string
- Name of the existing S3 bucket to hold generated reports.
- S3Prefix string
- Report path prefix. Limited to 256 characters.
- S3Region string
- Region of the existing S3 bucket to hold generated reports.
- Dictionary<string, string>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Time
Unit string - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
.
- Additional
Artifacts []string - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - Additional
Schema []stringElements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - Arn string
- The Amazon Resource Name (ARN) specifying the cur report.
- Compression string
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - Format string
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - Refresh
Closed boolReports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- Report
Name string - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- Report
Versioning string - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - S3Bucket string
- Name of the existing S3 bucket to hold generated reports.
- S3Prefix string
- Report path prefix. Limited to 256 characters.
- S3Region string
- Region of the existing S3 bucket to hold generated reports.
- map[string]string
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Time
Unit string - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
.
- additional
Artifacts List<String> - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - additional
Schema List<String>Elements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - arn String
- The Amazon Resource Name (ARN) specifying the cur report.
- compression String
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - format String
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - refresh
Closed BooleanReports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- report
Name String - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- report
Versioning String - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - s3Bucket String
- Name of the existing S3 bucket to hold generated reports.
- s3Prefix String
- Report path prefix. Limited to 256 characters.
- s3Region String
- Region of the existing S3 bucket to hold generated reports.
- Map<String,String>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - time
Unit String - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
.
- additional
Artifacts string[] - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - additional
Schema string[]Elements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - arn string
- The Amazon Resource Name (ARN) specifying the cur report.
- compression string
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - format string
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - refresh
Closed booleanReports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- report
Name string - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- report
Versioning string - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - s3Bucket string
- Name of the existing S3 bucket to hold generated reports.
- s3Prefix string
- Report path prefix. Limited to 256 characters.
- s3Region string
- Region of the existing S3 bucket to hold generated reports.
- {[key: string]: string}
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - time
Unit string - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
.
- additional_
artifacts Sequence[str] - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - additional_
schema_ Sequence[str]elements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - arn str
- The Amazon Resource Name (ARN) specifying the cur report.
- compression str
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - format str
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - refresh_
closed_ boolreports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- report_
name str - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- report_
versioning str - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - s3_
bucket str - Name of the existing S3 bucket to hold generated reports.
- s3_
prefix str - Report path prefix. Limited to 256 characters.
- s3_
region str - Region of the existing S3 bucket to hold generated reports.
- Mapping[str, str]
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - time_
unit str - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
.
- additional
Artifacts List<String> - A list of additional artifacts. Valid values are:
REDSHIFT
,QUICKSIGHT
,ATHENA
. When ATHENA exists within additional_artifacts, no other artifact type can be declared and report_versioning must beOVERWRITE_REPORT
. - additional
Schema List<String>Elements - A list of schema elements. Valid values are:
RESOURCES
,SPLIT_COST_ALLOCATION_DATA
. - arn String
- The Amazon Resource Name (ARN) specifying the cur report.
- compression String
- Compression format for report. Valid values are:
GZIP
,ZIP
,Parquet
. IfParquet
is used, then format must also beParquet
. - format String
- Format for report. Valid values are:
textORcsv
,Parquet
. IfParquet
is used, then Compression must also beParquet
. - refresh
Closed BooleanReports - Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
- report
Name String - Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
- report
Versioning String - Overwrite the previous version of each report or to deliver the report in addition to the previous versions. Valid values are:
CREATE_NEW_REPORT
andOVERWRITE_REPORT
. - s3Bucket String
- Name of the existing S3 bucket to hold generated reports.
- s3Prefix String
- Report path prefix. Limited to 256 characters.
- s3Region String
- Region of the existing S3 bucket to hold generated reports.
- Map<String>
- Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - time
Unit String - The frequency on which report data are measured and displayed. Valid values are:
DAILY
,HOURLY
,MONTHLY
.
Import
Using pulumi import
, import Report Definitions using the report_name
. For example:
$ pulumi import aws:cur/reportDefinition:ReportDefinition example_cur_report_definition example-cur-report-definition
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.