Skip to content

Guardduty  >  Structures  >  S3ObjectForSendObjectMalwareScan

S3ObjectForSendObjectMalwareScan

Structure Class

S3ObjectForSendObjectMalwareScan dataclass

The S3 object path to initiate a scan, including bucket name, object key, and optional version ID.

Attributes

bucket class-attribute instance-attribute
bucket: str | None = None

The name of the S3 bucket containing the object to scan. The bucket must have GuardDuty Malware Protection enabled.

key class-attribute instance-attribute
key: str | None = None

The key (name) of the S3 object to scan for malware. This must be the full key path of the object within the bucket.

version_id class-attribute instance-attribute
version_id: str | None = None

The version ID of the S3 object to scan. If not specified, the latest version of the object is scanned.