GuardDutyMalwareProtectionObjectScanResult

class aws_cdk.mixins_preview.aws_guardduty.events.GuardDutyMalwareProtectionObjectScanResult

Bases: object

(experimental) EventBridge event pattern for aws.guardduty@GuardDutyMalwareProtectionObjectScanResult.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_guardduty import events as guardduty_events

guard_duty_malware_protection_object_scan_result = guardduty_events.GuardDutyMalwareProtectionObjectScanResult()
Stability:

experimental

Static Methods

classmethod guard_duty_malware_protection_object_scan_result_pattern(*, event_metadata=None, resource_type=None, s3_object_details=None, scan_result_details=None, scan_status=None, schema_version=None)

(experimental) EventBridge event pattern for GuardDuty Malware Protection Object Scan Result.

Parameters:
  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • resource_type (Optional[Sequence[str]]) – (experimental) resourceType property. Specify an array of string values to match this event if the actual value of resourceType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_object_details (Union[S3ObjectDetails, Dict[str, Any], None]) – (experimental) s3ObjectDetails property. Specify an array of string values to match this event if the actual value of s3ObjectDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • scan_result_details (Union[ScanResultDetails, Dict[str, Any], None]) – (experimental) scanResultDetails property. Specify an array of string values to match this event if the actual value of scanResultDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • scan_status (Optional[Sequence[str]]) – (experimental) scanStatus property. Specify an array of string values to match this event if the actual value of scanStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • schema_version (Optional[Sequence[str]]) – (experimental) schemaVersion property. Specify an array of string values to match this event if the actual value of schemaVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

GuardDutyMalwareProtectionObjectScanResultProps

class GuardDutyMalwareProtectionObjectScanResult.GuardDutyMalwareProtectionObjectScanResultProps(*, event_metadata=None, resource_type=None, s3_object_details=None, scan_result_details=None, scan_status=None, schema_version=None)

Bases: object

(experimental) Props type for aws.guardduty@GuardDutyMalwareProtectionObjectScanResult event.

Parameters:
  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • resource_type (Optional[Sequence[str]]) – (experimental) resourceType property. Specify an array of string values to match this event if the actual value of resourceType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_object_details (Union[S3ObjectDetails, Dict[str, Any], None]) – (experimental) s3ObjectDetails property. Specify an array of string values to match this event if the actual value of s3ObjectDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • scan_result_details (Union[ScanResultDetails, Dict[str, Any], None]) – (experimental) scanResultDetails property. Specify an array of string values to match this event if the actual value of scanResultDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • scan_status (Optional[Sequence[str]]) – (experimental) scanStatus property. Specify an array of string values to match this event if the actual value of scanStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • schema_version (Optional[Sequence[str]]) – (experimental) schemaVersion property. Specify an array of string values to match this event if the actual value of schemaVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import AWSEventMetadataProps
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_guardduty import events as guardduty_events

guard_duty_malware_protection_object_scan_result_props = guardduty_events.GuardDutyMalwareProtectionObjectScanResult.GuardDutyMalwareProtectionObjectScanResultProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    resource_type=["resourceType"],
    s3_object_details=guardduty_events.GuardDutyMalwareProtectionObjectScanResult.S3ObjectDetails(
        bucket_name=["bucketName"],
        e_tag=["eTag"],
        object_key=["objectKey"],
        s3_throttled=["s3Throttled"],
        version_id=["versionId"]
    ),
    scan_result_details=guardduty_events.GuardDutyMalwareProtectionObjectScanResult.ScanResultDetails(
        scan_result_status=["scanResultStatus"],
        threats=[guardduty_events.GuardDutyMalwareProtectionObjectScanResult.Threat(
            name=["name"]
        )]
    ),
    scan_status=["scanStatus"],
    schema_version=["schemaVersion"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

resource_type

(experimental) resourceType property.

Specify an array of string values to match this event if the actual value of resourceType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

s3_object_details

(experimental) s3ObjectDetails property.

Specify an array of string values to match this event if the actual value of s3ObjectDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

scan_result_details

(experimental) scanResultDetails property.

Specify an array of string values to match this event if the actual value of scanResultDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

scan_status

(experimental) scanStatus property.

Specify an array of string values to match this event if the actual value of scanStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

schema_version

(experimental) schemaVersion property.

Specify an array of string values to match this event if the actual value of schemaVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

S3ObjectDetails

class GuardDutyMalwareProtectionObjectScanResult.S3ObjectDetails(*, bucket_name=None, e_tag=None, object_key=None, s3_throttled=None, version_id=None)

Bases: object

(experimental) Type definition for S3ObjectDetails.

Parameters:
  • bucket_name (Optional[Sequence[str]]) – (experimental) bucketName property. Specify an array of string values to match this event if the actual value of bucketName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • e_tag (Optional[Sequence[str]]) – (experimental) eTag property. Specify an array of string values to match this event if the actual value of eTag is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • object_key (Optional[Sequence[str]]) – (experimental) objectKey property. Specify an array of string values to match this event if the actual value of objectKey is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_throttled (Optional[Sequence[str]]) – (experimental) s3Throttled property. Specify an array of string values to match this event if the actual value of s3Throttled is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • version_id (Optional[Sequence[str]]) – (experimental) versionId property. Specify an array of string values to match this event if the actual value of versionId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_guardduty import events as guardduty_events

s3_object_details = guardduty_events.GuardDutyMalwareProtectionObjectScanResult.S3ObjectDetails(
    bucket_name=["bucketName"],
    e_tag=["eTag"],
    object_key=["objectKey"],
    s3_throttled=["s3Throttled"],
    version_id=["versionId"]
)

Attributes

bucket_name

(experimental) bucketName property.

Specify an array of string values to match this event if the actual value of bucketName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

e_tag

(experimental) eTag property.

Specify an array of string values to match this event if the actual value of eTag is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

object_key

(experimental) objectKey property.

Specify an array of string values to match this event if the actual value of objectKey is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

s3_throttled

(experimental) s3Throttled property.

Specify an array of string values to match this event if the actual value of s3Throttled is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

version_id

(experimental) versionId property.

Specify an array of string values to match this event if the actual value of versionId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ScanResultDetails

class GuardDutyMalwareProtectionObjectScanResult.ScanResultDetails(*, scan_result_status=None, threats=None)

Bases: object

(experimental) Type definition for ScanResultDetails.

Parameters:
  • scan_result_status (Optional[Sequence[str]]) – (experimental) scanResultStatus property. Specify an array of string values to match this event if the actual value of scanResultStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • threats (Optional[Sequence[Union[Threat, Dict[str, Any]]]]) – (experimental) threats property. Specify an array of string values to match this event if the actual value of threats is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_guardduty import events as guardduty_events

scan_result_details = guardduty_events.GuardDutyMalwareProtectionObjectScanResult.ScanResultDetails(
    scan_result_status=["scanResultStatus"],
    threats=[guardduty_events.GuardDutyMalwareProtectionObjectScanResult.Threat(
        name=["name"]
    )]
)

Attributes

scan_result_status

(experimental) scanResultStatus property.

Specify an array of string values to match this event if the actual value of scanResultStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

threats

(experimental) threats property.

Specify an array of string values to match this event if the actual value of threats is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Threat

class GuardDutyMalwareProtectionObjectScanResult.Threat(*, name=None)

Bases: object

(experimental) Type definition for Threat.

Parameters:

name (Optional[Sequence[str]]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_guardduty import events as guardduty_events

threat = guardduty_events.GuardDutyMalwareProtectionObjectScanResult.Threat(
    name=["name"]
)

Attributes

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental