Class CfnRuleset.ThresholdProperty
The threshold used with a non-aggregate check expression.
Inheritance
System.Object
CfnRuleset.ThresholdProperty
Implements
Namespace: Amazon.CDK.AWS.DataBrew
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ThresholdProperty : Object, CfnRuleset.IThresholdProperty
Syntax (vb)
Public Class ThresholdProperty
Inherits Object
Implements CfnRuleset.IThresholdProperty
Remarks
The non-aggregate check expression will be applied to each row in a specific column. Then the threshold will be used to determine whether the validation succeeds.
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.DataBrew;
var thresholdProperty = new ThresholdProperty {
Value = 123,
// the properties below are optional
Type = "type",
Unit = "unit"
};
Synopsis
Constructors
ThresholdProperty() |
Properties
Type | The type of a threshold. |
Unit | Unit of threshold value. |
Value | The value of a threshold. |
Constructors
ThresholdProperty()
public ThresholdProperty()
Properties
Type
The type of a threshold.
public string Type { get; set; }
Property Value
System.String
Remarks
Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
Unit
Unit of threshold value.
public string Unit { get; set; }
Property Value
System.String
Remarks
Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
Value
The value of a threshold.
public double Value { get; set; }
Property Value
System.Double