Class: Aws::Backup::Types::ScanJob

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

Overview

Contains metadata about a scan job, including information about the scanning process, results, and associated resources.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The account ID that owns the scan job.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#backup_vault_arnString

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#backup_vault_nameString

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#completion_dateTime

The date and time that a scan job is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Returns:

  • (Time)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#created_byTypes::ScanJobCreator

Contains identifying information about the creation of a scan job.



9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#creation_dateTime

The date and time that a scan job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Returns:

  • (Time)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#iam_role_arnString

Specifies the IAM role ARN used to create the scan job; for example, arn:aws:iam::123456789012:role/S3Access.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#malware_scannerString

The scanning engine used for the scan job. Currently only GUARDDUTY is supported.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#recovery_point_arnString

An ARN that uniquely identifies the recovery point being scanned; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

An ARN that uniquely identifies the source resource of the recovery point being scanned.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#resource_nameString

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

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

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

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#scan_base_recovery_point_arnString

An ARN that uniquely identifies the base recovery point for scanning. This field is populated when an incremental scan job has taken place.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#scan_idString

The scan ID generated by the malware scanner for the corresponding scan job.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#scan_job_idString

The unique identifier that identifies the scan job request to Backup.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#scan_modeString

Specifies the scan type use for the scan job.

Includes:

FULL_SCAN will scan the entire data lineage within the backup.

INCREMENTAL_SCAN will scan the data difference between the target recovery point and base recovery point ARN.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#scan_resultTypes::ScanResultInfo

Contains the scan results information, including the status of threats found during scanning.



9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#scanner_role_arnString

Specifies the scanner IAM role ARN used for the scan job.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The current state of the scan job.

Valid values: CREATED | RUNNING | COMPLETED | COMPLETED_WITH_ISSUES | FAILED | CANCELED.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#status_messageString

A detailed message explaining the status of the scan job.

Returns:

  • (String)


9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 9831

class ScanJob < Struct.new(
  :account_id,
  :backup_vault_arn,
  :backup_vault_name,
  :completion_date,
  :created_by,
  :creation_date,
  :iam_role_arn,
  :malware_scanner,
  :recovery_point_arn,
  :resource_arn,
  :resource_name,
  :resource_type,
  :scan_base_recovery_point_arn,
  :scan_id,
  :scan_job_id,
  :scan_mode,
  :scan_result,
  :scanner_role_arn,
  :state,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end