We recommend new projects start with resources from the AWS provider.
aws-native.backup.RestoreTestingPlan
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::Backup::RestoreTestingPlan Resource Type
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[RestoreTestingPlanRestoreTestingRecoveryPointSelectionArgs] = None,
                       schedule_expression: Optional[str] = None,
                       restore_testing_plan_name: Optional[str] = None,
                       schedule_expression_timezone: Optional[str] = None,
                       schedule_status: Optional[RestoreTestingPlanRestoreTestingScheduleStatus] = None,
                       start_window_hours: Optional[int] = None,
                       tags: Optional[Sequence[_root_inputs.TagArgs]] = 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-native:backup:RestoreTestingPlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
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.
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:
- RecoveryPoint Pulumi.Selection Aws Native. Backup. Inputs. Restore Testing Plan Restore Testing Recovery Point Selection 
- The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- ScheduleExpression string
- A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression cron(0 5 ? * * *).
- RestoreTesting stringPlan Name 
- The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
- ScheduleExpression stringTimezone 
- Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
- ScheduleStatus Pulumi.Aws Native. Backup. Restore Testing Plan Restore Testing Schedule Status 
- This parameter is not currently supported.
- StartWindow intHours 
- Defaults to 24 hours. - A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week). 
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: + - = . _ : /.
- RecoveryPoint RestoreSelection Testing Plan Restore Testing Recovery Point Selection Args 
- The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- ScheduleExpression string
- A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression cron(0 5 ? * * *).
- RestoreTesting stringPlan Name 
- The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
- ScheduleExpression stringTimezone 
- Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
- ScheduleStatus RestoreTesting Plan Restore Testing Schedule Status 
- This parameter is not currently supported.
- StartWindow intHours 
- Defaults to 24 hours. - A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week). 
- 
TagArgs 
- Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: + - = . _ : /.
- recoveryPoint RestoreSelection Testing Plan Restore Testing Recovery Point Selection 
- The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- scheduleExpression String
- A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression cron(0 5 ? * * *).
- restoreTesting StringPlan Name 
- The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
- scheduleExpression StringTimezone 
- Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
- scheduleStatus RestoreTesting Plan Restore Testing Schedule Status 
- This parameter is not currently supported.
- startWindow IntegerHours 
- Defaults to 24 hours. - A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week). 
- List<Tag>
- Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: + - = . _ : /.
- recoveryPoint RestoreSelection Testing Plan Restore Testing Recovery Point Selection 
- The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- scheduleExpression string
- A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression cron(0 5 ? * * *).
- restoreTesting stringPlan Name 
- The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
- scheduleExpression stringTimezone 
- Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
- scheduleStatus RestoreTesting Plan Restore Testing Schedule Status 
- This parameter is not currently supported.
- startWindow numberHours 
- Defaults to 24 hours. - A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week). 
- Tag[]
- Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: + - = . _ : /.
- recovery_point_ Restoreselection Testing Plan Restore Testing Recovery Point Selection Args 
- The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- schedule_expression str
- A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression cron(0 5 ? * * *).
- restore_testing_ strplan_ name 
- The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
- schedule_expression_ strtimezone 
- Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
- schedule_status RestoreTesting Plan Restore Testing Schedule Status 
- This parameter is not currently supported.
- start_window_ inthours 
- Defaults to 24 hours. - A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week). 
- 
Sequence[TagArgs] 
- Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: + - = . _ : /.
- recoveryPoint Property MapSelection 
- The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- scheduleExpression String
- A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression cron(0 5 ? * * *).
- restoreTesting StringPlan Name 
- The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
- scheduleExpression StringTimezone 
- Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.
- scheduleStatus "ACTIVE" | "SUSPENDED"
- This parameter is not currently supported.
- startWindow NumberHours 
- Defaults to 24 hours. - A value in hours after a restore test is scheduled before a job will be canceled if it doesn't start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week). 
- List<Property Map>
- Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters,numbers, spaces, and the following characters: + - = . _ : /.
Outputs
All input properties are implicitly available as output properties. Additionally, the RestoreTestingPlan resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- RestoreTesting stringPlan Arn 
- An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- Id string
- The provider-assigned unique ID for this managed resource.
- RestoreTesting stringPlan Arn 
- An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- id String
- The provider-assigned unique ID for this managed resource.
- restoreTesting StringPlan Arn 
- An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- id string
- The provider-assigned unique ID for this managed resource.
- restoreTesting stringPlan Arn 
- An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- id str
- The provider-assigned unique ID for this managed resource.
- restore_testing_ strplan_ arn 
- An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- id String
- The provider-assigned unique ID for this managed resource.
- restoreTesting StringPlan Arn 
- An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
Supporting Types
RestoreTestingPlanRestoreTestingRecoveryPointSelection, RestoreTestingPlanRestoreTestingRecoveryPointSelectionArgs                
- Algorithm
Pulumi.Aws Native. Backup. Restore Testing Plan Restore Testing Recovery Point Selection Algorithm 
- Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
- IncludeVaults List<string>
- Accepted values include wildcard [""] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:::backup-vault:asdf-", ...]
- RecoveryPoint List<Pulumi.Types Aws Native. Backup. Restore Testing Plan Restore Testing Recovery Point Type> 
- These are the types of recovery points. - Include - SNAPSHOTto restore only snapshot recovery points; include- CONTINUOUSto restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value for- Algorithm.
- ExcludeVaults List<string>
- Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
- SelectionWindow intDays 
- Accepted values are integers from 1 to 365.
- Algorithm
RestoreTesting Plan Restore Testing Recovery Point Selection Algorithm 
- Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
- IncludeVaults []string
- Accepted values include wildcard [""] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:::backup-vault:asdf-", ...]
- RecoveryPoint []RestoreTypes Testing Plan Restore Testing Recovery Point Type 
- These are the types of recovery points. - Include - SNAPSHOTto restore only snapshot recovery points; include- CONTINUOUSto restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value for- Algorithm.
- ExcludeVaults []string
- Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
- SelectionWindow intDays 
- Accepted values are integers from 1 to 365.
- algorithm
RestoreTesting Plan Restore Testing Recovery Point Selection Algorithm 
- Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
- includeVaults List<String>
- Accepted values include wildcard [""] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:::backup-vault:asdf-", ...]
- recoveryPoint List<RestoreTypes Testing Plan Restore Testing Recovery Point Type> 
- These are the types of recovery points. - Include - SNAPSHOTto restore only snapshot recovery points; include- CONTINUOUSto restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value for- Algorithm.
- excludeVaults List<String>
- Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
- selectionWindow IntegerDays 
- Accepted values are integers from 1 to 365.
- algorithm
RestoreTesting Plan Restore Testing Recovery Point Selection Algorithm 
- Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
- includeVaults string[]
- Accepted values include wildcard [""] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:::backup-vault:asdf-", ...]
- recoveryPoint RestoreTypes Testing Plan Restore Testing Recovery Point Type[] 
- These are the types of recovery points. - Include - SNAPSHOTto restore only snapshot recovery points; include- CONTINUOUSto restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value for- Algorithm.
- excludeVaults string[]
- Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
- selectionWindow numberDays 
- Accepted values are integers from 1 to 365.
- algorithm
RestoreTesting Plan Restore Testing Recovery Point Selection Algorithm 
- Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
- include_vaults Sequence[str]
- Accepted values include wildcard [""] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:::backup-vault:asdf-", ...]
- recovery_point_ Sequence[Restoretypes Testing Plan Restore Testing Recovery Point Type] 
- These are the types of recovery points. - Include - SNAPSHOTto restore only snapshot recovery points; include- CONTINUOUSto restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value for- Algorithm.
- exclude_vaults Sequence[str]
- Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
- selection_window_ intdays 
- Accepted values are integers from 1 to 365.
- algorithm "LATEST_WITHIN_WINDOW" | "RANDOM_WITHIN_WINDOW"
- Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
- includeVaults List<String>
- Accepted values include wildcard [""] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:::backup-vault:asdf-", ...]
- recoveryPoint List<"SNAPSHOT" | "CONTINUOUS">Types 
- These are the types of recovery points. - Include - SNAPSHOTto restore only snapshot recovery points; include- CONTINUOUSto restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value for- Algorithm.
- excludeVaults List<String>
- Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
- selectionWindow NumberDays 
- Accepted values are integers from 1 to 365.
RestoreTestingPlanRestoreTestingRecoveryPointSelectionAlgorithm, RestoreTestingPlanRestoreTestingRecoveryPointSelectionAlgorithmArgs                  
- LatestWithin Window 
- LATEST_WITHIN_WINDOW
- RandomWithin Window 
- RANDOM_WITHIN_WINDOW
- RestoreTesting Plan Restore Testing Recovery Point Selection Algorithm Latest Within Window 
- LATEST_WITHIN_WINDOW
- RestoreTesting Plan Restore Testing Recovery Point Selection Algorithm Random Within Window 
- RANDOM_WITHIN_WINDOW
- LatestWithin Window 
- LATEST_WITHIN_WINDOW
- RandomWithin Window 
- RANDOM_WITHIN_WINDOW
- LatestWithin Window 
- LATEST_WITHIN_WINDOW
- RandomWithin Window 
- RANDOM_WITHIN_WINDOW
- LATEST_WITHIN_WINDOW
- LATEST_WITHIN_WINDOW
- RANDOM_WITHIN_WINDOW
- RANDOM_WITHIN_WINDOW
- "LATEST_WITHIN_WINDOW"
- LATEST_WITHIN_WINDOW
- "RANDOM_WITHIN_WINDOW"
- RANDOM_WITHIN_WINDOW
RestoreTestingPlanRestoreTestingRecoveryPointType, RestoreTestingPlanRestoreTestingRecoveryPointTypeArgs                
- Snapshot
- SNAPSHOT
- Continuous
- CONTINUOUS
- RestoreTesting Plan Restore Testing Recovery Point Type Snapshot 
- SNAPSHOT
- RestoreTesting Plan Restore Testing Recovery Point Type Continuous 
- CONTINUOUS
- Snapshot
- SNAPSHOT
- Continuous
- CONTINUOUS
- Snapshot
- SNAPSHOT
- Continuous
- CONTINUOUS
- SNAPSHOT
- SNAPSHOT
- CONTINUOUS
- CONTINUOUS
- "SNAPSHOT"
- SNAPSHOT
- "CONTINUOUS"
- CONTINUOUS
RestoreTestingPlanRestoreTestingScheduleStatus, RestoreTestingPlanRestoreTestingScheduleStatusArgs              
- Active
- ACTIVE
- Suspended
- SUSPENDED
- RestoreTesting Plan Restore Testing Schedule Status Active 
- ACTIVE
- RestoreTesting Plan Restore Testing Schedule Status Suspended 
- SUSPENDED
- Active
- ACTIVE
- Suspended
- SUSPENDED
- Active
- ACTIVE
- Suspended
- SUSPENDED
- ACTIVE
- ACTIVE
- SUSPENDED
- SUSPENDED
- "ACTIVE"
- ACTIVE
- "SUSPENDED"
- SUSPENDED
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.