ScannedResource - Amazon GuardDuty
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ScannedResource

Contains information about a resource that was scanned as part of the malware scan operation.

Contents

resourceDetails

Information about the scanned resource.

Type: ScannedResourceDetails object

Required: No

scannedResourceArn

Amazon Resource Name (ARN) of the scanned resource.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Required: No

scannedResourceStatus

The status of the scanned resource.

Type: String

Valid Values: RUNNING | COMPLETED | COMPLETED_WITH_ISSUES | FAILED | SKIPPED

Required: No

scannedResourceType

The resource type of the scanned resource.

Type: String

Valid Values: EBS_RECOVERY_POINT | EBS_SNAPSHOT | EBS_VOLUME | EC2_AMI | EC2_INSTANCE | EC2_RECOVERY_POINT | S3_RECOVERY_POINT | S3_BUCKET

Required: No

scanStatusReason

The reason for the scan status of this particular resource, if applicable.

Type: String

Valid Values: ACCESS_DENIED | RESOURCE_NOT_FOUND | SNAPSHOT_SIZE_LIMIT_EXCEEDED | RESOURCE_UNAVAILABLE | INCONSISTENT_SOURCE | INCREMENTAL_NO_DIFFERENCE | NO_EBS_VOLUMES_FOUND | UNSUPPORTED_PRODUCT_CODE_TYPE | AMI_SNAPSHOT_LIMIT_EXCEEDED | UNRELATED_RESOURCES | BASE_RESOURCE_NOT_SCANNED | BASE_CREATED_AFTER_TARGET | UNSUPPORTED_FOR_INCREMENTAL | UNSUPPORTED_AMI | UNSUPPORTED_SNAPSHOT | UNSUPPORTED_COMPOSITE_RECOVERY_POINT

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: