interface ColumnRestriction
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Logs.ColumnRestriction |
Java | software.amazon.awscdk.services.logs.ColumnRestriction |
Python | aws_cdk.aws_logs.ColumnRestriction |
TypeScript (source) | @aws-cdk/aws-logs » ColumnRestriction |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as logs from '@aws-cdk/aws-logs';
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.