Class: AWSCDK::WAFv2::CfnRuleGroup::PaymentNetworkProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnRuleGroup::PaymentNetworkProperty
- Defined in:
- wa_fv2/cfn_rule_group.rb
Overview
Configuration for a single payment network.
Instance Attribute Summary collapse
-
#chain ⇒ String
readonly
The blockchain chain to use.
-
#prices ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WAFv2::CfnRuleGroup::PriceProperty>
readonly
List of price configurations.
-
#wallet_address ⇒ String
readonly
The wallet address for receiving payments.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(chain:, prices:, wallet_address:) ⇒ PaymentNetworkProperty
constructor
A new instance of PaymentNetworkProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(chain:, prices:, wallet_address:) ⇒ PaymentNetworkProperty
Returns a new instance of PaymentNetworkProperty.
2752 2753 2754 2755 2756 2757 2758 2759 |
# File 'wa_fv2/cfn_rule_group.rb', line 2752 def initialize(chain:, prices:, wallet_address:) @chain = chain Jsii::Type.check_type(@chain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "chain") @prices = prices Jsii::Type.check_type(@prices, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfd2FmdjIuQ2ZuUnVsZUdyb3VwLlByaWNlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "prices") @wallet_address = wallet_address Jsii::Type.check_type(@wallet_address, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "walletAddress") end |
Instance Attribute Details
#chain ⇒ String (readonly)
The blockchain chain to use.
2765 2766 2767 |
# File 'wa_fv2/cfn_rule_group.rb', line 2765 def chain @chain end |
#prices ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WAFv2::CfnRuleGroup::PriceProperty> (readonly)
List of price configurations.
2770 2771 2772 |
# File 'wa_fv2/cfn_rule_group.rb', line 2770 def prices @prices end |
#wallet_address ⇒ String (readonly)
The wallet address for receiving payments.
2775 2776 2777 |
# File 'wa_fv2/cfn_rule_group.rb', line 2775 def wallet_address @wallet_address end |
Class Method Details
.jsii_properties ⇒ Object
2777 2778 2779 2780 2781 2782 2783 |
# File 'wa_fv2/cfn_rule_group.rb', line 2777 def self.jsii_properties { :chain => "chain", :prices => "prices", :wallet_address => "walletAddress", } end |
Instance Method Details
#to_jsii ⇒ Object
2785 2786 2787 2788 2789 2790 2791 2792 2793 |
# File 'wa_fv2/cfn_rule_group.rb', line 2785 def to_jsii result = {} result.merge!({ "chain" => @chain, "prices" => @prices, "walletAddress" => @wallet_address, }) result.compact end |