AWS v6.71.0 published on Friday, Mar 7, 2025 by Pulumi
aws.backup.getReportPlan
Explore with Pulumi AI
Use this data source to get information on an existing backup report plan.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.backup.getReportPlan({
    name: "my_example_backup_report_plan_name",
});
import pulumi
import pulumi_aws as aws
example = aws.backup.get_report_plan(name="my_example_backup_report_plan_name")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/backup"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := backup.LookupReportPlan(ctx, &backup.LookupReportPlanArgs{
			Name: "my_example_backup_report_plan_name",
		}, nil)
		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 example = Aws.Backup.GetReportPlan.Invoke(new()
    {
        Name = "my_example_backup_report_plan_name",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.backup.BackupFunctions;
import com.pulumi.aws.backup.inputs.GetReportPlanArgs;
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) {
        final var example = BackupFunctions.getReportPlan(GetReportPlanArgs.builder()
            .name("my_example_backup_report_plan_name")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:backup:getReportPlan
      arguments:
        name: my_example_backup_report_plan_name
Using getReportPlan
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getReportPlan(args: GetReportPlanArgs, opts?: InvokeOptions): Promise<GetReportPlanResult>
function getReportPlanOutput(args: GetReportPlanOutputArgs, opts?: InvokeOptions): Output<GetReportPlanResult>def get_report_plan(name: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    opts: Optional[InvokeOptions] = None) -> GetReportPlanResult
def get_report_plan_output(name: Optional[pulumi.Input[str]] = None,
                    tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetReportPlanResult]func LookupReportPlan(ctx *Context, args *LookupReportPlanArgs, opts ...InvokeOption) (*LookupReportPlanResult, error)
func LookupReportPlanOutput(ctx *Context, args *LookupReportPlanOutputArgs, opts ...InvokeOption) LookupReportPlanResultOutput> Note: This function is named LookupReportPlan in the Go SDK.
public static class GetReportPlan 
{
    public static Task<GetReportPlanResult> InvokeAsync(GetReportPlanArgs args, InvokeOptions? opts = null)
    public static Output<GetReportPlanResult> Invoke(GetReportPlanInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetReportPlanResult> getReportPlan(GetReportPlanArgs args, InvokeOptions options)
public static Output<GetReportPlanResult> getReportPlan(GetReportPlanArgs args, InvokeOptions options)
fn::invoke:
  function: aws:backup/getReportPlan:getReportPlan
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Backup report plan name.
- Dictionary<string, string>
- Metadata that you can assign to help organize the report plans you create.
- Name string
- Backup report plan name.
- map[string]string
- Metadata that you can assign to help organize the report plans you create.
- name String
- Backup report plan name.
- Map<String,String>
- Metadata that you can assign to help organize the report plans you create.
- name string
- Backup report plan name.
- {[key: string]: string}
- Metadata that you can assign to help organize the report plans you create.
- name str
- Backup report plan name.
- Mapping[str, str]
- Metadata that you can assign to help organize the report plans you create.
- name String
- Backup report plan name.
- Map<String>
- Metadata that you can assign to help organize the report plans you create.
getReportPlan Result
The following output properties are available:
- Arn string
- ARN of the backup report plan.
- CreationTime string
- Date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
- DeploymentStatus string
- Deployment status of a report plan. The statuses are: CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED.
- Description string
- Description of the report plan.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- ReportDelivery List<GetChannels Report Plan Report Delivery Channel> 
- An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
- ReportSettings List<GetReport Plan Report Setting> 
- An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
- Dictionary<string, string>
- Metadata that you can assign to help organize the report plans you create.
- Arn string
- ARN of the backup report plan.
- CreationTime string
- Date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
- DeploymentStatus string
- Deployment status of a report plan. The statuses are: CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED.
- Description string
- Description of the report plan.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- ReportDelivery []GetChannels Report Plan Report Delivery Channel 
- An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
- ReportSettings []GetReport Plan Report Setting 
- An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
- map[string]string
- Metadata that you can assign to help organize the report plans you create.
- arn String
- ARN of the backup report plan.
- creationTime String
- Date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
- deploymentStatus String
- Deployment status of a report plan. The statuses are: CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED.
- description String
- Description of the report plan.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- reportDelivery List<GetChannels Report Plan Report Delivery Channel> 
- An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
- reportSettings List<GetReport Plan Report Setting> 
- An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
- Map<String,String>
- Metadata that you can assign to help organize the report plans you create.
- arn string
- ARN of the backup report plan.
- creationTime string
- Date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
- deploymentStatus string
- Deployment status of a report plan. The statuses are: CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED.
- description string
- Description of the report plan.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- reportDelivery GetChannels Report Plan Report Delivery Channel[] 
- An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
- reportSettings GetReport Plan Report Setting[] 
- An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
- {[key: string]: string}
- Metadata that you can assign to help organize the report plans you create.
- arn str
- ARN of the backup report plan.
- creation_time str
- Date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
- deployment_status str
- Deployment status of a report plan. The statuses are: CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED.
- description str
- Description of the report plan.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- report_delivery_ Sequence[Getchannels Report Plan Report Delivery Channel] 
- An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
- report_settings Sequence[GetReport Plan Report Setting] 
- An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
- Mapping[str, str]
- Metadata that you can assign to help organize the report plans you create.
- arn String
- ARN of the backup report plan.
- creationTime String
- Date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).
- deploymentStatus String
- Deployment status of a report plan. The statuses are: CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED.
- description String
- Description of the report plan.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- reportDelivery List<Property Map>Channels 
- An object that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. Detailed below.
- reportSettings List<Property Map>
- An object that identifies the report template for the report. Reports are built using a report template. Detailed below.
- Map<String>
- Metadata that you can assign to help organize the report plans you create.
Supporting Types
GetReportPlanReportDeliveryChannel     
- Formats List<string>
- List of the format of your reports: CSV, JSON, or both.
- S3BucketName string
- Unique name of the S3 bucket that receives your reports.
- S3KeyPrefix string
- Prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name.
- Formats []string
- List of the format of your reports: CSV, JSON, or both.
- S3BucketName string
- Unique name of the S3 bucket that receives your reports.
- S3KeyPrefix string
- Prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name.
- formats List<String>
- List of the format of your reports: CSV, JSON, or both.
- s3BucketName String
- Unique name of the S3 bucket that receives your reports.
- s3KeyPrefix String
- Prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name.
- formats string[]
- List of the format of your reports: CSV, JSON, or both.
- s3BucketName string
- Unique name of the S3 bucket that receives your reports.
- s3KeyPrefix string
- Prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name.
- formats Sequence[str]
- List of the format of your reports: CSV, JSON, or both.
- s3_bucket_ strname 
- Unique name of the S3 bucket that receives your reports.
- s3_key_ strprefix 
- Prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name.
- formats List<String>
- List of the format of your reports: CSV, JSON, or both.
- s3BucketName String
- Unique name of the S3 bucket that receives your reports.
- s3KeyPrefix String
- Prefix for where Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name.
GetReportPlanReportSetting    
- Accounts List<string>
- (Optional) Specifies the list of accounts a report covers.
- FrameworkArns List<string>
- ARNs of the frameworks a report covers.
- NumberOf intFrameworks 
- Specifies the number of frameworks a report covers.
- OrganizationUnits List<string>
- (Optional) Specifies the list of Organizational Units a report covers.
- Regions List<string>
- (Optional) Specifies the list of regions a report covers.
- ReportTemplate string
- Identifies the report template for the report. Reports are built using a report template.
- Accounts []string
- (Optional) Specifies the list of accounts a report covers.
- FrameworkArns []string
- ARNs of the frameworks a report covers.
- NumberOf intFrameworks 
- Specifies the number of frameworks a report covers.
- OrganizationUnits []string
- (Optional) Specifies the list of Organizational Units a report covers.
- Regions []string
- (Optional) Specifies the list of regions a report covers.
- ReportTemplate string
- Identifies the report template for the report. Reports are built using a report template.
- accounts List<String>
- (Optional) Specifies the list of accounts a report covers.
- frameworkArns List<String>
- ARNs of the frameworks a report covers.
- numberOf IntegerFrameworks 
- Specifies the number of frameworks a report covers.
- organizationUnits List<String>
- (Optional) Specifies the list of Organizational Units a report covers.
- regions List<String>
- (Optional) Specifies the list of regions a report covers.
- reportTemplate String
- Identifies the report template for the report. Reports are built using a report template.
- accounts string[]
- (Optional) Specifies the list of accounts a report covers.
- frameworkArns string[]
- ARNs of the frameworks a report covers.
- numberOf numberFrameworks 
- Specifies the number of frameworks a report covers.
- organizationUnits string[]
- (Optional) Specifies the list of Organizational Units a report covers.
- regions string[]
- (Optional) Specifies the list of regions a report covers.
- reportTemplate string
- Identifies the report template for the report. Reports are built using a report template.
- accounts Sequence[str]
- (Optional) Specifies the list of accounts a report covers.
- framework_arns Sequence[str]
- ARNs of the frameworks a report covers.
- number_of_ intframeworks 
- Specifies the number of frameworks a report covers.
- organization_units Sequence[str]
- (Optional) Specifies the list of Organizational Units a report covers.
- regions Sequence[str]
- (Optional) Specifies the list of regions a report covers.
- report_template str
- Identifies the report template for the report. Reports are built using a report template.
- accounts List<String>
- (Optional) Specifies the list of accounts a report covers.
- frameworkArns List<String>
- ARNs of the frameworks a report covers.
- numberOf NumberFrameworks 
- Specifies the number of frameworks a report covers.
- organizationUnits List<String>
- (Optional) Specifies the list of Organizational Units a report covers.
- regions List<String>
- (Optional) Specifies the list of regions a report covers.
- reportTemplate String
- Identifies the report template for the report. Reports are built using a report template.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.