Class: AWSCDK::DataBrew::CfnJob::ValidationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataBrew::CfnJob::ValidationConfigurationProperty
- Defined in:
- data_brew/cfn_job.rb
Overview
Configuration for data quality validation.
Used to select the Rulesets and Validation Mode to be used in the profile job. When ValidationConfiguration is null, the profile job will run without data quality validation.
Instance Attribute Summary collapse
-
#ruleset_arn ⇒ String
readonly
The Amazon Resource Name (ARN) for the ruleset to be validated in the profile job.
-
#validation_mode ⇒ String?
readonly
Mode of data quality validation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ruleset_arn:, validation_mode: nil) ⇒ ValidationConfigurationProperty
constructor
A new instance of ValidationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ruleset_arn:, validation_mode: nil) ⇒ ValidationConfigurationProperty
Returns a new instance of ValidationConfigurationProperty.
1693 1694 1695 1696 1697 1698 |
# File 'data_brew/cfn_job.rb', line 1693 def initialize(ruleset_arn:, validation_mode: nil) @ruleset_arn = ruleset_arn Jsii::Type.check_type(@ruleset_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "rulesetArn") @validation_mode = validation_mode Jsii::Type.check_type(@validation_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "validationMode") unless @validation_mode.nil? end |
Instance Attribute Details
#ruleset_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) for the ruleset to be validated in the profile job.
The TargetArn of the selected ruleset should be the same as the Amazon Resource Name (ARN) of the dataset that is associated with the profile job.
1706 1707 1708 |
# File 'data_brew/cfn_job.rb', line 1706 def ruleset_arn @ruleset_arn end |
#validation_mode ⇒ String? (readonly)
Mode of data quality validation.
Default mode is “CHECK_ALL” which verifies all rules defined in the selected ruleset.
1713 1714 1715 |
# File 'data_brew/cfn_job.rb', line 1713 def validation_mode @validation_mode end |
Class Method Details
.jsii_properties ⇒ Object
1715 1716 1717 1718 1719 1720 |
# File 'data_brew/cfn_job.rb', line 1715 def self.jsii_properties { :ruleset_arn => "rulesetArn", :validation_mode => "validationMode", } end |
Instance Method Details
#to_jsii ⇒ Object
1722 1723 1724 1725 1726 1727 1728 1729 |
# File 'data_brew/cfn_job.rb', line 1722 def to_jsii result = {} result.merge!({ "rulesetArn" => @ruleset_arn, "validationMode" => @validation_mode, }) result.compact end |