ReportPlan

class ReportPlan : KotlinCustomResource

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());
}
}

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>

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the backup report plan.

Link copied to clipboard
val creationTime: Output<String>

The date and time that a report plan is created, in Unix format and Coordinated Universal Time (UTC).

Link copied to clipboard

The deployment status of a report plan. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED.

Link copied to clipboard
val description: Output<String>?

The description of the report plan with a maximum of 1,024 characters

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters, numbers, and underscores.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
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.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Metadata that you can assign to help organize the report plans you create. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>