1. Packages
  2. AWS
  3. API Docs
  4. cur
  5. ReportDefinition
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.cur.ReportDefinition

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 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

    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

    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.
    Tags 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.
    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.
    Tags 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.
    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.
    tags 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.
    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.
    tags {[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_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.
    tags 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.
    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.
    tags 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:

    Arn string
    The Amazon Resource Name (ARN) specifying the cur report.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    The Amazon Resource Name (ARN) specifying the cur report.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) specifying the cur report.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    The Amazon Resource Name (ARN) specifying the cur report.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    The Amazon Resource Name (ARN) specifying the cur report.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    The Amazon Resource Name (ARN) specifying the cur report.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    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.
    Tags 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.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    Tags 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.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    tags 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.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    tags {[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.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    tags 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.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    tags 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.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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
    

    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.
    aws logo
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi