We recommend new projects start with resources from the AWS provider.
aws-native.backup.getRestoreTestingPlan
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::Backup::RestoreTestingPlan Resource Type
Using getRestoreTestingPlan
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRestoreTestingPlan(args: GetRestoreTestingPlanArgs, opts?: InvokeOptions): Promise<GetRestoreTestingPlanResult>
function getRestoreTestingPlanOutput(args: GetRestoreTestingPlanOutputArgs, opts?: InvokeOptions): Output<GetRestoreTestingPlanResult>
def get_restore_testing_plan(restore_testing_plan_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRestoreTestingPlanResult
def get_restore_testing_plan_output(restore_testing_plan_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRestoreTestingPlanResult]
func LookupRestoreTestingPlan(ctx *Context, args *LookupRestoreTestingPlanArgs, opts ...InvokeOption) (*LookupRestoreTestingPlanResult, error)
func LookupRestoreTestingPlanOutput(ctx *Context, args *LookupRestoreTestingPlanOutputArgs, opts ...InvokeOption) LookupRestoreTestingPlanResultOutput
> Note: This function is named LookupRestoreTestingPlan
in the Go SDK.
public static class GetRestoreTestingPlan
{
public static Task<GetRestoreTestingPlanResult> InvokeAsync(GetRestoreTestingPlanArgs args, InvokeOptions? opts = null)
public static Output<GetRestoreTestingPlanResult> Invoke(GetRestoreTestingPlanInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRestoreTestingPlanResult> getRestoreTestingPlan(GetRestoreTestingPlanArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:backup:getRestoreTestingPlan
arguments:
# arguments dictionary
The following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getRestoreTestingPlan Result
The following output properties are available:
- Recovery
Point Pulumi.Selection Aws Native. Backup. Outputs. 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.
- Restore
Testing stringPlan Arn - An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- Schedule
Expression string - A CRON expression in specified timezone when a restore testing plan is executed.
- 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. Outputs. 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.
- Restore
Testing stringPlan Arn - An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- Schedule
Expression string - A CRON expression in specified timezone when a restore testing plan is executed.
- 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
- 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.
- restore
Testing StringPlan Arn - An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- schedule
Expression String - A CRON expression in specified timezone when a restore testing plan is executed.
- 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.
- restore
Testing stringPlan Arn - An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- schedule
Expression string - A CRON expression in specified timezone when a restore testing plan is executed.
- 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 - The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- restore_
testing_ strplan_ arn - An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- schedule_
expression str - A CRON expression in specified timezone when a restore testing plan is executed.
- 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[root_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 Property MapSelection - The specified criteria to assign a set of resources, such as recovery point types or backup vaults.
- restore
Testing StringPlan Arn - An Amazon Resource Name (ARN) that uniquely identifies a restore testing plan.
- schedule
Expression String - A CRON expression in specified timezone when a restore testing plan is executed.
- 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:
+ - = . _ : /.
Supporting Types
RestoreTestingPlanRestoreTestingRecoveryPointSelection
- 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
RestoreTestingPlanRestoreTestingRecoveryPointType
RestoreTestingPlanRestoreTestingScheduleStatus
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.