ColumnRestriction

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

Bases: object

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.

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 import aws_logs as logs

column_restriction = logs.ColumnRestriction(
    comparison="comparison",

    # the properties below are optional
    number_value=123,
    string_value="stringValue"
)

Attributes

comparison

Comparison operator to use.

number_value

Number value to compare to.

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

string_value

String value to compare to.

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