Class: Aws::Backup::Types::RestoreTestingSelectionForUpdate

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Instance Attribute Details

#iam_role_arnString

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`.

Returns:

  • (String)


7919
7920
7921
7922
7923
7924
7925
7926
7927
# File 'lib/aws-sdk-backup/types.rb', line 7919

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_arnsArray<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.

Returns:

  • (Array<String>)


7919
7920
7921
7922
7923
7924
7925
7926
7927
# File 'lib/aws-sdk-backup/types.rb', line 7919

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_conditionsTypes::ProtectedResourceConditions

The conditions that you define for resources in your restore testing plan using tags.



7919
7920
7921
7922
7923
7924
7925
7926
7927
# File 'lib/aws-sdk-backup/types.rb', line 7919

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_overridesHash<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].

[1]: docs.aws.amazon.com/aws-backup/latest/devguide/restore-testing-inferred-metadata.html

Returns:

  • (Hash<String,String>)


7919
7920
7921
7922
7923
7924
7925
7926
7927
# File 'lib/aws-sdk-backup/types.rb', line 7919

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_hoursInteger

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).

Returns:

  • (Integer)


7919
7920
7921
7922
7923
7924
7925
7926
7927
# File 'lib/aws-sdk-backup/types.rb', line 7919

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