Class: AWSCDK::CleanRooms::CfnConfiguredTable::AggregateColumnProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnConfiguredTable::AggregateColumnProperty
- 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
-
#column_names ⇒ Array<String>
readonly
Column names in configured table of aggregate columns.
-
#function ⇒ String
readonly
Aggregation function that can be applied to aggregate column in query.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_names:, function:) ⇒ AggregateColumnProperty
constructor
A new instance of AggregateColumnProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_names:, function:) ⇒ AggregateColumnProperty
Returns a new instance of AggregateColumnProperty.
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_names ⇒ Array<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 |
#function ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |