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:
- Recovery
Point 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.
- Schedule
Expression string - A CRON expression in specified timezone when a restore testing plan is executed.
- Restore
Testing 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.
- Schedule
Expression 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.
- Schedule
Status Pulumi.Aws Native. Backup. Restore Testing 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).
- 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:
+ - = . _ : /.
- 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 string - A CRON expression in specified timezone when a restore testing plan is executed.
- Restore
Testing 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.
- Schedule
Expression 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.
- 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).
- Tag
Args - 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 - The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- schedule
Expression String - A CRON expression in specified timezone when a restore testing plan is executed.
- restore
Testing 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.
- schedule
Expression 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.
- schedule
Status RestoreTesting Plan Restore Testing Schedule Status - This parameter is not currently supported.
- start
Window 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:
+ - = . _ : /.
- recovery
Point 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.
- schedule
Expression string - A CRON expression in specified timezone when a restore testing plan is executed.
- restore
Testing 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.
- schedule
Expression 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.
- schedule
Status RestoreTesting Plan Restore Testing Schedule Status - This parameter is not currently supported.
- start
Window 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.
- 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[Tag
Args] - 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 Property MapSelection - The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- schedule
Expression String - A CRON expression in specified timezone when a restore testing plan is executed.
- restore
Testing 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.
- schedule
Expression 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.
- schedule
Status "ACTIVE" | "SUSPENDED" - This parameter is not currently supported.
- start
Window 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.
- Restore
Testing 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.
- Restore
Testing 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.
- restore
Testing 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.
- restore
Testing 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.
- restore
Testing 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"
- Include
Vaults 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-", ...]
- Recovery
Point List<Pulumi.Types Aws Native. Backup. Restore Testing Plan Restore Testing Recovery Point Type> These are the types of recovery points.
Include
SNAPSHOT
to restore only snapshot recovery points; includeCONTINUOUS
to 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 forAlgorithm
.- Exclude
Vaults List<string> - 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
Restore
Testing Plan Restore Testing Recovery Point Selection Algorithm - Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
- Include
Vaults []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-", ...]
- Recovery
Point []RestoreTypes Testing Plan Restore Testing Recovery Point Type These are the types of recovery points.
Include
SNAPSHOT
to restore only snapshot recovery points; includeCONTINUOUS
to 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 forAlgorithm
.- Exclude
Vaults []string - 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
Restore
Testing Plan Restore Testing Recovery Point Selection Algorithm - Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
- include
Vaults 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-", ...]
- recovery
Point List<RestoreTypes Testing Plan Restore Testing Recovery Point Type> These are the types of recovery points.
Include
SNAPSHOT
to restore only snapshot recovery points; includeCONTINUOUS
to 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 forAlgorithm
.- exclude
Vaults List<String> - Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
- selection
Window IntegerDays - Accepted values are integers from 1 to 365.
- algorithm
Restore
Testing Plan Restore Testing Recovery Point Selection Algorithm - Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW"
- include
Vaults 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-", ...]
- recovery
Point RestoreTypes Testing Plan Restore Testing Recovery Point Type[] These are the types of recovery points.
Include
SNAPSHOT
to restore only snapshot recovery points; includeCONTINUOUS
to 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 forAlgorithm
.- exclude
Vaults string[] - Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
- selection
Window numberDays - Accepted values are integers from 1 to 365.
- algorithm
Restore
Testing 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
SNAPSHOT
to restore only snapshot recovery points; includeCONTINUOUS
to 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 forAlgorithm
.- 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"
- include
Vaults 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-", ...]
- recovery
Point List<"SNAPSHOT" | "CONTINUOUS">Types These are the types of recovery points.
Include
SNAPSHOT
to restore only snapshot recovery points; includeCONTINUOUS
to 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 forAlgorithm
.- exclude
Vaults List<String> - Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed.
- selection
Window NumberDays - Accepted values are integers from 1 to 365.
RestoreTestingPlanRestoreTestingRecoveryPointSelectionAlgorithm, RestoreTestingPlanRestoreTestingRecoveryPointSelectionAlgorithmArgs
- Latest
Within Window - LATEST_WITHIN_WINDOW
- Random
Within Window - RANDOM_WITHIN_WINDOW
- Restore
Testing Plan Restore Testing Recovery Point Selection Algorithm Latest Within Window - LATEST_WITHIN_WINDOW
- Restore
Testing Plan Restore Testing Recovery Point Selection Algorithm Random Within 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
- 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
- Restore
Testing Plan Restore Testing Recovery Point Type Snapshot - SNAPSHOT
- Restore
Testing 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
- Restore
Testing Plan Restore Testing Schedule Status Active - ACTIVE
- Restore
Testing 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.