Class: Aws::Backup::Types::RestoreTestingSelectionForGet

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

#creation_timeTime

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.

Returns:

  • (Time)


7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
# File 'lib/aws-sdk-backup/types.rb', line 7810

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_idString

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.

Returns:

  • (String)


7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
# File 'lib/aws-sdk-backup/types.rb', line 7810

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


7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
# File 'lib/aws-sdk-backup/types.rb', line 7810

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

You can include specific ARNs, such as ‘ProtectedResourceArns: [“arn:aws:…”, “arn:aws:…”]` or you can include a wildcard: `ProtectedResourceArns: [“*”]`, but not both.

Returns:

  • (Array<String>)


7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
# File 'lib/aws-sdk-backup/types.rb', line 7810

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

In a resource testing selection, this parameter filters by specific conditions such as ‘StringEquals` or `StringNotEquals`.



7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
# File 'lib/aws-sdk-backup/types.rb', line 7810

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_typeString

The type of Amazon Web Services resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.

Returns:

  • (String)


7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
# File 'lib/aws-sdk-backup/types.rb', line 7810

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


7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
# File 'lib/aws-sdk-backup/types.rb', line 7810

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_nameString

The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.

Returns:

  • (String)


7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
# File 'lib/aws-sdk-backup/types.rb', line 7810

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_nameString

The unique name of the restore testing selection that belongs to the related restore testing plan.

Returns:

  • (String)


7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
# File 'lib/aws-sdk-backup/types.rb', line 7810

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_hoursInteger

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.

Returns:

  • (Integer)


7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
# File 'lib/aws-sdk-backup/types.rb', line 7810

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