aws-cdk-lib.aws_logs.ColumnRestriction

interface ColumnRestriction

LanguageType name
.NETAmazon.CDK.AWS.Logs.ColumnRestriction
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslogs#ColumnRestriction
Javasoftware.amazon.awscdk.services.logs.ColumnRestriction
Pythonaws_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

NameTypeDescription
comparisonstringComparison operator to use.
numberValue?numberNumber value to compare to.
stringValue?stringString 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.