Class: Aws::Backup::Types::RestoreTestingSelectionForGet
- Inherits:
-
Struct
- Object
- Struct
- Aws::Backup::Types::RestoreTestingSelectionForGet
- Defined in:
- gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb
Overview
This contains metadata about a restore testing selection.
Constant Summary collapse
- SENSITIVE =
[:restore_metadata_overrides]
Instance Attribute Summary collapse
-
#creation_time ⇒ Time
The date and time that a restore testing selection was created, in Unix format and Coordinated Universal Time (UTC).
-
#creator_request_id ⇒ String
This identifies the request and allows failed requests to be retried without the risk of running the operation twice.
-
#iam_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example:
arn:aws:iam::123456789012:role/S3Access
. -
#protected_resource_arns ⇒ Array<String>
You can include specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both. -
#protected_resource_conditions ⇒ Types::ProtectedResourceConditions
In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
. -
#protected_resource_type ⇒ String
The type of Amazon Web Services resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
-
#restore_metadata_overrides ⇒ Hash<String,String>
You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. -
#restore_testing_plan_name ⇒ String
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.
-
#restore_testing_selection_name ⇒ String
The unique name of the restore testing selection that belongs to the related restore testing plan.
-
#validation_window_hours ⇒ Integer
This is amount of hours (1 to 168) available to run a validation script on the data.
Instance Attribute Details
#creation_time ⇒ Time
The date and time that a restore testing selection was created, in
Unix format and Coordinated Universal Time (UTC). The value of
CreationTime
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 201812:11:30.087 AM.
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7811 class RestoreTestingSelectionForGet < Struct.new( :creation_time, :creator_request_id, :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :protected_resource_type, :restore_metadata_overrides, :restore_testing_plan_name, :restore_testing_selection_name, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#creator_request_id ⇒ String
This identifies the request and allows failed requests to be retried
without the risk of running the operation twice. If the request
includes a CreatorRequestId
that matches an existing backup plan,
that plan is returned. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7811 class RestoreTestingSelectionForGet < Struct.new( :creation_time, :creator_request_id, :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :protected_resource_type, :restore_metadata_overrides, :restore_testing_plan_name, :restore_testing_selection_name, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#iam_role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role that Backup uses to
create the target resource; for
example:arn:aws:iam::123456789012:role/S3Access
.
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7811 class RestoreTestingSelectionForGet < Struct.new( :creation_time, :creator_request_id, :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :protected_resource_type, :restore_metadata_overrides, :restore_testing_plan_name, :restore_testing_selection_name, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#protected_resource_arns ⇒ Array<String>
You can include specific ARNs, such as ProtectedResourceArns:
["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:
ProtectedResourceArns: ["*"]
, but not both.
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7811 class RestoreTestingSelectionForGet < Struct.new( :creation_time, :creator_request_id, :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :protected_resource_type, :restore_metadata_overrides, :restore_testing_plan_name, :restore_testing_selection_name, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#protected_resource_conditions ⇒ Types::ProtectedResourceConditions
In a resource testing selection, this parameter filters by specific
conditions such as StringEquals
or StringNotEquals
.
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7811 class RestoreTestingSelectionForGet < Struct.new( :creation_time, :creator_request_id, :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :protected_resource_type, :restore_metadata_overrides, :restore_testing_plan_name, :restore_testing_selection_name, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#protected_resource_type ⇒ String
The type of Amazon Web Services resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7811 class RestoreTestingSelectionForGet < Struct.new( :creation_time, :creator_request_id, :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :protected_resource_type, :restore_metadata_overrides, :restore_testing_plan_name, :restore_testing_selection_name, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#restore_metadata_overrides ⇒ Hash<String,String>
You can override certain restore metadata keys by including the
parameter RestoreMetadataOverrides
in the body of
RestoreTestingSelection
. Key values are not case sensitive.
See the complete list of restore testing inferred metadata.
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7811 class RestoreTestingSelectionForGet < Struct.new( :creation_time, :creator_request_id, :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :protected_resource_type, :restore_metadata_overrides, :restore_testing_plan_name, :restore_testing_selection_name, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#restore_testing_plan_name ⇒ String
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7811 class RestoreTestingSelectionForGet < Struct.new( :creation_time, :creator_request_id, :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :protected_resource_type, :restore_metadata_overrides, :restore_testing_plan_name, :restore_testing_selection_name, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#restore_testing_selection_name ⇒ String
The unique name of the restore testing selection that belongs to the related restore testing plan.
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7811 class RestoreTestingSelectionForGet < Struct.new( :creation_time, :creator_request_id, :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :protected_resource_type, :restore_metadata_overrides, :restore_testing_plan_name, :restore_testing_selection_name, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#validation_window_hours ⇒ Integer
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.
7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7811 class RestoreTestingSelectionForGet < Struct.new( :creation_time, :creator_request_id, :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :protected_resource_type, :restore_metadata_overrides, :restore_testing_plan_name, :restore_testing_selection_name, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |