Class: AWSCDK::CleanRooms::CfnConfiguredTableAssociation::ConfiguredTableAssociationAnalysisRuleProperty

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

Overview

An analysis rule for a configured table association.

This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, the ConfiguredTableAssociationAnalysisRule is referred to as the collaboration analysis rule .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policy:, type:) ⇒ ConfiguredTableAssociationAnalysisRuleProperty

Returns a new instance of ConfiguredTableAssociationAnalysisRuleProperty.

Parameters:



831
832
833
834
835
836
# File 'clean_rooms/cfn_configured_table_association.rb', line 831

def initialize(policy:, type:)
  @policy = policy.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnConfiguredTableAssociation::ConfiguredTableAssociationAnalysisRulePolicyProperty.new(**policy.transform_keys(&:to_sym)) : policy
  Jsii::Type.check_type(@policy, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbmZpZ3VyZWRUYWJsZUFzc29jaWF0aW9uLkNvbmZpZ3VyZWRUYWJsZUFzc29jaWF0aW9uQW5hbHlzaXNSdWxlUG9saWN5UHJvcGVydHkifV19fQ==")), "policy")
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
end

Class Method Details

.jsii_propertiesObject



849
850
851
852
853
854
# File 'clean_rooms/cfn_configured_table_association.rb', line 849

def self.jsii_properties
  {
    :policy => "policy",
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



856
857
858
859
860
861
862
863
# File 'clean_rooms/cfn_configured_table_association.rb', line 856

def to_jsii
  result = {}
  result.merge!({
    "policy" => @policy,
    "type" => @type,
  })
  result.compact
end