You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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)


2836
2837
2838
2839
2840
2841
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 2836

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)


2836
2837
2838
2839
2840
2841
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 2836

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)


2836
2837
2838
2839
2840
2841
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 2836

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