Class: AWSCDK::CleanRooms::CfnConfiguredTableAssociation::ConfiguredTableAssociationAnalysisRulePolicyV1Property

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aggregation: nil, custom: nil, list: nil) ⇒ ConfiguredTableAssociationAnalysisRulePolicyV1Property

Returns a new instance of ConfiguredTableAssociationAnalysisRulePolicyV1Property.

Parameters:



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

#customAWSCDK::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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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