Class: AWSCDK::CleanRooms::CfnConfiguredTable::ConfiguredTableAnalysisRulePolicyV1Property
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnConfiguredTable::ConfiguredTableAnalysisRulePolicyV1Property
- Defined in:
- clean_rooms/cfn_configured_table.rb
Overview
Controls on the query specifications that can be run on a configured table.
Instance Attribute Summary collapse
-
#aggregation ⇒ AWSCDK::IResolvable, ...
readonly
Analysis rule type that enables only aggregation queries on a configured table.
-
#custom ⇒ AWSCDK::IResolvable, ...
readonly
Analysis rule type that enables custom SQL queries on a configured table.
-
#list ⇒ AWSCDK::IResolvable, ...
readonly
Analysis rule type that enables only list queries on a configured table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aggregation: nil, custom: nil, list: nil) ⇒ ConfiguredTableAnalysisRulePolicyV1Property
constructor
A new instance of ConfiguredTableAnalysisRulePolicyV1Property.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aggregation: nil, custom: nil, list: nil) ⇒ ConfiguredTableAnalysisRulePolicyV1Property
Returns a new instance of ConfiguredTableAnalysisRulePolicyV1Property.
1133 1134 1135 1136 1137 1138 1139 1140 |
# File 'clean_rooms/cfn_configured_table.rb', line 1133 def initialize(aggregation: nil, custom: nil, list: nil) @aggregation = aggregation.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTable::AnalysisRuleAggregationProperty.new(**aggregation.transform_keys(&:to_sym)) : aggregation Jsii::Type.check_type(@aggregation, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZS5BbmFseXNpc1J1bGVBZ2dyZWdhdGlvblByb3BlcnR5In1dfX0=")), "aggregation") unless @aggregation.nil? @custom = custom.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTable::AnalysisRuleCustomProperty.new(**custom.transform_keys(&:to_sym)) : custom Jsii::Type.check_type(@custom, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZS5BbmFseXNpc1J1bGVDdXN0b21Qcm9wZXJ0eSJ9XX19")), "custom") unless @custom.nil? @list = list.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTable::AnalysisRuleListProperty.new(**list.transform_keys(&:to_sym)) : list Jsii::Type.check_type(@list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZS5BbmFseXNpc1J1bGVMaXN0UHJvcGVydHkifV19fQ==")), "list") unless @list.nil? end |
Instance Attribute Details
#aggregation ⇒ AWSCDK::IResolvable, ... (readonly)
Analysis rule type that enables only aggregation queries on a configured table.
1146 1147 1148 |
# File 'clean_rooms/cfn_configured_table.rb', line 1146 def aggregation @aggregation end |
#custom ⇒ AWSCDK::IResolvable, ... (readonly)
Analysis rule type that enables custom SQL queries on a configured table.
1151 1152 1153 |
# File 'clean_rooms/cfn_configured_table.rb', line 1151 def custom @custom end |
#list ⇒ AWSCDK::IResolvable, ... (readonly)
Analysis rule type that enables only list queries on a configured table.
1156 1157 1158 |
# File 'clean_rooms/cfn_configured_table.rb', line 1156 def list @list end |
Class Method Details
.jsii_properties ⇒ Object
1158 1159 1160 1161 1162 1163 1164 |
# File 'clean_rooms/cfn_configured_table.rb', line 1158 def self.jsii_properties { :aggregation => "aggregation", :custom => "custom", :list => "list", } end |
Instance Method Details
#to_jsii ⇒ Object
1166 1167 1168 1169 1170 1171 1172 1173 1174 |
# File 'clean_rooms/cfn_configured_table.rb', line 1166 def to_jsii result = {} result.merge!({ "aggregation" => @aggregation, "custom" => @custom, "list" => @list, }) result.compact end |