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)


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


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_conditionsTypes::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_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>)


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


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