Class: AWSCDK::CleanRooms::CfnConfiguredTableAssociation::ConfiguredTableAssociationAnalysisRulePolicyV1Property
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnConfiguredTableAssociation::ConfiguredTableAssociationAnalysisRulePolicyV1Property
- Defined in:
- clean_rooms/cfn_configured_table_association.rb
Overview
Controls on the query specifications that can be run on an associated 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 the table owner to approve custom SQL queries on their configured tables.
-
#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) ⇒ ConfiguredTableAssociationAnalysisRulePolicyV1Property
constructor
A new instance of ConfiguredTableAssociationAnalysisRulePolicyV1Property.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aggregation: nil, custom: nil, list: nil) ⇒ ConfiguredTableAssociationAnalysisRulePolicyV1Property
Returns a new instance of ConfiguredTableAssociationAnalysisRulePolicyV1Property.
775 776 777 778 779 780 781 782 |
# File 'clean_rooms/cfn_configured_table_association.rb', line 775 def initialize(aggregation: nil, custom: nil, list: nil) @aggregation = aggregation.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTableAssociation::ConfiguredTableAssociationAnalysisRuleAggregationProperty.new(**aggregation.transform_keys(&:to_sym)) : aggregation Jsii::Type.check_type(@aggregation, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZUFzc29jaWF0aW9uLkNvbmZpZ3VyZWRUYWJsZUFzc29jaWF0aW9uQW5hbHlzaXNSdWxlQWdncmVnYXRpb25Qcm9wZXJ0eSJ9XX19")), "aggregation") unless @aggregation.nil? @custom = custom.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTableAssociation::ConfiguredTableAssociationAnalysisRuleCustomProperty.new(**custom.transform_keys(&:to_sym)) : custom Jsii::Type.check_type(@custom, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZUFzc29jaWF0aW9uLkNvbmZpZ3VyZWRUYWJsZUFzc29jaWF0aW9uQW5hbHlzaXNSdWxlQ3VzdG9tUHJvcGVydHkifV19fQ==")), "custom") unless @custom.nil? @list = list.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTableAssociation::ConfiguredTableAssociationAnalysisRuleListProperty.new(**list.transform_keys(&:to_sym)) : list Jsii::Type.check_type(@list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZUFzc29jaWF0aW9uLkNvbmZpZ3VyZWRUYWJsZUFzc29jaWF0aW9uQW5hbHlzaXNSdWxlTGlzdFByb3BlcnR5In1dfX0=")), "list") unless @list.nil? end |
Instance Attribute Details
#aggregation ⇒ AWSCDK::IResolvable, ... (readonly)
Analysis rule type that enables only aggregation queries on a configured table.
788 789 790 |
# File 'clean_rooms/cfn_configured_table_association.rb', line 788 def aggregation @aggregation end |
#custom ⇒ AWSCDK::IResolvable, ... (readonly)
Analysis rule type that enables the table owner to approve custom SQL queries on their configured tables.
It supports differential privacy.
795 796 797 |
# File 'clean_rooms/cfn_configured_table_association.rb', line 795 def custom @custom end |
#list ⇒ AWSCDK::IResolvable, ... (readonly)
Analysis rule type that enables only list queries on a configured table.
800 801 802 |
# File 'clean_rooms/cfn_configured_table_association.rb', line 800 def list @list end |
Class Method Details
.jsii_properties ⇒ Object
802 803 804 805 806 807 808 |
# File 'clean_rooms/cfn_configured_table_association.rb', line 802 def self.jsii_properties { :aggregation => "aggregation", :custom => "custom", :list => "list", } end |
Instance Method Details
#to_jsii ⇒ Object
810 811 812 813 814 815 816 817 818 |
# File 'clean_rooms/cfn_configured_table_association.rb', line 810 def to_jsii result = {} result.merge!({ "aggregation" => @aggregation, "custom" => @custom, "list" => @list, }) result.compact end |