Class: AWSCDK::RTBFabric::CfnLink::OpenRtbAttributeModuleParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnLink::OpenRtbAttributeModuleParametersProperty
- Defined in:
- rtb_fabric/cfn_link.rb
Overview
Describes the parameters of an open RTB attribute module.
Instance Attribute Summary collapse
-
#action ⇒ AWSCDK::IResolvable, AWSCDK::RTBFabric::CfnLink::ActionProperty
readonly
Describes a bid action.
-
#filter_configuration ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::RTBFabric::CfnLink::FilterProperty>
readonly
Describes the configuration of a filter.
-
#filter_type ⇒ String
readonly
The filter type.
-
#holdback_percentage ⇒ Numeric
readonly
The hold back percentage.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action:, filter_configuration:, filter_type:, holdback_percentage:) ⇒ OpenRtbAttributeModuleParametersProperty
constructor
A new instance of OpenRtbAttributeModuleParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action:, filter_configuration:, filter_type:, holdback_percentage:) ⇒ OpenRtbAttributeModuleParametersProperty
Returns a new instance of OpenRtbAttributeModuleParametersProperty.
1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 |
# File 'rtb_fabric/cfn_link.rb', line 1136 def initialize(action:, filter_configuration:, filter_type:, holdback_percentage:) @action = action.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnLink::ActionProperty.new(**action.transform_keys(&:to_sym)) : action Jsii::Type.check_type(@action, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuTGluay5BY3Rpb25Qcm9wZXJ0eSJ9XX19")), "action") @filter_configuration = filter_configuration Jsii::Type.check_type(@filter_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcnRiZmFicmljLkNmbkxpbmsuRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "filterConfiguration") @filter_type = filter_type Jsii::Type.check_type(@filter_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "filterType") @holdback_percentage = holdback_percentage Jsii::Type.check_type(@holdback_percentage, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "holdbackPercentage") end |
Instance Attribute Details
#action ⇒ AWSCDK::IResolvable, AWSCDK::RTBFabric::CfnLink::ActionProperty (readonly)
Describes a bid action.
1151 1152 1153 |
# File 'rtb_fabric/cfn_link.rb', line 1151 def action @action end |
#filter_configuration ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::RTBFabric::CfnLink::FilterProperty> (readonly)
Describes the configuration of a filter.
1156 1157 1158 |
# File 'rtb_fabric/cfn_link.rb', line 1156 def filter_configuration @filter_configuration end |
#filter_type ⇒ String (readonly)
The filter type.
1161 1162 1163 |
# File 'rtb_fabric/cfn_link.rb', line 1161 def filter_type @filter_type end |
#holdback_percentage ⇒ Numeric (readonly)
The hold back percentage.
1166 1167 1168 |
# File 'rtb_fabric/cfn_link.rb', line 1166 def holdback_percentage @holdback_percentage end |
Class Method Details
.jsii_properties ⇒ Object
1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'rtb_fabric/cfn_link.rb', line 1168 def self.jsii_properties { :action => "action", :filter_configuration => "filterConfiguration", :filter_type => "filterType", :holdback_percentage => "holdbackPercentage", } end |
Instance Method Details
#to_jsii ⇒ Object
1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 |
# File 'rtb_fabric/cfn_link.rb', line 1177 def to_jsii result = {} result.merge!({ "action" => @action, "filterConfiguration" => @filter_configuration, "filterType" => @filter_type, "holdbackPercentage" => @holdback_percentage, }) result.compact end |