Class: AWSCDK::CleanRooms::CfnConfiguredTable::AnalysisRuleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnConfiguredTable::AnalysisRuleProperty
- 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
-
#policy ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnConfiguredTable::ConfiguredTableAnalysisRulePolicyProperty
readonly
A policy that describes the associated data usage limitations.
-
#type ⇒ String
readonly
The type of analysis rule.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(policy:, type:) ⇒ AnalysisRuleProperty
constructor
A new instance of AnalysisRuleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(policy:, type:) ⇒ AnalysisRuleProperty
Returns a new instance of AnalysisRuleProperty.
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
#policy ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnConfiguredTable::ConfiguredTableAnalysisRulePolicyProperty (readonly)
A policy that describes the associated data usage limitations.
984 985 986 |
# File 'clean_rooms/cfn_configured_table.rb', line 984 def policy @policy end |
#type ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |