published on Tuesday, Sep 22, 2026 by Pulumi
published on Tuesday, Sep 22, 2026 by Pulumi
Resource for managing an AWS Backup Restore Testing Selection.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.backup.RestoreTestingSelection("example", {
name: "ec2_selection",
restoreTestingPlanName: exampleAwsBackupRestoreTestingPlan.name,
protectedResourceType: "EC2",
iamRoleArn: exampleAwsIamRole.arn,
protectedResourceArns: ["*"],
});
import pulumi
import pulumi_aws as aws
example = aws.backup.RestoreTestingSelection("example",
name="ec2_selection",
restore_testing_plan_name=example_aws_backup_restore_testing_plan["name"],
protected_resource_type="EC2",
iam_role_arn=example_aws_iam_role["arn"],
protected_resource_arns=["*"])
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.NewRestoreTestingSelection(ctx, "example", &backup.RestoreTestingSelectionArgs{
Name: pulumi.String("ec2_selection"),
RestoreTestingPlanName: pulumi.Any(exampleAwsBackupRestoreTestingPlan.Name),
ProtectedResourceType: pulumi.String("EC2"),
IamRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
ProtectedResourceArns: pulumi.StringArray{
pulumi.String("*"),
},
})
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.RestoreTestingSelection("example", new()
{
Name = "ec2_selection",
RestoreTestingPlanName = exampleAwsBackupRestoreTestingPlan.Name,
ProtectedResourceType = "EC2",
IamRoleArn = exampleAwsIamRole.Arn,
ProtectedResourceArns = new[]
{
"*",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.backup.RestoreTestingSelection;
import com.pulumi.aws.backup.RestoreTestingSelectionArgs;
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 RestoreTestingSelection("example", RestoreTestingSelectionArgs.builder()
.name("ec2_selection")
.restoreTestingPlanName(exampleAwsBackupRestoreTestingPlan.name())
.protectedResourceType("EC2")
.iamRoleArn(exampleAwsIamRole.arn())
.protectedResourceArns("*")
.build());
}
}
resources:
example:
type: aws:backup:RestoreTestingSelection
properties:
name: ec2_selection
restoreTestingPlanName: ${exampleAwsBackupRestoreTestingPlan.name}
protectedResourceType: EC2
iamRoleArn: ${exampleAwsIamRole.arn}
protectedResourceArns:
- '*'
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_backup_restoretestingselection" "example" {
name = "ec2_selection"
restore_testing_plan_name = exampleAwsBackupRestoreTestingPlan.name
protected_resource_type = "EC2"
iam_role_arn = exampleAwsIamRole.arn
protected_resource_arns = ["*"]
}
Advanced Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.backup.RestoreTestingSelection("example", {
protectedResourceConditions: {
stringEquals: [{
key: "aws:ResourceTag/backup",
value: "true",
}],
},
name: "ec2_selection",
restoreTestingPlanName: exampleAwsBackupRestoreTestingPlan.name,
protectedResourceType: "EC2",
iamRoleArn: exampleAwsIamRole.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.backup.RestoreTestingSelection("example",
protected_resource_conditions={
"string_equals": [{
"key": "aws:ResourceTag/backup",
"value": "true",
}],
},
name="ec2_selection",
restore_testing_plan_name=example_aws_backup_restore_testing_plan["name"],
protected_resource_type="EC2",
iam_role_arn=example_aws_iam_role["arn"])
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.NewRestoreTestingSelection(ctx, "example", &backup.RestoreTestingSelectionArgs{
ProtectedResourceConditions: &backup.RestoreTestingSelectionProtectedResourceConditionsArgs{
StringEquals: backup.RestoreTestingSelectionProtectedResourceConditionsStringEqualArray{
&backup.RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs{
Key: pulumi.String("aws:ResourceTag/backup"),
Value: pulumi.String("true"),
},
},
},
Name: pulumi.String("ec2_selection"),
RestoreTestingPlanName: pulumi.Any(exampleAwsBackupRestoreTestingPlan.Name),
ProtectedResourceType: pulumi.String("EC2"),
IamRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
})
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.RestoreTestingSelection("example", new()
{
ProtectedResourceConditions = new Aws.Backup.Inputs.RestoreTestingSelectionProtectedResourceConditionsArgs
{
StringEquals = new[]
{
new Aws.Backup.Inputs.RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs
{
Key = "aws:ResourceTag/backup",
Value = "true",
},
},
},
Name = "ec2_selection",
RestoreTestingPlanName = exampleAwsBackupRestoreTestingPlan.Name,
ProtectedResourceType = "EC2",
IamRoleArn = exampleAwsIamRole.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.backup.RestoreTestingSelection;
import com.pulumi.aws.backup.RestoreTestingSelectionArgs;
import com.pulumi.aws.backup.inputs.RestoreTestingSelectionProtectedResourceConditionsArgs;
import com.pulumi.aws.backup.inputs.RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs;
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 RestoreTestingSelection("example", RestoreTestingSelectionArgs.builder()
.protectedResourceConditions(RestoreTestingSelectionProtectedResourceConditionsArgs.builder()
.stringEquals(RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs.builder()
.key("aws:ResourceTag/backup")
.value("true")
.build())
.build())
.name("ec2_selection")
.restoreTestingPlanName(exampleAwsBackupRestoreTestingPlan.name())
.protectedResourceType("EC2")
.iamRoleArn(exampleAwsIamRole.arn())
.build());
}
}
resources:
example:
type: aws:backup:RestoreTestingSelection
properties:
protectedResourceConditions:
stringEquals:
- key: aws:ResourceTag/backup
value: true
name: ec2_selection
restoreTestingPlanName: ${exampleAwsBackupRestoreTestingPlan.name}
protectedResourceType: EC2
iamRoleArn: ${exampleAwsIamRole.arn}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_backup_restoretestingselection" "example" {
protected_resource_conditions = {
string_equals = [{
"key" = "aws:ResourceTag/backup"
"value" = true
}]
}
name = "ec2_selection"
restore_testing_plan_name = exampleAwsBackupRestoreTestingPlan.name
protected_resource_type = "EC2"
iam_role_arn = exampleAwsIamRole.arn
}
Create RestoreTestingSelection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RestoreTestingSelection(name: string, args: RestoreTestingSelectionArgs, opts?: CustomResourceOptions);@overload
def RestoreTestingSelection(resource_name: str,
args: RestoreTestingSelectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RestoreTestingSelection(resource_name: str,
opts: Optional[ResourceOptions] = None,
iam_role_arn: Optional[str] = None,
protected_resource_type: Optional[str] = None,
restore_testing_plan_name: Optional[str] = None,
name: Optional[str] = None,
protected_resource_arns: Optional[Sequence[str]] = None,
protected_resource_conditions: Optional[RestoreTestingSelectionProtectedResourceConditionsArgs] = None,
region: Optional[str] = None,
restore_metadata_overrides: Optional[Mapping[str, str]] = None,
validation_window_hours: Optional[int] = None)func NewRestoreTestingSelection(ctx *Context, name string, args RestoreTestingSelectionArgs, opts ...ResourceOption) (*RestoreTestingSelection, error)public RestoreTestingSelection(string name, RestoreTestingSelectionArgs args, CustomResourceOptions? opts = null)
public RestoreTestingSelection(String name, RestoreTestingSelectionArgs args)
public RestoreTestingSelection(String name, RestoreTestingSelectionArgs args, CustomResourceOptions options)
type: aws:backup:RestoreTestingSelection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_backup_restore_testing_selection" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RestoreTestingSelectionArgs
- 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 RestoreTestingSelectionArgs
- 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 RestoreTestingSelectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RestoreTestingSelectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RestoreTestingSelectionArgs
- 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 restoreTestingSelectionResource = new Aws.Backup.RestoreTestingSelection("restoreTestingSelectionResource", new()
{
IamRoleArn = "string",
ProtectedResourceType = "string",
RestoreTestingPlanName = "string",
Name = "string",
ProtectedResourceArns = new[]
{
"string",
},
ProtectedResourceConditions = new Aws.Backup.Inputs.RestoreTestingSelectionProtectedResourceConditionsArgs
{
StringEquals = new[]
{
new Aws.Backup.Inputs.RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs
{
Key = "string",
Value = "string",
},
},
StringNotEquals = new[]
{
new Aws.Backup.Inputs.RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs
{
Key = "string",
Value = "string",
},
},
},
Region = "string",
RestoreMetadataOverrides =
{
{ "string", "string" },
},
ValidationWindowHours = 0,
});
example, err := backup.NewRestoreTestingSelection(ctx, "restoreTestingSelectionResource", &backup.RestoreTestingSelectionArgs{
IamRoleArn: pulumi.String("string"),
ProtectedResourceType: pulumi.String("string"),
RestoreTestingPlanName: pulumi.String("string"),
Name: pulumi.String("string"),
ProtectedResourceArns: pulumi.StringArray{
pulumi.String("string"),
},
ProtectedResourceConditions: &backup.RestoreTestingSelectionProtectedResourceConditionsArgs{
StringEquals: backup.RestoreTestingSelectionProtectedResourceConditionsStringEqualArray{
&backup.RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
StringNotEquals: backup.RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray{
&backup.RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Region: pulumi.String("string"),
RestoreMetadataOverrides: pulumi.StringMap{
"string": pulumi.String("string"),
},
ValidationWindowHours: pulumi.Int(0),
})
resource "aws_backup_restore_testing_selection" "restoreTestingSelectionResource" {
lifecycle {
create_before_destroy = true
}
iam_role_arn = "string"
protected_resource_type = "string"
restore_testing_plan_name = "string"
name = "string"
protected_resource_arns = ["string"]
protected_resource_conditions = {
string_equals = [{
key = "string"
value = "string"
}]
string_not_equals = [{
key = "string"
value = "string"
}]
}
region = "string"
restore_metadata_overrides = {
"string" = "string"
}
validation_window_hours = 0
}
var restoreTestingSelectionResource = new RestoreTestingSelection("restoreTestingSelectionResource", RestoreTestingSelectionArgs.builder()
.iamRoleArn("string")
.protectedResourceType("string")
.restoreTestingPlanName("string")
.name("string")
.protectedResourceArns("string")
.protectedResourceConditions(RestoreTestingSelectionProtectedResourceConditionsArgs.builder()
.stringEquals(RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs.builder()
.key("string")
.value("string")
.build())
.stringNotEquals(RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs.builder()
.key("string")
.value("string")
.build())
.build())
.region("string")
.restoreMetadataOverrides(Map.of("string", "string"))
.validationWindowHours(0)
.build());
restore_testing_selection_resource = aws.backup.RestoreTestingSelection("restoreTestingSelectionResource",
iam_role_arn="string",
protected_resource_type="string",
restore_testing_plan_name="string",
name="string",
protected_resource_arns=["string"],
protected_resource_conditions={
"string_equals": [{
"key": "string",
"value": "string",
}],
"string_not_equals": [{
"key": "string",
"value": "string",
}],
},
region="string",
restore_metadata_overrides={
"string": "string",
},
validation_window_hours=0)
const restoreTestingSelectionResource = new aws.backup.RestoreTestingSelection("restoreTestingSelectionResource", {
iamRoleArn: "string",
protectedResourceType: "string",
restoreTestingPlanName: "string",
name: "string",
protectedResourceArns: ["string"],
protectedResourceConditions: {
stringEquals: [{
key: "string",
value: "string",
}],
stringNotEquals: [{
key: "string",
value: "string",
}],
},
region: "string",
restoreMetadataOverrides: {
string: "string",
},
validationWindowHours: 0,
});
type: aws:backup:RestoreTestingSelection
properties:
iamRoleArn: string
name: string
protectedResourceArns:
- string
protectedResourceConditions:
stringEquals:
- key: string
value: string
stringNotEquals:
- key: string
value: string
protectedResourceType: string
region: string
restoreMetadataOverrides:
string: string
restoreTestingPlanName: string
validationWindowHours: 0
RestoreTestingSelection 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 RestoreTestingSelection resource accepts the following input properties:
- Iam
Role stringArn - ARN of the IAM role.
- Protected
Resource stringType - Type of the protected resource.
- Restore
Testing stringPlan Name - Name of the restore testing plan.
- Name string
- Name of the backup restore testing selection.
- Protected
Resource List<string>Arns - ARNs for the protected resources.
- Protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - Conditions for the protected resource. See
protectedResourceConditionsbelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Restore
Metadata Dictionary<string, string>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- Validation
Window intHours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- Iam
Role stringArn - ARN of the IAM role.
- Protected
Resource stringType - Type of the protected resource.
- Restore
Testing stringPlan Name - Name of the restore testing plan.
- Name string
- Name of the backup restore testing selection.
- Protected
Resource []stringArns - ARNs for the protected resources.
- Protected
Resource RestoreConditions Testing Selection Protected Resource Conditions Args - Conditions for the protected resource. See
protectedResourceConditionsbelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Restore
Metadata map[string]stringOverrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- Validation
Window intHours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- iam_
role_ stringarn - ARN of the IAM role.
- protected_
resource_ stringtype - Type of the protected resource.
- restore_
testing_ stringplan_ name - Name of the restore testing plan.
- name string
- Name of the backup restore testing selection.
- protected_
resource_ list(string)arns - ARNs for the protected resources.
- protected_
resource_ objectconditions - Conditions for the protected resource. See
protectedResourceConditionsbelow. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- restore_
metadata_ map(string)overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- validation_
window_ numberhours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- iam
Role StringArn - ARN of the IAM role.
- protected
Resource StringType - Type of the protected resource.
- restore
Testing StringPlan Name - Name of the restore testing plan.
- name String
- Name of the backup restore testing selection.
- protected
Resource List<String>Arns - ARNs for the protected resources.
- protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - Conditions for the protected resource. See
protectedResourceConditionsbelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- restore
Metadata Map<String,String>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- validation
Window IntegerHours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- iam
Role stringArn - ARN of the IAM role.
- protected
Resource stringType - Type of the protected resource.
- restore
Testing stringPlan Name - Name of the restore testing plan.
- name string
- Name of the backup restore testing selection.
- protected
Resource string[]Arns - ARNs for the protected resources.
- protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - Conditions for the protected resource. See
protectedResourceConditionsbelow. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- restore
Metadata {[key: string]: string}Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- validation
Window numberHours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- iam_
role_ strarn - ARN of the IAM role.
- protected_
resource_ strtype - Type of the protected resource.
- restore_
testing_ strplan_ name - Name of the restore testing plan.
- name str
- Name of the backup restore testing selection.
- protected_
resource_ Sequence[str]arns - ARNs for the protected resources.
- protected_
resource_ Restoreconditions Testing Selection Protected Resource Conditions Args - Conditions for the protected resource. See
protectedResourceConditionsbelow. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- restore_
metadata_ Mapping[str, str]overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- validation_
window_ inthours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- iam
Role StringArn - ARN of the IAM role.
- protected
Resource StringType - Type of the protected resource.
- restore
Testing StringPlan Name - Name of the restore testing plan.
- name String
- Name of the backup restore testing selection.
- protected
Resource List<String>Arns - ARNs for the protected resources.
- protected
Resource Property MapConditions - Conditions for the protected resource. See
protectedResourceConditionsbelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- restore
Metadata Map<String>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- validation
Window NumberHours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
Outputs
All input properties are implicitly available as output properties. Additionally, the RestoreTestingSelection resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RestoreTestingSelection Resource
Get an existing RestoreTestingSelection 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?: RestoreTestingSelectionState, opts?: CustomResourceOptions): RestoreTestingSelection@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
iam_role_arn: Optional[str] = None,
name: Optional[str] = None,
protected_resource_arns: Optional[Sequence[str]] = None,
protected_resource_conditions: Optional[RestoreTestingSelectionProtectedResourceConditionsArgs] = None,
protected_resource_type: Optional[str] = None,
region: Optional[str] = None,
restore_metadata_overrides: Optional[Mapping[str, str]] = None,
restore_testing_plan_name: Optional[str] = None,
validation_window_hours: Optional[int] = None) -> RestoreTestingSelectionfunc GetRestoreTestingSelection(ctx *Context, name string, id IDInput, state *RestoreTestingSelectionState, opts ...ResourceOption) (*RestoreTestingSelection, error)public static RestoreTestingSelection Get(string name, Input<string> id, RestoreTestingSelectionState? state, CustomResourceOptions? opts = null)public static RestoreTestingSelection get(String name, Output<String> id, RestoreTestingSelectionState state, CustomResourceOptions options)resources: _: type: aws:backup:RestoreTestingSelection get: id: ${id}import {
to = aws_backup_restore_testing_selection.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.
- Iam
Role stringArn - ARN of the IAM role.
- Name string
- Name of the backup restore testing selection.
- Protected
Resource List<string>Arns - ARNs for the protected resources.
- Protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - Conditions for the protected resource. See
protectedResourceConditionsbelow. - Protected
Resource stringType - Type of the protected resource.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Restore
Metadata Dictionary<string, string>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- Restore
Testing stringPlan Name - Name of the restore testing plan.
- Validation
Window intHours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- Iam
Role stringArn - ARN of the IAM role.
- Name string
- Name of the backup restore testing selection.
- Protected
Resource []stringArns - ARNs for the protected resources.
- Protected
Resource RestoreConditions Testing Selection Protected Resource Conditions Args - Conditions for the protected resource. See
protectedResourceConditionsbelow. - Protected
Resource stringType - Type of the protected resource.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Restore
Metadata map[string]stringOverrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- Restore
Testing stringPlan Name - Name of the restore testing plan.
- Validation
Window intHours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- iam_
role_ stringarn - ARN of the IAM role.
- name string
- Name of the backup restore testing selection.
- protected_
resource_ list(string)arns - ARNs for the protected resources.
- protected_
resource_ objectconditions - Conditions for the protected resource. See
protectedResourceConditionsbelow. - protected_
resource_ stringtype - Type of the protected resource.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- restore_
metadata_ map(string)overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- restore_
testing_ stringplan_ name - Name of the restore testing plan.
- validation_
window_ numberhours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- iam
Role StringArn - ARN of the IAM role.
- name String
- Name of the backup restore testing selection.
- protected
Resource List<String>Arns - ARNs for the protected resources.
- protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - Conditions for the protected resource. See
protectedResourceConditionsbelow. - protected
Resource StringType - Type of the protected resource.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- restore
Metadata Map<String,String>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- restore
Testing StringPlan Name - Name of the restore testing plan.
- validation
Window IntegerHours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- iam
Role stringArn - ARN of the IAM role.
- name string
- Name of the backup restore testing selection.
- protected
Resource string[]Arns - ARNs for the protected resources.
- protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - Conditions for the protected resource. See
protectedResourceConditionsbelow. - protected
Resource stringType - Type of the protected resource.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- restore
Metadata {[key: string]: string}Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- restore
Testing stringPlan Name - Name of the restore testing plan.
- validation
Window numberHours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- iam_
role_ strarn - ARN of the IAM role.
- name str
- Name of the backup restore testing selection.
- protected_
resource_ Sequence[str]arns - ARNs for the protected resources.
- protected_
resource_ Restoreconditions Testing Selection Protected Resource Conditions Args - Conditions for the protected resource. See
protectedResourceConditionsbelow. - protected_
resource_ strtype - Type of the protected resource.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- restore_
metadata_ Mapping[str, str]overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- restore_
testing_ strplan_ name - Name of the restore testing plan.
- validation_
window_ inthours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
- iam
Role StringArn - ARN of the IAM role.
- name String
- Name of the backup restore testing selection.
- protected
Resource List<String>Arns - ARNs for the protected resources.
- protected
Resource Property MapConditions - Conditions for the protected resource. See
protectedResourceConditionsbelow. - protected
Resource StringType - Type of the protected resource.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- restore
Metadata Map<String>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- restore
Testing StringPlan Name - Name of the restore testing plan.
- validation
Window NumberHours - Amount of hours available to run a validation script on the data. Valid range is
1to168.
Supporting Types
RestoreTestingSelectionProtectedResourceConditions, RestoreTestingSelectionProtectedResourceConditionsArgs
- String
Equals List<RestoreTesting Selection Protected Resource Conditions String Equal> - List of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See
stringEqualsbelow. - String
Not List<RestoreEquals Testing Selection Protected Resource Conditions String Not Equal> - List of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See
stringNotEqualsbelow.
- String
Equals []RestoreTesting Selection Protected Resource Conditions String Equal - List of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See
stringEqualsbelow. - String
Not []RestoreEquals Testing Selection Protected Resource Conditions String Not Equal - List of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See
stringNotEqualsbelow.
- string_
equals list(object) - List of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See
stringEqualsbelow. - string_
not_ list(object)equals - List of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See
stringNotEqualsbelow.
- string
Equals List<RestoreTesting Selection Protected Resource Conditions String Equal> - List of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See
stringEqualsbelow. - string
Not List<RestoreEquals Testing Selection Protected Resource Conditions String Not Equal> - List of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See
stringNotEqualsbelow.
- string
Equals RestoreTesting Selection Protected Resource Conditions String Equal[] - List of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See
stringEqualsbelow. - string
Not RestoreEquals Testing Selection Protected Resource Conditions String Not Equal[] - List of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See
stringNotEqualsbelow.
- string_
equals Sequence[RestoreTesting Selection Protected Resource Conditions String Equal] - List of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See
stringEqualsbelow. - string_
not_ Sequence[Restoreequals Testing Selection Protected Resource Conditions String Not Equal] - List of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See
stringNotEqualsbelow.
- string
Equals List<Property Map> - List of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See
stringEqualsbelow. - string
Not List<Property Map>Equals - List of string not equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching.". See
stringNotEqualsbelow.
RestoreTestingSelectionProtectedResourceConditionsStringEqual, RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs
- Key string
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - Value string
- Value of the Tag. Maximum length of 256.
- Key string
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - Value string
- Value of the Tag. Maximum length of 256.
- key string
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - value string
- Value of the Tag. Maximum length of 256.
- key String
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - value String
- Value of the Tag. Maximum length of 256.
- key string
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - value string
- Value of the Tag. Maximum length of 256.
- key str
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - value str
- Value of the Tag. Maximum length of 256.
- key String
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - value String
- Value of the Tag. Maximum length of 256.
RestoreTestingSelectionProtectedResourceConditionsStringNotEqual, RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs
- Key string
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - Value string
- Value of the Tag. Maximum length of 256.
- Key string
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - Value string
- Value of the Tag. Maximum length of 256.
- key string
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - value string
- Value of the Tag. Maximum length of 256.
- key String
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - value String
- Value of the Tag. Maximum length of 256.
- key string
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - value string
- Value of the Tag. Maximum length of 256.
- key str
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - value str
- Value of the Tag. Maximum length of 256.
- key String
- Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /. - value String
- Value of the Tag. Maximum length of 256.
Import
Using pulumi import, import Backup Restore Testing Selection using name:restore_testing_plan_name. For example:
$ pulumi import aws:backup/restoreTestingSelection:RestoreTestingSelection example restore_testing_selection_12345678:restore_testing_plan_12345678
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
awsTerraform Provider.
published on Tuesday, Sep 22, 2026 by Pulumi