Class GetReportDefinition
Inheritance
System.Object
GetReportDefinition
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Cur
Assembly: Pulumi.Aws.dll
Syntax
public static class GetReportDefinition
Methods
View SourceInvokeAsync(GetReportDefinitionArgs, InvokeOptions)
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-1currently.
NOTE: If AWS Organizations is enabled, only the master account can use this resource.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var reportDefinition = Output.Create(Aws.Cur.GetReportDefinition.InvokeAsync(new Aws.Cur.GetReportDefinitionArgs
{
ReportName = "example",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetReportDefinitionResult> InvokeAsync(GetReportDefinitionArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetReportDefinitionArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetReportDefinitionResult> |