We recommend new projects start with resources from the AWS provider.
aws-native.backup.RestoreTestingSelection
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Backup::RestoreTestingSelection
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,
                            protected_resource_arns: Optional[Sequence[str]] = None,
                            protected_resource_conditions: Optional[RestoreTestingSelectionProtectedResourceConditionsArgs] = None,
                            restore_metadata_overrides: Optional[Mapping[str, str]] = None,
                            restore_testing_selection_name: Optional[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-native:backup:RestoreTestingSelection
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 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.
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:
- IamRole stringArn 
- The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource; for example: arn:aws:iam::123456789012:role/S3Access.
- ProtectedResource stringType 
- The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- RestoreTesting stringPlan Name 
- Unique string that is the name of the restore testing plan. - The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50. 
- ProtectedResource List<string>Arns 
- You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.
- ProtectedResource Pulumi.Conditions Aws Native. Backup. Inputs. Restore Testing Selection Protected Resource Conditions 
- In a resource testing selection, this parameter filters by specific conditions such as StringEqualsorStringNotEquals.
- RestoreMetadata Dictionary<string, string>Overrides 
- You can override certain restore metadata keys by including the parameter - RestoreMetadataOverridesin the body of- RestoreTestingSelection. Key values are not case sensitive.- See the complete list of restore testing inferred metadata . 
- RestoreTesting stringSelection Name 
- The unique name of the restore testing selection that belongs to the related restore testing plan.
- ValidationWindow intHours 
- This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.
- IamRole stringArn 
- The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource; for example: arn:aws:iam::123456789012:role/S3Access.
- ProtectedResource stringType 
- The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- RestoreTesting stringPlan Name 
- Unique string that is the name of the restore testing plan. - The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50. 
- ProtectedResource []stringArns 
- You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.
- ProtectedResource RestoreConditions Testing Selection Protected Resource Conditions Args 
- In a resource testing selection, this parameter filters by specific conditions such as StringEqualsorStringNotEquals.
- RestoreMetadata map[string]stringOverrides 
- You can override certain restore metadata keys by including the parameter - RestoreMetadataOverridesin the body of- RestoreTestingSelection. Key values are not case sensitive.- See the complete list of restore testing inferred metadata . 
- RestoreTesting stringSelection Name 
- The unique name of the restore testing selection that belongs to the related restore testing plan.
- ValidationWindow intHours 
- This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.
- iamRole StringArn 
- The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource; for example: arn:aws:iam::123456789012:role/S3Access.
- protectedResource StringType 
- The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- restoreTesting StringPlan Name 
- Unique string that is the name of the restore testing plan. - The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50. 
- protectedResource List<String>Arns 
- You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.
- protectedResource RestoreConditions Testing Selection Protected Resource Conditions 
- In a resource testing selection, this parameter filters by specific conditions such as StringEqualsorStringNotEquals.
- restoreMetadata Map<String,String>Overrides 
- You can override certain restore metadata keys by including the parameter - RestoreMetadataOverridesin the body of- RestoreTestingSelection. Key values are not case sensitive.- See the complete list of restore testing inferred metadata . 
- restoreTesting StringSelection Name 
- The unique name of the restore testing selection that belongs to the related restore testing plan.
- validationWindow IntegerHours 
- This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.
- iamRole stringArn 
- The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource; for example: arn:aws:iam::123456789012:role/S3Access.
- protectedResource stringType 
- The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- restoreTesting stringPlan Name 
- Unique string that is the name of the restore testing plan. - The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50. 
- protectedResource string[]Arns 
- You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.
- protectedResource RestoreConditions Testing Selection Protected Resource Conditions 
- In a resource testing selection, this parameter filters by specific conditions such as StringEqualsorStringNotEquals.
- restoreMetadata {[key: string]: string}Overrides 
- You can override certain restore metadata keys by including the parameter - RestoreMetadataOverridesin the body of- RestoreTestingSelection. Key values are not case sensitive.- See the complete list of restore testing inferred metadata . 
- restoreTesting stringSelection Name 
- The unique name of the restore testing selection that belongs to the related restore testing plan.
- validationWindow numberHours 
- This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.
- iam_role_ strarn 
- The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource; for example: arn:aws:iam::123456789012:role/S3Access.
- protected_resource_ strtype 
- The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- restore_testing_ strplan_ name 
- Unique string that is the name of the restore testing plan. - The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50. 
- protected_resource_ Sequence[str]arns 
- You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.
- protected_resource_ Restoreconditions Testing Selection Protected Resource Conditions Args 
- In a resource testing selection, this parameter filters by specific conditions such as StringEqualsorStringNotEquals.
- restore_metadata_ Mapping[str, str]overrides 
- You can override certain restore metadata keys by including the parameter - RestoreMetadataOverridesin the body of- RestoreTestingSelection. Key values are not case sensitive.- See the complete list of restore testing inferred metadata . 
- restore_testing_ strselection_ name 
- The unique name of the restore testing selection that belongs to the related restore testing plan.
- validation_window_ inthours 
- This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.
- iamRole StringArn 
- The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource; for example: arn:aws:iam::123456789012:role/S3Access.
- protectedResource StringType 
- The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- restoreTesting StringPlan Name 
- Unique string that is the name of the restore testing plan. - The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50. 
- protectedResource List<String>Arns 
- You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.
- protectedResource Property MapConditions 
- In a resource testing selection, this parameter filters by specific conditions such as StringEqualsorStringNotEquals.
- restoreMetadata Map<String>Overrides 
- You can override certain restore metadata keys by including the parameter - RestoreMetadataOverridesin the body of- RestoreTestingSelection. Key values are not case sensitive.- See the complete list of restore testing inferred metadata . 
- restoreTesting StringSelection Name 
- The unique name of the restore testing selection that belongs to the related restore testing plan.
- validationWindow NumberHours 
- This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.
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 str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
RestoreTestingSelectionKeyValue, RestoreTestingSelectionKeyValueArgs          
RestoreTestingSelectionProtectedResourceConditions, RestoreTestingSelectionProtectedResourceConditionsArgs            
- StringEquals List<Pulumi.Aws Native. Backup. Inputs. Restore Testing Selection Key Value> 
- Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- StringNot List<Pulumi.Equals Aws Native. Backup. Inputs. Restore Testing Selection Key Value> 
- 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."
- StringEquals []RestoreTesting Selection Key Value 
- Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- StringNot []RestoreEquals Testing Selection Key Value 
- 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."
- stringEquals List<RestoreTesting Selection Key Value> 
- Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- stringNot List<RestoreEquals Testing Selection Key Value> 
- 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."
- stringEquals RestoreTesting Selection Key Value[] 
- Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- stringNot RestoreEquals Testing Selection Key Value[] 
- 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."
- string_equals Sequence[RestoreTesting Selection Key Value] 
- Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- string_not_ Sequence[Restoreequals Testing Selection Key Value] 
- 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."
- stringEquals List<Property Map>
- Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- stringNot List<Property Map>Equals 
- 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."
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.