Documentation
¶
Overview ¶
nolint: lll Package cur exports types, functions, subpackages for provisioning cur resources.
> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-aws) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-aws` repo](https://github.com/pulumi/pulumi-aws/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-aws` repo](https://github.com/terraform-providers/terraform-provider-aws/issues).
Index ¶
- type GetReportDefinitionArgs
- type GetReportDefinitionResult
- type ReportDefinition
- func (r *ReportDefinition) AdditionalArtifacts() *pulumi.ArrayOutput
- func (r *ReportDefinition) AdditionalSchemaElements() *pulumi.ArrayOutput
- func (r *ReportDefinition) Compression() *pulumi.StringOutput
- func (r *ReportDefinition) Format() *pulumi.StringOutput
- func (r *ReportDefinition) ID() *pulumi.IDOutput
- func (r *ReportDefinition) ReportName() *pulumi.StringOutput
- func (r *ReportDefinition) S3Bucket() *pulumi.StringOutput
- func (r *ReportDefinition) S3Prefix() *pulumi.StringOutput
- func (r *ReportDefinition) S3Region() *pulumi.StringOutput
- func (r *ReportDefinition) TimeUnit() *pulumi.StringOutput
- func (r *ReportDefinition) URN() *pulumi.URNOutput
- type ReportDefinitionArgs
- type ReportDefinitionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetReportDefinitionArgs ¶
type GetReportDefinitionArgs struct {
// The name of the report definition to match.
ReportName interface{}
}
A collection of arguments for invoking getReportDefinition.
type GetReportDefinitionResult ¶
type GetReportDefinitionResult struct { // A list of additional artifacts. AdditionalArtifacts interface{} // A list of schema elements. AdditionalSchemaElements interface{} // Preferred format for report. Compression interface{} // Preferred compression format for report. Format interface{} ReportName interface{} // Name of customer S3 bucket. S3Bucket interface{} // Preferred report path prefix. S3Prefix interface{} // Region of customer S3 bucket. S3Region interface{} // The frequency on which report data are measured and displayed. TimeUnit interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getReportDefinition.
func LookupReportDefinition ¶
func LookupReportDefinition(ctx *pulumi.Context, args *GetReportDefinitionArgs) (*GetReportDefinitionResult, error)
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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/cur_report_definition.html.markdown.
type ReportDefinition ¶
type ReportDefinition struct {
// contains filtered or unexported fields
}
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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/cur_report_definition.html.markdown.
func GetReportDefinition ¶
func GetReportDefinition(ctx *pulumi.Context, name string, id pulumi.ID, state *ReportDefinitionState, opts ...pulumi.ResourceOpt) (*ReportDefinition, error)
GetReportDefinition gets an existing ReportDefinition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewReportDefinition ¶
func NewReportDefinition(ctx *pulumi.Context, name string, args *ReportDefinitionArgs, opts ...pulumi.ResourceOpt) (*ReportDefinition, error)
NewReportDefinition registers a new resource with the given unique name, arguments, and options.
func (*ReportDefinition) AdditionalArtifacts ¶
func (r *ReportDefinition) AdditionalArtifacts() *pulumi.ArrayOutput
A list of additional artifacts. Valid values are: REDSHIFT, QUICKSIGHT.
func (*ReportDefinition) AdditionalSchemaElements ¶
func (r *ReportDefinition) AdditionalSchemaElements() *pulumi.ArrayOutput
A list of schema elements. Valid values are: RESOURCES.
func (*ReportDefinition) Compression ¶
func (r *ReportDefinition) Compression() *pulumi.StringOutput
Compression format for report. Valid values are: GZIP, ZIP.
func (*ReportDefinition) Format ¶
func (r *ReportDefinition) Format() *pulumi.StringOutput
Format for report. Valid values are: textORcsv.
func (*ReportDefinition) ID ¶
func (r *ReportDefinition) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ReportDefinition) ReportName ¶
func (r *ReportDefinition) ReportName() *pulumi.StringOutput
Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters.
func (*ReportDefinition) S3Bucket ¶
func (r *ReportDefinition) S3Bucket() *pulumi.StringOutput
Name of the existing S3 bucket to hold generated reports.
func (*ReportDefinition) S3Prefix ¶
func (r *ReportDefinition) S3Prefix() *pulumi.StringOutput
Report path prefix. Limited to 256 characters.
func (*ReportDefinition) S3Region ¶
func (r *ReportDefinition) S3Region() *pulumi.StringOutput
Region of the existing S3 bucket to hold generated reports.
func (*ReportDefinition) TimeUnit ¶
func (r *ReportDefinition) TimeUnit() *pulumi.StringOutput
The frequency on which report data are measured and displayed. Valid values are: HOURLY, DAILY.
func (*ReportDefinition) URN ¶
func (r *ReportDefinition) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ReportDefinitionArgs ¶
type ReportDefinitionArgs struct { // A list of additional artifacts. Valid values are: REDSHIFT, QUICKSIGHT. AdditionalArtifacts interface{} // A list of schema elements. Valid values are: RESOURCES. AdditionalSchemaElements interface{} // Compression format for report. Valid values are: GZIP, ZIP. Compression interface{} // Format for report. Valid values are: textORcsv. Format interface{} // Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters. ReportName interface{} // Name of the existing S3 bucket to hold generated reports. S3Bucket interface{} // Report path prefix. Limited to 256 characters. S3Prefix interface{} // Region of the existing S3 bucket to hold generated reports. S3Region interface{} // The frequency on which report data are measured and displayed. Valid values are: HOURLY, DAILY. TimeUnit interface{} }
The set of arguments for constructing a ReportDefinition resource.
type ReportDefinitionState ¶
type ReportDefinitionState struct { // A list of additional artifacts. Valid values are: REDSHIFT, QUICKSIGHT. AdditionalArtifacts interface{} // A list of schema elements. Valid values are: RESOURCES. AdditionalSchemaElements interface{} // Compression format for report. Valid values are: GZIP, ZIP. Compression interface{} // Format for report. Valid values are: textORcsv. Format interface{} // Unique name for the report. Must start with a number/letter and is case sensitive. Limited to 256 characters. ReportName interface{} // Name of the existing S3 bucket to hold generated reports. S3Bucket interface{} // Report path prefix. Limited to 256 characters. S3Prefix interface{} // Region of the existing S3 bucket to hold generated reports. S3Region interface{} // The frequency on which report data are measured and displayed. Valid values are: HOURLY, DAILY. TimeUnit interface{} }
Input properties used for looking up and filtering ReportDefinition resources.