Class: Aws::Backup::Types::RestoreTestingSelectionForUpdate
- Inherits:
-
Struct
- Object
- Struct
- Aws::Backup::Types::RestoreTestingSelectionForUpdate
- 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
-
#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 a list of specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both. -
#protected_resource_conditions ⇒ Types::ProtectedResourceConditions
A list of conditions that you define for resources in your restore testing plan using tags.
-
#restore_metadata_overrides ⇒ Hash<String,String>
You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. -
#validation_window_hours ⇒ Integer
This value represents the time, in hours, data is retained after a restore test so that optional validation can be completed.
Instance Attribute Details
#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
.
7886 7887 7888 7889 7890 7891 7892 7893 7894 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7886 class RestoreTestingSelectionForUpdate < Struct.new( :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :restore_metadata_overrides, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#protected_resource_arns ⇒ Array<String>
You can include a list of specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can
include a wildcard: ProtectedResourceArns: ["*"]
, but not both.
7886 7887 7888 7889 7890 7891 7892 7893 7894 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7886 class RestoreTestingSelectionForUpdate < Struct.new( :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :restore_metadata_overrides, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#protected_resource_conditions ⇒ Types::ProtectedResourceConditions
A list of conditions that you define for resources in your restore testing plan using tags.
For example, "StringEquals": \{ "Key":
"aws:ResourceTag/CreatedByCryo", "Value": "true" \},
. Condition
operators are case sensitive.
7886 7887 7888 7889 7890 7891 7892 7893 7894 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7886 class RestoreTestingSelectionForUpdate < Struct.new( :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :restore_metadata_overrides, :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.
7886 7887 7888 7889 7890 7891 7892 7893 7894 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7886 class RestoreTestingSelectionForUpdate < Struct.new( :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :restore_metadata_overrides, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |
#validation_window_hours ⇒ Integer
This value represents the time, in hours, data is retained after a restore test so that optional validation can be completed.
Accepted value is an integer between 0 and 168 (the hourly equivalent of seven days).
7886 7887 7888 7889 7890 7891 7892 7893 7894 |
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 7886 class RestoreTestingSelectionForUpdate < Struct.new( :iam_role_arn, :protected_resource_arns, :protected_resource_conditions, :restore_metadata_overrides, :validation_window_hours) SENSITIVE = [:restore_metadata_overrides] include Aws::Structure end |