ThresholdProperty Struct
The threshold used with a non-aggregate check expression.
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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const thresholdProperty: databrew.CfnRuleset.ThresholdProperty = {
value: 123,
// the properties below are optional
type: 'type',
unit: 'unit',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_databrew as databrew
threshold_property = databrew.CfnRuleset.ThresholdProperty(
value=123,
# the properties below are optional
type="type",
unit="unit"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.databrew.*;
ThresholdProperty thresholdProperty = ThresholdProperty.builder()
.value(123)
// the properties below are optional
.type("type")
.unit("unit")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
thresholdProperty := &ThresholdProperty{
Value: jsii.Number(123),
// the properties below are optional
Type: jsii.String("type"),
Unit: jsii.String("unit"),
}
Properties
The type of a threshold.
Used for comparison of an actual count of rows that satisfy the rule to the threshold value.
Unit of threshold value.
Can be either a COUNT or PERCENTAGE of the full sample size used for validation.
The value of a threshold.