1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. backup
  6. RestoreTestingPlan
Viewing docs for AWS v7.48.0
published on Tuesday, Sep 22, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.48.0
published on Tuesday, Sep 22, 2026 by Pulumi

    Resource for managing an AWS Backup Restore Testing Plan.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.backup.RestoreTestingPlan("example", {
        recoveryPointSelection: {
            algorithm: "LATEST_WITHIN_WINDOW",
            includeVaults: ["*"],
            recoveryPointTypes: ["CONTINUOUS"],
        },
        name: "example_restore_testing_plan",
        scheduleExpression: "cron(0 12 ? * * *)",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.backup.RestoreTestingPlan("example",
        recovery_point_selection={
            "algorithm": "LATEST_WITHIN_WINDOW",
            "include_vaults": ["*"],
            "recovery_point_types": ["CONTINUOUS"],
        },
        name="example_restore_testing_plan",
        schedule_expression="cron(0 12 ? * * *)")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/backup"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := backup.NewRestoreTestingPlan(ctx, "example", &backup.RestoreTestingPlanArgs{
    			RecoveryPointSelection: &backup.RestoreTestingPlanRecoveryPointSelectionArgs{
    				Algorithm: pulumi.String("LATEST_WITHIN_WINDOW"),
    				IncludeVaults: pulumi.StringArray{
    					pulumi.String("*"),
    				},
    				RecoveryPointTypes: pulumi.StringArray{
    					pulumi.String("CONTINUOUS"),
    				},
    			},
    			Name:               pulumi.String("example_restore_testing_plan"),
    			ScheduleExpression: pulumi.String("cron(0 12 ? * * *)"),
    		})
    		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 = new Aws.Backup.RestoreTestingPlan("example", new()
        {
            RecoveryPointSelection = new Aws.Backup.Inputs.RestoreTestingPlanRecoveryPointSelectionArgs
            {
                Algorithm = "LATEST_WITHIN_WINDOW",
                IncludeVaults = new[]
                {
                    "*",
                },
                RecoveryPointTypes = new[]
                {
                    "CONTINUOUS",
                },
            },
            Name = "example_restore_testing_plan",
            ScheduleExpression = "cron(0 12 ? * * *)",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.backup.RestoreTestingPlan;
    import com.pulumi.aws.backup.RestoreTestingPlanArgs;
    import com.pulumi.aws.backup.inputs.RestoreTestingPlanRecoveryPointSelectionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 RestoreTestingPlan("example", RestoreTestingPlanArgs.builder()
                .recoveryPointSelection(RestoreTestingPlanRecoveryPointSelectionArgs.builder()
                    .algorithm("LATEST_WITHIN_WINDOW")
                    .includeVaults("*")
                    .recoveryPointTypes("CONTINUOUS")
                    .build())
                .name("example_restore_testing_plan")
                .scheduleExpression("cron(0 12 ? * * *)")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:backup:RestoreTestingPlan
        properties:
          recoveryPointSelection:
            algorithm: LATEST_WITHIN_WINDOW
            includeVaults:
              - '*'
            recoveryPointTypes:
              - CONTINUOUS
          name: example_restore_testing_plan
          scheduleExpression: cron(0 12 ? * * *)
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_backup_restoretestingplan" "example" {
      recovery_point_selection = {
        algorithm            = "LATEST_WITHIN_WINDOW"
        include_vaults       = ["*"]
        recovery_point_types = ["CONTINUOUS"]
      }
      name                = "example_restore_testing_plan"
      schedule_expression = "cron(0 12 ? * * *)"
    }
    

    Create RestoreTestingPlan Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RestoreTestingPlan(name: string, args: RestoreTestingPlanArgs, opts?: CustomResourceOptions);
    @overload
    def RestoreTestingPlan(resource_name: str,
                           args: RestoreTestingPlanArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def RestoreTestingPlan(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           recovery_point_selection: Optional[RestoreTestingPlanRecoveryPointSelectionArgs] = None,
                           schedule_expression: Optional[str] = None,
                           name: Optional[str] = None,
                           region: Optional[str] = None,
                           schedule_expression_timezone: Optional[str] = None,
                           start_window_hours: Optional[int] = None,
                           tags: Optional[Mapping[str, str]] = None)
    func NewRestoreTestingPlan(ctx *Context, name string, args RestoreTestingPlanArgs, opts ...ResourceOption) (*RestoreTestingPlan, error)
    public RestoreTestingPlan(string name, RestoreTestingPlanArgs args, CustomResourceOptions? opts = null)
    public RestoreTestingPlan(String name, RestoreTestingPlanArgs args)
    public RestoreTestingPlan(String name, RestoreTestingPlanArgs args, CustomResourceOptions options)
    
    type: aws:backup:RestoreTestingPlan
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_backup_restore_testing_plan" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RestoreTestingPlanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RestoreTestingPlanArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RestoreTestingPlanArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RestoreTestingPlanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RestoreTestingPlanArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var restoreTestingPlanResource = new Aws.Backup.RestoreTestingPlan("restoreTestingPlanResource", new()
    {
        RecoveryPointSelection = new Aws.Backup.Inputs.RestoreTestingPlanRecoveryPointSelectionArgs
        {
            Algorithm = "string",
            IncludeVaults = new[]
            {
                "string",
            },
            RecoveryPointTypes = new[]
            {
                "string",
            },
            ExcludeVaults = new[]
            {
                "string",
            },
            SelectionWindowDays = 0,
        },
        ScheduleExpression = "string",
        Name = "string",
        Region = "string",
        ScheduleExpressionTimezone = "string",
        StartWindowHours = 0,
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := backup.NewRestoreTestingPlan(ctx, "restoreTestingPlanResource", &backup.RestoreTestingPlanArgs{
    	RecoveryPointSelection: &backup.RestoreTestingPlanRecoveryPointSelectionArgs{
    		Algorithm: pulumi.String("string"),
    		IncludeVaults: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		RecoveryPointTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ExcludeVaults: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SelectionWindowDays: pulumi.Int(0),
    	},
    	ScheduleExpression:         pulumi.String("string"),
    	Name:                       pulumi.String("string"),
    	Region:                     pulumi.String("string"),
    	ScheduleExpressionTimezone: pulumi.String("string"),
    	StartWindowHours:           pulumi.Int(0),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "aws_backup_restore_testing_plan" "restoreTestingPlanResource" {
      lifecycle {
        create_before_destroy = true
      }
      recovery_point_selection = {
        algorithm             = "string"
        include_vaults        = ["string"]
        recovery_point_types  = ["string"]
        exclude_vaults        = ["string"]
        selection_window_days = 0
      }
      schedule_expression          = "string"
      name                         = "string"
      region                       = "string"
      schedule_expression_timezone = "string"
      start_window_hours           = 0
      tags = {
        "string" = "string"
      }
    }
    
    var restoreTestingPlanResource = new RestoreTestingPlan("restoreTestingPlanResource", RestoreTestingPlanArgs.builder()
        .recoveryPointSelection(RestoreTestingPlanRecoveryPointSelectionArgs.builder()
            .algorithm("string")
            .includeVaults("string")
            .recoveryPointTypes("string")
            .excludeVaults("string")
            .selectionWindowDays(0)
            .build())
        .scheduleExpression("string")
        .name("string")
        .region("string")
        .scheduleExpressionTimezone("string")
        .startWindowHours(0)
        .tags(Map.of("string", "string"))
        .build());
    
    restore_testing_plan_resource = aws.backup.RestoreTestingPlan("restoreTestingPlanResource",
        recovery_point_selection={
            "algorithm": "string",
            "include_vaults": ["string"],
            "recovery_point_types": ["string"],
            "exclude_vaults": ["string"],
            "selection_window_days": 0,
        },
        schedule_expression="string",
        name="string",
        region="string",
        schedule_expression_timezone="string",
        start_window_hours=0,
        tags={
            "string": "string",
        })
    
    const restoreTestingPlanResource = new aws.backup.RestoreTestingPlan("restoreTestingPlanResource", {
        recoveryPointSelection: {
            algorithm: "string",
            includeVaults: ["string"],
            recoveryPointTypes: ["string"],
            excludeVaults: ["string"],
            selectionWindowDays: 0,
        },
        scheduleExpression: "string",
        name: "string",
        region: "string",
        scheduleExpressionTimezone: "string",
        startWindowHours: 0,
        tags: {
            string: "string",
        },
    });
    
    type: aws:backup:RestoreTestingPlan
    properties:
        name: string
        recoveryPointSelection:
            algorithm: string
            excludeVaults:
                - string
            includeVaults:
                - string
            recoveryPointTypes:
                - string
            selectionWindowDays: 0
        region: string
        scheduleExpression: string
        scheduleExpressionTimezone: string
        startWindowHours: 0
        tags:
            string: string
    

    RestoreTestingPlan Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RestoreTestingPlan resource accepts the following input properties:

    RecoveryPointSelection RestoreTestingPlanRecoveryPointSelection
    Recovery point selection configuration. See recoveryPointSelection below.
    ScheduleExpression string
    Schedule expression for the restore testing plan.
    Name string
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ScheduleExpressionTimezone string
    Timezone for the schedule expression. If not provided, the state value will be used.
    StartWindowHours int
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    RecoveryPointSelection RestoreTestingPlanRecoveryPointSelectionArgs
    Recovery point selection configuration. See recoveryPointSelection below.
    ScheduleExpression string
    Schedule expression for the restore testing plan.
    Name string
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ScheduleExpressionTimezone string
    Timezone for the schedule expression. If not provided, the state value will be used.
    StartWindowHours int
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    recovery_point_selection object
    Recovery point selection configuration. See recoveryPointSelection below.
    schedule_expression string
    Schedule expression for the restore testing plan.
    name string
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    schedule_expression_timezone string
    Timezone for the schedule expression. If not provided, the state value will be used.
    start_window_hours number
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    tags map(string)
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    recoveryPointSelection RestoreTestingPlanRecoveryPointSelection
    Recovery point selection configuration. See recoveryPointSelection below.
    scheduleExpression String
    Schedule expression for the restore testing plan.
    name String
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scheduleExpressionTimezone String
    Timezone for the schedule expression. If not provided, the state value will be used.
    startWindowHours Integer
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    recoveryPointSelection RestoreTestingPlanRecoveryPointSelection
    Recovery point selection configuration. See recoveryPointSelection below.
    scheduleExpression string
    Schedule expression for the restore testing plan.
    name string
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scheduleExpressionTimezone string
    Timezone for the schedule expression. If not provided, the state value will be used.
    startWindowHours number
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    recovery_point_selection RestoreTestingPlanRecoveryPointSelectionArgs
    Recovery point selection configuration. See recoveryPointSelection below.
    schedule_expression str
    Schedule expression for the restore testing plan.
    name str
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    schedule_expression_timezone str
    Timezone for the schedule expression. If not provided, the state value will be used.
    start_window_hours int
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    recoveryPointSelection Property Map
    Recovery point selection configuration. See recoveryPointSelection below.
    scheduleExpression String
    Schedule expression for the restore testing plan.
    name String
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scheduleExpressionTimezone String
    Timezone for the schedule expression. If not provided, the state value will be used.
    startWindowHours Number
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RestoreTestingPlan resource produces the following output properties:

    Arn string
    ARN of the Restore Testing Plan.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the Restore Testing Plan.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the Restore Testing Plan.
    id string
    The provider-assigned unique ID for this managed resource.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the Restore Testing Plan.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the Restore Testing Plan.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the Restore Testing Plan.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the Restore Testing Plan.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Look up Existing RestoreTestingPlan Resource

    Get an existing RestoreTestingPlan resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RestoreTestingPlanState, opts?: CustomResourceOptions): RestoreTestingPlan
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            name: Optional[str] = None,
            recovery_point_selection: Optional[RestoreTestingPlanRecoveryPointSelectionArgs] = None,
            region: Optional[str] = None,
            schedule_expression: Optional[str] = None,
            schedule_expression_timezone: Optional[str] = None,
            start_window_hours: Optional[int] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> RestoreTestingPlan
    func GetRestoreTestingPlan(ctx *Context, name string, id IDInput, state *RestoreTestingPlanState, opts ...ResourceOption) (*RestoreTestingPlan, error)
    public static RestoreTestingPlan Get(string name, Input<string> id, RestoreTestingPlanState? state, CustomResourceOptions? opts = null)
    public static RestoreTestingPlan get(String name, Output<String> id, RestoreTestingPlanState state, CustomResourceOptions options)
    resources:  _:    type: aws:backup:RestoreTestingPlan    get:      id: ${id}
    import {
      to = aws_backup_restore_testing_plan.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the Restore Testing Plan.
    Name string
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    RecoveryPointSelection RestoreTestingPlanRecoveryPointSelection
    Recovery point selection configuration. See recoveryPointSelection below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ScheduleExpression string
    Schedule expression for the restore testing plan.
    ScheduleExpressionTimezone string
    Timezone for the schedule expression. If not provided, the state value will be used.
    StartWindowHours int
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the Restore Testing Plan.
    Name string
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    RecoveryPointSelection RestoreTestingPlanRecoveryPointSelectionArgs
    Recovery point selection configuration. See recoveryPointSelection below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ScheduleExpression string
    Schedule expression for the restore testing plan.
    ScheduleExpressionTimezone string
    Timezone for the schedule expression. If not provided, the state value will be used.
    StartWindowHours int
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the Restore Testing Plan.
    name string
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    recovery_point_selection object
    Recovery point selection configuration. See recoveryPointSelection below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    schedule_expression string
    Schedule expression for the restore testing plan.
    schedule_expression_timezone string
    Timezone for the schedule expression. If not provided, the state value will be used.
    start_window_hours number
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    tags map(string)
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the Restore Testing Plan.
    name String
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    recoveryPointSelection RestoreTestingPlanRecoveryPointSelection
    Recovery point selection configuration. See recoveryPointSelection below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scheduleExpression String
    Schedule expression for the restore testing plan.
    scheduleExpressionTimezone String
    Timezone for the schedule expression. If not provided, the state value will be used.
    startWindowHours Integer
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the Restore Testing Plan.
    name string
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    recoveryPointSelection RestoreTestingPlanRecoveryPointSelection
    Recovery point selection configuration. See recoveryPointSelection below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scheduleExpression string
    Schedule expression for the restore testing plan.
    scheduleExpressionTimezone string
    Timezone for the schedule expression. If not provided, the state value will be used.
    startWindowHours number
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the Restore Testing Plan.
    name str
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    recovery_point_selection RestoreTestingPlanRecoveryPointSelectionArgs
    Recovery point selection configuration. See recoveryPointSelection below.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    schedule_expression str
    Schedule expression for the restore testing plan.
    schedule_expression_timezone str
    Timezone for the schedule expression. If not provided, the state value will be used.
    start_window_hours int
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the Restore Testing Plan.
    name String
    Name of the restore testing plan. Must be between 1 and 50 characters long and contain only alphanumeric characters and underscores.
    recoveryPointSelection Property Map
    Recovery point selection configuration. See recoveryPointSelection below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    scheduleExpression String
    Schedule expression for the restore testing plan.
    scheduleExpressionTimezone String
    Timezone for the schedule expression. If not provided, the state value will be used.
    startWindowHours Number
    Number of hours in the start window for the restore testing plan. Must be between 1 and 168.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Supporting Types

    RestoreTestingPlanRecoveryPointSelection, RestoreTestingPlanRecoveryPointSelectionArgs

    Algorithm string
    Algorithm used for selecting recovery points. Valid values are RANDOM_WITHIN_WINDOW and LATEST_WITHIN_WINDOW.
    IncludeVaults List<string>
    Backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to include all backup vaults.
    RecoveryPointTypes List<string>
    Types of recovery points to include in the selection. Valid values are CONTINUOUS and SNAPSHOT.
    ExcludeVaults List<string>
    Backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to exclude all backup vaults.
    SelectionWindowDays int
    Number of days within which the recovery points should be selected. Must be a value between 1 and 365.
    Algorithm string
    Algorithm used for selecting recovery points. Valid values are RANDOM_WITHIN_WINDOW and LATEST_WITHIN_WINDOW.
    IncludeVaults []string
    Backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to include all backup vaults.
    RecoveryPointTypes []string
    Types of recovery points to include in the selection. Valid values are CONTINUOUS and SNAPSHOT.
    ExcludeVaults []string
    Backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to exclude all backup vaults.
    SelectionWindowDays int
    Number of days within which the recovery points should be selected. Must be a value between 1 and 365.
    algorithm string
    Algorithm used for selecting recovery points. Valid values are RANDOM_WITHIN_WINDOW and LATEST_WITHIN_WINDOW.
    include_vaults list(string)
    Backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to include all backup vaults.
    recovery_point_types list(string)
    Types of recovery points to include in the selection. Valid values are CONTINUOUS and SNAPSHOT.
    exclude_vaults list(string)
    Backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to exclude all backup vaults.
    selection_window_days number
    Number of days within which the recovery points should be selected. Must be a value between 1 and 365.
    algorithm String
    Algorithm used for selecting recovery points. Valid values are RANDOM_WITHIN_WINDOW and LATEST_WITHIN_WINDOW.
    includeVaults List<String>
    Backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to include all backup vaults.
    recoveryPointTypes List<String>
    Types of recovery points to include in the selection. Valid values are CONTINUOUS and SNAPSHOT.
    excludeVaults List<String>
    Backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to exclude all backup vaults.
    selectionWindowDays Integer
    Number of days within which the recovery points should be selected. Must be a value between 1 and 365.
    algorithm string
    Algorithm used for selecting recovery points. Valid values are RANDOM_WITHIN_WINDOW and LATEST_WITHIN_WINDOW.
    includeVaults string[]
    Backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to include all backup vaults.
    recoveryPointTypes string[]
    Types of recovery points to include in the selection. Valid values are CONTINUOUS and SNAPSHOT.
    excludeVaults string[]
    Backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to exclude all backup vaults.
    selectionWindowDays number
    Number of days within which the recovery points should be selected. Must be a value between 1 and 365.
    algorithm str
    Algorithm used for selecting recovery points. Valid values are RANDOM_WITHIN_WINDOW and LATEST_WITHIN_WINDOW.
    include_vaults Sequence[str]
    Backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to include all backup vaults.
    recovery_point_types Sequence[str]
    Types of recovery points to include in the selection. Valid values are CONTINUOUS and SNAPSHOT.
    exclude_vaults Sequence[str]
    Backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to exclude all backup vaults.
    selection_window_days int
    Number of days within which the recovery points should be selected. Must be a value between 1 and 365.
    algorithm String
    Algorithm used for selecting recovery points. Valid values are RANDOM_WITHIN_WINDOW and LATEST_WITHIN_WINDOW.
    includeVaults List<String>
    Backup vaults to include in the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to include all backup vaults.
    recoveryPointTypes List<String>
    Types of recovery points to include in the selection. Valid values are CONTINUOUS and SNAPSHOT.
    excludeVaults List<String>
    Backup vaults to exclude from the recovery point selection. Each value must be a valid AWS ARN for a backup vault or * to exclude all backup vaults.
    selectionWindowDays Number
    Number of days within which the recovery points should be selected. Must be a value between 1 and 365.

    Import

    Using pulumi import, import Backup Restore Testing Plan using the name. For example:

    $ pulumi import aws:backup/restoreTestingPlan:RestoreTestingPlan example my_testing_plan
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.48.0
    published on Tuesday, Sep 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial