Class ColumnRestriction
Inheritance
System.Object
ColumnRestriction
Implements
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ColumnRestriction : Object, IColumnRestriction
Syntax (vb)
Public Class ColumnRestriction
Inherits Object
Implements IColumnRestriction
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Logs;
var columnRestriction = new ColumnRestriction {
Comparison = "comparison",
// the properties below are optional
NumberValue = 123,
StringValue = "stringValue"
};
Synopsis
Constructors
ColumnRestriction() |
Properties
Comparison | Comparison operator to use. |
NumberValue | Number value to compare to. |
StringValue | String value to compare to. |
Constructors
ColumnRestriction()
public ColumnRestriction()
Properties
Comparison
Comparison operator to use.
public string Comparison { get; set; }
Property Value
System.String
NumberValue
Number value to compare to.
public Nullable<double> NumberValue { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Exactly one of 'stringValue' and 'numberValue' must be set.
StringValue
String value to compare to.
public string StringValue { get; set; }
Property Value
System.String
Remarks
Exactly one of 'stringValue' and 'numberValue' must be set.