Class: Aws::Backup::Types::ProtectedResource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb

Overview

A structure that contains information about a backed-up resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#last_backup_time ⇒ Time

The date and time a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of LastBackupTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Returns:

  • (Time)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 8515

class ProtectedResource < Struct.new(
  :resource_arn,
  :resource_type,
  :last_backup_time,
  :resource_name,
  :last_backup_vault_arn,
  :last_recovery_point_arn)
  SENSITIVE = []
  include Aws::Structure
end

#last_backup_vault_arn ⇒ String

The ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.

Returns:

  • (String)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 8515

class ProtectedResource < Struct.new(
  :resource_arn,
  :resource_type,
  :last_backup_time,
  :resource_name,
  :last_backup_vault_arn,
  :last_recovery_point_arn)
  SENSITIVE = []
  include Aws::Structure
end

#last_recovery_point_arn ⇒ String

The ARN (Amazon Resource Name) of the most recent recovery point.

Returns:

  • (String)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 8515

class ProtectedResource < Struct.new(
  :resource_arn,
  :resource_type,
  :last_backup_time,
  :resource_name,
  :last_backup_vault_arn,
  :last_recovery_point_arn)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arn ⇒ String

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

Returns:

  • (String)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 8515

class ProtectedResource < Struct.new(
  :resource_arn,
  :resource_type,
  :last_backup_time,
  :resource_name,
  :last_backup_vault_arn,
  :last_recovery_point_arn)
  SENSITIVE = []
  include Aws::Structure
end

#resource_name ⇒ String

The non-unique name of the resource that belongs to the specified backup.

Returns:

  • (String)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 8515

class ProtectedResource < Struct.new(
  :resource_arn,
  :resource_type,
  :last_backup_time,
  :resource_name,
  :last_backup_vault_arn,
  :last_recovery_point_arn)
  SENSITIVE = []
  include Aws::Structure
end

#resource_type ⇒ String

The type of Amazon Web Services resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.

Returns:

  • (String)


8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 8515

class ProtectedResource < Struct.new(
  :resource_arn,
  :resource_type,
  :last_backup_time,
  :resource_name,
  :last_backup_vault_arn,
  :last_recovery_point_arn)
  SENSITIVE = []
  include Aws::Structure
end