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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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)

    The date and time a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).

#resource_arnString

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

Returns:

  • (String)

    An Amazon Resource Name (ARN) that uniquely identifies a resource.

#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. For VSS Windows backups, the only supported resource type is Amazon EC2.

Returns:

  • (String)

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