interface ColumnRestriction
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Logs.ColumnRestriction | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#ColumnRestriction | 
|  Java | software.amazon.awscdk.services.logs.ColumnRestriction | 
|  Python | aws_cdk.aws_logs.ColumnRestriction | 
|  TypeScript (source) | aws-cdk-lib»aws_logs»ColumnRestriction | 
Example
// 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
| Name | Type | Description | 
|---|---|---|
| comparison | string | Comparison operator to use. | 
| number | number | Number value to compare to. | 
| string | string | String value to compare to. | 
comparison
Type:
string
Comparison operator to use.
numberValue?
Type:
number
(optional)
Number value to compare to.
Exactly one of 'stringValue' and 'numberValue' must be set.
stringValue?
Type:
string
(optional)
String value to compare to.
Exactly one of 'stringValue' and 'numberValue' must be set.
