Skip to content

Guardduty  >  Structures  >  Condition

Condition

Structure Class

Condition dataclass

Contains information about the condition.

Attributes

eq class-attribute instance-attribute
eq: list[str] | None = None

Represents the equal condition to be applied to a single field when querying for findings.

Max values: 50

equals class-attribute instance-attribute
equals: list[str] | None = None

Represents an equal condition to be applied to a single field when querying for findings.

Max values: 50

greater_than class-attribute instance-attribute
greater_than: int | None = None

Represents a greater than condition to be applied to a single field when querying for findings.

greater_than_or_equal class-attribute instance-attribute
greater_than_or_equal: int | None = None

Represents a greater than or equal condition to be applied to a single field when querying for findings.

gt class-attribute instance-attribute
gt: int | None = None

Represents a greater than condition to be applied to a single field when querying for findings.

gte class-attribute instance-attribute
gte: int | None = None

Represents a greater than or equal condition to be applied to a single field when querying for findings.

less_than class-attribute instance-attribute
less_than: int | None = None

Represents a less than condition to be applied to a single field when querying for findings.

less_than_or_equal class-attribute instance-attribute
less_than_or_equal: int | None = None

Represents a less than or equal condition to be applied to a single field when querying for findings.

lt class-attribute instance-attribute
lt: int | None = None

Represents a less than condition to be applied to a single field when querying for findings.

lte class-attribute instance-attribute
lte: int | None = None

Represents a less than or equal condition to be applied to a single field when querying for findings.

matches class-attribute instance-attribute
matches: list[str] | None = None

Represents the match condition to be applied to a single field when querying for findings.

Note

The matches condition is available only for create-filter and update-filter APIs.

neq class-attribute instance-attribute
neq: list[str] | None = None

Represents the not equal condition to be applied to a single field when querying for findings.

Max values: 50

not_equals class-attribute instance-attribute
not_equals: list[str] | None = None

Represents a not equal condition to be applied to a single field when querying for findings.

Max values: 50

not_matches class-attribute instance-attribute
not_matches: list[str] | None = None

Represents the not match condition to be applied to a single field when querying for findings.

Note

The not-matches condition is available only for create-filter and update-filter APIs.