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_timeTime

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)


4918
4919
4920
4921
4922
4923
4924
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 4918

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

#resource_arnString

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

Returns:

  • (String)


4918
4919
4920
4921
4922
4923
4924
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 4918

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

#resource_typeString

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)


4918
4919
4920
4921
4922
4923
4924
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 4918

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