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.

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)


3135
3136
3137
3138
3139
3140
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 3135

class ProtectedResource < Struct.new(
  :resource_arn,
  :resource_type,
  :last_backup_time)
  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)


3135
3136
3137
3138
3139
3140
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 3135

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

#resource_typeString

The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

Returns:

  • (String)


3135
3136
3137
3138
3139
3140
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 3135

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