Class: AWSCDK::CleanRooms::CfnConfiguredTable::AnalysisRuleProperty

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

Overview

A specification about how data from the configured table can be used in a query.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policy:, type:) ⇒ AnalysisRuleProperty

Returns a new instance of AnalysisRuleProperty.

Parameters:



973
974
975
976
977
978
# File 'clean_rooms/cfn_configured_table.rb', line 973

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

Instance Attribute Details

#typeString (readonly)

The type of analysis rule.



989
990
991
# File 'clean_rooms/cfn_configured_table.rb', line 989

def type
  @type
end

Class Method Details

.jsii_propertiesObject



991
992
993
994
995
996
# File 'clean_rooms/cfn_configured_table.rb', line 991

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

Instance Method Details

#to_jsiiObject



998
999
1000
1001
1002
1003
1004
1005
# File 'clean_rooms/cfn_configured_table.rb', line 998

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