1. Packages
  2. AWS Classic
  3. API Docs
  4. cur
  5. ReportDefinition

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.23.0 published on Thursday, Feb 22, 2024 by Pulumi

aws.cur.ReportDefinition

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.23.0 published on Thursday, Feb 22, 2024 by Pulumi

    Manages Cost and Usage Report Definitions.

    NOTE: The AWS Cost and Usage Report service is only available in us-east-1 currently.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCurReportDefinition = new Aws.Cur.ReportDefinition("exampleCurReportDefinition", new()
        {
            AdditionalArtifacts = new[]
            {
                "REDSHIFT",
                "QUICKSIGHT",
            },
            AdditionalSchemaElements = new[]
            {
                "RESOURCES",
                "SPLIT_COST_ALLOCATION_DATA",
            },
            Compression = "GZIP",
            Format = "textORcsv",
            ReportName = "example-cur-report-definition",
            S3Bucket = "example-bucket-name",
            S3Region = "us-east-1",
            TimeUnit = "HOURLY",
        });
    
    });
    
    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, "exampleCurReportDefinition", &cur.ReportDefinitionArgs{
    			AdditionalArtifacts: pulumi.StringArray{
    				pulumi.String("REDSHIFT"),
    				pulumi.String("QUICKSIGHT"),
    			},
    			AdditionalSchemaElements: pulumi.StringArray{
    				pulumi.String("RESOURCES"),
    				pulumi.String("SPLIT_COST_ALLOCATION_DATA"),
    			},
    			Compression: pulumi.String("GZIP"),
    			Format:      pulumi.String("textORcsv"),
    			ReportName:  pulumi.String("example-cur-report-definition"),
    			S3Bucket:    pulumi.String("example-bucket-name"),
    			S3Region:    pulumi.String("us-east-1"),
    			TimeUnit:    pulumi.String("HOURLY"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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()        
                .additionalArtifacts(            
                    "REDSHIFT",
                    "QUICKSIGHT")
                .additionalSchemaElements(            
                    "RESOURCES",
                    "SPLIT_COST_ALLOCATION_DATA")
                .compression("GZIP")
                .format("textORcsv")
                .reportName("example-cur-report-definition")
                .s3Bucket("example-bucket-name")
                .s3Region("us-east-1")
                .timeUnit("HOURLY")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aws as aws
    
    example_cur_report_definition = aws.cur.ReportDefinition("exampleCurReportDefinition",
        additional_artifacts=[
            "REDSHIFT",
            "QUICKSIGHT",
        ],
        additional_schema_elements=[
            "RESOURCES",
            "SPLIT_COST_ALLOCATION_DATA",
        ],
        compression="GZIP",
        format="textORcsv",
        report_name="example-cur-report-definition",
        s3_bucket="example-bucket-name",
        s3_region="us-east-1",
        time_unit="HOURLY")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const exampleCurReportDefinition = new aws.cur.ReportDefinition("exampleCurReportDefinition", {
        additionalArtifacts: [
            "REDSHIFT",
            "QUICKSIGHT",
        ],
        additionalSchemaElements: [
            "RESOURCES",
            "SPLIT_COST_ALLOCATION_DATA",
        ],
        compression: "GZIP",
        format: "textORcsv",
        reportName: "example-cur-report-definition",
        s3Bucket: "example-bucket-name",
        s3Region: "us-east-1",
        timeUnit: "HOURLY",
    });
    
    resources:
      exampleCurReportDefinition:
        type: aws:cur:ReportDefinition
        properties:
          additionalArtifacts:
            - REDSHIFT
            - QUICKSIGHT
          additionalSchemaElements:
            - RESOURCES
            - SPLIT_COST_ALLOCATION_DATA
          compression: GZIP
          format: textORcsv
          reportName: example-cur-report-definition
          s3Bucket: example-bucket-name
          s3Region: us-east-1
          timeUnit: HOURLY
    

    Create ReportDefinition Resource

    new ReportDefinition(name: string, args: ReportDefinitionArgs, opts?: CustomResourceOptions);
    @overload
    def ReportDefinition(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         additional_artifacts: Optional[Sequence[str]] = None,
                         additional_schema_elements: Optional[Sequence[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,
                         time_unit: Optional[str] = None)
    @overload
    def ReportDefinition(resource_name: str,
                         args: ReportDefinitionArgs,
                         opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    The ReportDefinition resource accepts the following input properties:

    AdditionalSchemaElements List<string>
    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. If Parquet is used, then format must also be Parquet.
    Format string
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    ReportName 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.
    TimeUnit string
    The frequency on which report data are measured and displayed. Valid values are: DAILY, HOURLY, MONTHLY.
    AdditionalArtifacts 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 be OVERWRITE_REPORT.
    RefreshClosedReports bool
    Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
    ReportVersioning 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 and OVERWRITE_REPORT.
    S3Prefix string
    Report path prefix. Limited to 256 characters.
    AdditionalSchemaElements []string
    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. If Parquet is used, then format must also be Parquet.
    Format string
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    ReportName 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.
    TimeUnit string
    The frequency on which report data are measured and displayed. Valid values are: DAILY, HOURLY, MONTHLY.
    AdditionalArtifacts []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 be OVERWRITE_REPORT.
    RefreshClosedReports bool
    Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
    ReportVersioning 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 and OVERWRITE_REPORT.
    S3Prefix string
    Report path prefix. Limited to 256 characters.
    additionalSchemaElements List<String>
    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. If Parquet is used, then format must also be Parquet.
    format String
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    reportName 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.
    timeUnit String
    The frequency on which report data are measured and displayed. Valid values are: DAILY, HOURLY, MONTHLY.
    additionalArtifacts 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 be OVERWRITE_REPORT.
    refreshClosedReports Boolean
    Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
    reportVersioning 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 and OVERWRITE_REPORT.
    s3Prefix String
    Report path prefix. Limited to 256 characters.
    additionalSchemaElements string[]
    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. If Parquet is used, then format must also be Parquet.
    format string
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    reportName 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.
    timeUnit string
    The frequency on which report data are measured and displayed. Valid values are: DAILY, HOURLY, MONTHLY.
    additionalArtifacts 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 be OVERWRITE_REPORT.
    refreshClosedReports boolean
    Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
    reportVersioning 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 and OVERWRITE_REPORT.
    s3Prefix string
    Report path prefix. Limited to 256 characters.
    additional_schema_elements Sequence[str]
    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. If Parquet is used, then format must also be Parquet.
    format str
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    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 be OVERWRITE_REPORT.
    refresh_closed_reports bool
    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 and OVERWRITE_REPORT.
    s3_prefix str
    Report path prefix. Limited to 256 characters.
    additionalSchemaElements List<String>
    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. If Parquet is used, then format must also be Parquet.
    format String
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    reportName 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.
    timeUnit String
    The frequency on which report data are measured and displayed. Valid values are: DAILY, HOURLY, MONTHLY.
    additionalArtifacts 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 be OVERWRITE_REPORT.
    refreshClosedReports Boolean
    Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
    reportVersioning 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 and OVERWRITE_REPORT.
    s3Prefix String
    Report path prefix. Limited to 256 characters.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ReportDefinition resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) specifying the cur report.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The Amazon Resource Name (ARN) specifying the cur report.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) specifying the cur report.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The Amazon Resource Name (ARN) specifying the cur report.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The Amazon Resource Name (ARN) specifying the cur report.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) specifying the cur report.
    id String
    The provider-assigned unique ID for this managed resource.

    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,
            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.
    The following state arguments are supported:
    AdditionalArtifacts 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 be OVERWRITE_REPORT.
    AdditionalSchemaElements List<string>
    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. If Parquet is used, then format must also be Parquet.
    Format string
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    RefreshClosedReports bool
    Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
    ReportName string
    Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
    ReportVersioning 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 and OVERWRITE_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.
    TimeUnit string
    The frequency on which report data are measured and displayed. Valid values are: DAILY, HOURLY, MONTHLY.
    AdditionalArtifacts []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 be OVERWRITE_REPORT.
    AdditionalSchemaElements []string
    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. If Parquet is used, then format must also be Parquet.
    Format string
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    RefreshClosedReports bool
    Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
    ReportName string
    Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
    ReportVersioning 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 and OVERWRITE_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.
    TimeUnit string
    The frequency on which report data are measured and displayed. Valid values are: DAILY, HOURLY, MONTHLY.
    additionalArtifacts 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 be OVERWRITE_REPORT.
    additionalSchemaElements List<String>
    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. If Parquet is used, then format must also be Parquet.
    format String
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    refreshClosedReports Boolean
    Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
    reportName String
    Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
    reportVersioning 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 and OVERWRITE_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.
    timeUnit String
    The frequency on which report data are measured and displayed. Valid values are: DAILY, HOURLY, MONTHLY.
    additionalArtifacts 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 be OVERWRITE_REPORT.
    additionalSchemaElements string[]
    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. If Parquet is used, then format must also be Parquet.
    format string
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    refreshClosedReports boolean
    Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
    reportName string
    Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
    reportVersioning 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 and OVERWRITE_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.
    timeUnit 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 be OVERWRITE_REPORT.
    additional_schema_elements Sequence[str]
    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. If Parquet is used, then format must also be Parquet.
    format str
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    refresh_closed_reports bool
    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 and OVERWRITE_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.
    time_unit str
    The frequency on which report data are measured and displayed. Valid values are: DAILY, HOURLY, MONTHLY.
    additionalArtifacts 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 be OVERWRITE_REPORT.
    additionalSchemaElements List<String>
    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. If Parquet is used, then format must also be Parquet.
    format String
    Format for report. Valid values are: textORcsv, Parquet. If Parquet is used, then Compression must also be Parquet.
    refreshClosedReports Boolean
    Set to true to update your reports after they have been finalized if AWS detects charges related to previous months.
    reportName String
    Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
    reportVersioning 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 and OVERWRITE_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.
    timeUnit 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
    

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.23.0 published on Thursday, Feb 22, 2024 by Pulumi