ColumnRestriction

class aws_cdk.aws_logs.ColumnRestriction(*, comparison, number_value=None, string_value=None)

Bases: object

__init__(*, comparison, number_value=None, string_value=None)
Parameters
  • comparison (str) – Comparison operator to use.

  • number_value (Union[int, float, None]) – Number value to compare to. Exactly one of ‘stringValue’ and ‘numberValue’ must be set.

  • string_value (Optional[str]) – String value to compare to. Exactly one of ‘stringValue’ and ‘numberValue’ must be set.

Attributes

comparison

Comparison operator to use.

Return type

str

number_value

Number value to compare to.

Exactly one of ‘stringValue’ and ‘numberValue’ must be set.

Return type

Union[int, float, None]

string_value

String value to compare to.

Exactly one of ‘stringValue’ and ‘numberValue’ must be set.

Return type

Optional[str]