cur

class pulumi_aws.cur.GetReportDefinitionResult(additional_artifacts=None, additional_schema_elements=None, compression=None, format=None, report_name=None, s3_bucket=None, s3_prefix=None, s3_region=None, time_unit=None, id=None)

A collection of values returned by getReportDefinition.

additional_artifacts = None

A list of additional artifacts.

additional_schema_elements = None

A list of schema elements.

compression = None

Preferred format for report.

format = None

Preferred compression format for report.

s3_bucket = None

Name of customer S3 bucket.

s3_prefix = None

Preferred report path prefix.

s3_region = None

Region of customer S3 bucket.

time_unit = None

The frequency on which report data are measured and displayed.

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_aws.cur.ReportDefinition(resource_name, opts=None, additional_artifacts=None, additional_schema_elements=None, compression=None, format=None, report_name=None, s3_bucket=None, s3_prefix=None, s3_region=None, time_unit=None, __name__=None, __opts__=None)

Manages Cost and Usage Report Definitions.

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

NOTE: If AWS Organizations is enabled, only the master account can use this resource.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • additional_artifacts (pulumi.Input[list]) – A list of additional artifacts. Valid values are: REDSHIFT, QUICKSIGHT.
  • additional_schema_elements (pulumi.Input[list]) – A list of schema elements. Valid values are: RESOURCES.
  • compression (pulumi.Input[str]) – Compression format for report. Valid values are: GZIP, ZIP.
  • format (pulumi.Input[str]) – Format for report. Valid values are: textORcsv.
  • report_name (pulumi.Input[str]) – Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
  • s3_bucket (pulumi.Input[str]) – Name of the existing S3 bucket to hold generated reports.
  • s3_prefix (pulumi.Input[str]) – Report path prefix. Limited to 256 characters.
  • s3_region (pulumi.Input[str]) – Region of the existing S3 bucket to hold generated reports.
  • time_unit (pulumi.Input[str]) – The frequency on which report data are measured and displayed. Valid values are: HOURLY, DAILY.
additional_artifacts = None

A list of additional artifacts. Valid values are: REDSHIFT, QUICKSIGHT.

additional_schema_elements = None

A list of schema elements. Valid values are: RESOURCES.

compression = None

Compression format for report. Valid values are: GZIP, ZIP.

format = None

Format for report. Valid values are: textORcsv.

report_name = None

Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.

s3_bucket = None

Name of the existing S3 bucket to hold generated reports.

s3_prefix = None

Report path prefix. Limited to 256 characters.

s3_region = None

Region of the existing S3 bucket to hold generated reports.

time_unit = None

The frequency on which report data are measured and displayed. Valid values are: HOURLY, DAILY.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_aws.cur.get_report_definition(report_name=None, opts=None)

Use this data source to get information on an AWS Cost and Usage Report Definition.

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

NOTE: If AWS Organizations is enabled, only the master account can use this resource.