Report Plan Args
data class ReportPlanArgs(val description: Output<String>? = null, val name: Output<String>? = null, val reportDeliveryChannel: Output<ReportPlanReportDeliveryChannelArgs>? = null, val reportSetting: Output<ReportPlanReportSettingArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ReportPlanArgs>
Provides an AWS Backup Report Plan resource.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.backup.ReportPlan;
import com.pulumi.aws.backup.ReportPlanArgs;
import com.pulumi.aws.backup.inputs.ReportPlanReportDeliveryChannelArgs;
import com.pulumi.aws.backup.inputs.ReportPlanReportSettingArgs;
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 example = new ReportPlan("example", ReportPlanArgs.builder()
.description("example description")
.reportDeliveryChannel(ReportPlanReportDeliveryChannelArgs.builder()
.formats(
"CSV",
"JSON")
.s3BucketName("example-bucket-name")
.build())
.reportSetting(ReportPlanReportSettingArgs.builder()
.reportTemplate("RESTORE_JOB_REPORT")
.build())
.tags(Map.of("Name", "Example Report Plan"))
.build());
}
}
Content copied to clipboard
Import
Backup Report Plan can be imported using the id
which corresponds to the name of the Backup Report Plan, e.g.,
$ pulumi import aws:backup/reportPlan:ReportPlan test <id>
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(description: Output<String>? = null, name: Output<String>? = null, reportDeliveryChannel: Output<ReportPlanReportDeliveryChannelArgs>? = null, reportSetting: Output<ReportPlanReportSettingArgs>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
The description of the report plan with a maximum of 1,024 characters
Link copied to clipboard
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.
Link copied to clipboard
An object that identifies the report template for the report. Reports are built using a report template. Detailed below.