GuardDutyMalwareProtectionResourceStatusWarning

class aws_cdk.mixins_preview.aws_guardduty.events.GuardDutyMalwareProtectionResourceStatusWarning

Bases: object

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

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_resource_status_warning = guardduty_events.GuardDutyMalwareProtectionResourceStatusWarning()
Stability:

experimental

Static Methods

classmethod guard_duty_malware_protection_resource_status_warning_pattern(*, event_metadata=None, event_time=None, resource_status=None, s3_bucket_details=None, schema_version=None, status_reasons=None)

(experimental) EventBridge event pattern for GuardDuty Malware Protection Resource Status Warning.

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

  • event_time (Optional[Sequence[str]]) – (experimental) eventTime property. Specify an array of string values to match this event if the actual value of eventTime 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

  • resource_status (Optional[Sequence[str]]) – (experimental) resourceStatus property. Specify an array of string values to match this event if the actual value of resourceStatus 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_bucket_details (Union[S3BucketDetails, Dict[str, Any], None]) – (experimental) s3BucketDetails property. Specify an array of string values to match this event if the actual value of s3BucketDetails 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

  • status_reasons (Optional[Sequence[Union[StatusReason, Dict[str, Any]]]]) – (experimental) statusReasons property. Specify an array of string values to match this event if the actual value of statusReasons 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

GuardDutyMalwareProtectionResourceStatusWarningProps

class GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps(*, event_metadata=None, event_time=None, resource_status=None, s3_bucket_details=None, schema_version=None, status_reasons=None)

Bases: object

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

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

  • event_time (Optional[Sequence[str]]) – (experimental) eventTime property. Specify an array of string values to match this event if the actual value of eventTime 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

  • resource_status (Optional[Sequence[str]]) – (experimental) resourceStatus property. Specify an array of string values to match this event if the actual value of resourceStatus 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_bucket_details (Union[S3BucketDetails, Dict[str, Any], None]) – (experimental) s3BucketDetails property. Specify an array of string values to match this event if the actual value of s3BucketDetails 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

  • status_reasons (Optional[Sequence[Union[StatusReason, Dict[str, Any]]]]) – (experimental) statusReasons property. Specify an array of string values to match this event if the actual value of statusReasons 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_resource_status_warning_props = guardduty_events.GuardDutyMalwareProtectionResourceStatusWarning.GuardDutyMalwareProtectionResourceStatusWarningProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    event_time=["eventTime"],
    resource_status=["resourceStatus"],
    s3_bucket_details=guardduty_events.GuardDutyMalwareProtectionResourceStatusWarning.S3BucketDetails(
        bucket_name=["bucketName"]
    ),
    schema_version=["schemaVersion"],
    status_reasons=[guardduty_events.GuardDutyMalwareProtectionResourceStatusWarning.StatusReason(
        code=["code"]
    )]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

event_time

(experimental) eventTime property.

Specify an array of string values to match this event if the actual value of eventTime 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

resource_status

(experimental) resourceStatus property.

Specify an array of string values to match this event if the actual value of resourceStatus 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_bucket_details

(experimental) s3BucketDetails property.

Specify an array of string values to match this event if the actual value of s3BucketDetails 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

status_reasons

(experimental) statusReasons property.

Specify an array of string values to match this event if the actual value of statusReasons 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

S3BucketDetails

class GuardDutyMalwareProtectionResourceStatusWarning.S3BucketDetails(*, bucket_name=None)

Bases: object

(experimental) Type definition for S3BucketDetails.

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

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_bucket_details = guardduty_events.GuardDutyMalwareProtectionResourceStatusWarning.S3BucketDetails(
    bucket_name=["bucketName"]
)

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

StatusReason

class GuardDutyMalwareProtectionResourceStatusWarning.StatusReason(*, code=None)

Bases: object

(experimental) Type definition for StatusReason.

Parameters:

code (Optional[Sequence[str]]) – (experimental) code property. Specify an array of string values to match this event if the actual value of code 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

status_reason = guardduty_events.GuardDutyMalwareProtectionResourceStatusWarning.StatusReason(
    code=["code"]
)

Attributes

code

(experimental) code property.

Specify an array of string values to match this event if the actual value of code 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