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

Inherits:
Struct
  • Object
show all
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

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)


9655
9656
9657
9658
9659
9660
9661
9662
9663
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9655

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


9655
9656
9657
9658
9659
9660
9661
9662
9663
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9655

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.



9655
9656
9657
9658
9659
9660
9661
9662
9663
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9655

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.

Returns:

  • (Hash<String,String>)


9655
9656
9657
9658
9659
9660
9661
9662
9663
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9655

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)


9655
9656
9657
9658
9659
9660
9661
9662
9663
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9655

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