ColumnRestriction Struct
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const columnRestriction: logs.ColumnRestriction = {
comparison: 'comparison',
// the properties below are optional
numberValue: 123,
stringValue: 'stringValue',
};
Properties
Comparison operator to use.
numberValueoptionalnumbernumber_valueoptionalint | floatnumberValueoptionalNumberNumberValueoptionaldoubleNumberValueoptional*float64#Number value to compare to.
Exactly one of 'stringValue' and 'numberValue' must be set.
stringValueoptionalstringstring_valueoptionalstrstringValueoptionalStringStringValueoptionalstringStringValueoptional*string#String value to compare to.
Exactly one of 'stringValue' and 'numberValue' must be set.