Class: AWSCDK::CleanRooms::CfnConfiguredTable::AggregateColumnProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
clean_rooms/cfn_configured_table.rb

Overview

Column in configured table that can be used in aggregate function in query.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(column_names:, function:) ⇒ AggregateColumnProperty

Returns a new instance of AggregateColumnProperty.

Parameters:

  • column_names (Array<String>)

    Column names in configured table of aggregate columns.

  • function (String)

    Aggregation function that can be applied to aggregate column in query.



622
623
624
625
626
627
# File 'clean_rooms/cfn_configured_table.rb', line 622

def initialize(column_names:, function:)
  @column_names = column_names
  Jsii::Type.check_type(@column_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "columnNames")
  @function = function
  Jsii::Type.check_type(@function, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "function")
end

Instance Attribute Details

#column_namesArray<String> (readonly)

Column names in configured table of aggregate columns.



633
634
635
# File 'clean_rooms/cfn_configured_table.rb', line 633

def column_names
  @column_names
end

#functionString (readonly)

Aggregation function that can be applied to aggregate column in query.



638
639
640
# File 'clean_rooms/cfn_configured_table.rb', line 638

def function
  @function
end

Class Method Details

.jsii_propertiesObject



640
641
642
643
644
645
# File 'clean_rooms/cfn_configured_table.rb', line 640

def self.jsii_properties
  {
    :column_names => "columnNames",
    :function => "function",
  }
end

Instance Method Details

#to_jsiiObject



647
648
649
650
651
652
653
654
# File 'clean_rooms/cfn_configured_table.rb', line 647

def to_jsii
  result = {}
  result.merge!({
    "columnNames" => @column_names,
    "function" => @function,
  })
  result.compact
end