AWS Native is in preview. AWS Classic is fully supported.
aws-native.backup.RestoreTestingSelection
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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
The RestoreTestingSelection resource accepts the following input properties:
- Iam
Role 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
. - Protected
Resource stringType - The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- Restore
Testing 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.
- Protected
Resource 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. - Protected
Resource 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
StringEquals
orStringNotEquals
. - Restore
Metadata Dictionary<string, string>Overrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- Restore
Testing stringSelection 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.
- Iam
Role 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
. - Protected
Resource stringType - The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- Restore
Testing 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.
- Protected
Resource []stringArns - 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
StringEquals
orStringNotEquals
. - Restore
Metadata map[string]stringOverrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- Restore
Testing stringSelection 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.
- iam
Role 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
. - protected
Resource StringType - The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- restore
Testing 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.
- protected
Resource 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. - protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
. - restore
Metadata Map<String,String>Overrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- restore
Testing StringSelection Name - The unique name of the restore testing selection that belongs to the related restore testing plan.
- validation
Window 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.
- iam
Role 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
. - protected
Resource stringType - The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- restore
Testing 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.
- protected
Resource string[]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 - In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
. - restore
Metadata {[key: string]: string}Overrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- restore
Testing stringSelection Name - The unique name of the restore testing selection that belongs to the related restore testing plan.
- validation
Window 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
StringEquals
orStringNotEquals
. - restore_
metadata_ Mapping[str, str]overrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. 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.
- iam
Role 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
. - protected
Resource StringType - The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- restore
Testing 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.
- protected
Resource 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. - protected
Resource Property MapConditions - In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
. - restore
Metadata Map<String>Overrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- restore
Testing StringSelection Name - The unique name of the restore testing selection that belongs to the related restore testing plan.
- validation
Window 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
- String
Equals 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."
- String
Not 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."
- String
Equals []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 []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 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."
- string
Not 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."
- string
Equals 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 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."
- string
Equals 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."
- string
Not 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
AWS Native is in preview. AWS Classic is fully supported.