DetectorEvents
- class aws_cdk.mixins_preview.aws_guardduty.events.DetectorEvents(*args: Any, **kwargs)
Bases:
object(experimental) EventBridge event patterns for Detector.
- 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 from aws_cdk.interfaces import aws_guardduty as interfaces_guardduty # detector_ref: interfaces_guardduty.IDetectorRef detector_events = guardduty_events.DetectorEvents.from_detector(detector_ref)
Methods
- guard_duty_finding_pattern(*, account_id=None, arn=None, created_at=None, description=None, event_metadata=None, id=None, partition=None, region=None, resource=None, schema_version=None, service=None, severity=None, title=None, type=None, updated_at=None)
(experimental) EventBridge event pattern for Detector GuardDuty Finding.
- Parameters:
account_id (
Optional[Sequence[str]]) – (experimental) accountId property. Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldarn (
Optional[Sequence[str]]) – (experimental) arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldcreated_at (
Optional[Sequence[str]]) – (experimental) createdAt property. Specify an array of string values to match this event if the actual value of createdAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddescription (
Optional[Sequence[str]]) – (experimental) description property. Specify an array of string values to match this event if the actual value of description is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -id (
Optional[Sequence[str]]) – (experimental) id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldpartition (
Optional[Sequence[str]]) – (experimental) partition property. Specify an array of string values to match this event if the actual value of partition is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldregion (
Optional[Sequence[str]]) – (experimental) region property. Specify an array of string values to match this event if the actual value of region is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldresource (
Union[Resource,Dict[str,Any],None]) – (experimental) resource property. Specify an array of string values to match this event if the actual value of resource is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldschema_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldservice (
Union[Service,Dict[str,Any],None]) – (experimental) service property. Specify an array of string values to match this event if the actual value of service is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldseverity (
Optional[Sequence[str]]) – (experimental) severity property. Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtitle (
Optional[Sequence[str]]) – (experimental) title property. Specify an array of string values to match this event if the actual value of title is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtype (
Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldupdated_at (
Optional[Sequence[str]]) – (experimental) updatedAt property. Specify an array of string values to match this event if the actual value of updatedAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
Static Methods
- classmethod from_detector(detector_ref)
(experimental) Create DetectorEvents from a Detector reference.
- Parameters:
detector_ref (
IDetectorRef)- Stability:
experimental
- Return type: