aws-cdk-lib.aws_databrew.CfnRuleset.ThresholdProperty

interface ThresholdProperty

LanguageType name
.NETAmazon.CDK.AWS.DataBrew.CfnRuleset.ThresholdProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdatabrew#CfnRuleset_ThresholdProperty
Javasoftware.amazon.awscdk.services.databrew.CfnRuleset.ThresholdProperty
Pythonaws_cdk.aws_databrew.CfnRuleset.ThresholdProperty
TypeScript aws-cdk-lib » aws_databrew » CfnRuleset » ThresholdProperty

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.

Example

// 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',
};

Properties

NameTypeDescription
valuenumberThe value of a threshold.
type?stringThe type of a threshold.
unit?stringUnit of threshold value.

value

Type: number

The value of a threshold.


type?

Type: string (optional)

The type of a threshold.

Used for comparison of an actual count of rows that satisfy the rule to the threshold value.


unit?

Type: string (optional)

Unit of threshold value.

Can be either a COUNT or PERCENTAGE of the full sample size used for validation.