Class: AWSCDK::DataBrew::CfnJob::ColumnStatisticsConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_brew/cfn_job.rb

Overview

Configuration for column evaluations for a profile job.

ColumnStatisticsConfiguration can be used to select evaluations and override parameters of evaluations for particular columns.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(statistics:, selectors: nil) ⇒ ColumnStatisticsConfigurationProperty

Returns a new instance of ColumnStatisticsConfigurationProperty.

Parameters:



836
837
838
839
840
841
# File 'data_brew/cfn_job.rb', line 836

def initialize(statistics:, selectors: nil)
  @statistics = statistics.is_a?(Hash) ? ::AWSCDK::DataBrew::CfnJob::StatisticsConfigurationProperty.new(**statistics.transform_keys(&:to_sym)) : statistics
  Jsii::Type.check_type(@statistics, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhYnJldy5DZm5Kb2IuU3RhdGlzdGljc0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "statistics")
  @selectors = selectors
  Jsii::Type.check_type(@selectors, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZGF0YWJyZXcuQ2ZuSm9iLkNvbHVtblNlbGVjdG9yUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "selectors") unless @selectors.nil?
end

Instance Attribute Details

#selectorsAWSCDK::IResolvable, ... (readonly)

List of column selectors.

Selectors can be used to select columns from the dataset. When selectors are undefined, configuration will be applied to all supported columns.



856
857
858
# File 'data_brew/cfn_job.rb', line 856

def selectors
  @selectors
end

#statisticsAWSCDK::IResolvable, AWSCDK::DataBrew::CfnJob::StatisticsConfigurationProperty (readonly)

Configuration for evaluations.

Statistics can be used to select evaluations and override parameters of evaluations.



849
850
851
# File 'data_brew/cfn_job.rb', line 849

def statistics
  @statistics
end

Class Method Details

.jsii_propertiesObject



858
859
860
861
862
863
# File 'data_brew/cfn_job.rb', line 858

def self.jsii_properties
  {
    :statistics => "statistics",
    :selectors => "selectors",
  }
end

Instance Method Details

#to_jsiiObject



865
866
867
868
869
870
871
872
# File 'data_brew/cfn_job.rb', line 865

def to_jsii
  result = {}
  result.merge!({
    "statistics" => @statistics,
    "selectors" => @selectors,
  })
  result.compact
end