Class: AWSCDK::WAFv2::CfnWebACL::PaymentNetworkProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnWebACL::PaymentNetworkProperty
- Defined in:
- wa_fv2/cfn_web_acl.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::CfnWebACL::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.
3984 3985 3986 3987 3988 3989 3990 3991 |
# File 'wa_fv2/cfn_web_acl.rb', line 3984 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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfd2FmdjIuQ2ZuV2ViQUNMLlByaWNlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "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.
3997 3998 3999 |
# File 'wa_fv2/cfn_web_acl.rb', line 3997 def chain @chain end |
#prices ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WAFv2::CfnWebACL::PriceProperty> (readonly)
List of price configurations.
4002 4003 4004 |
# File 'wa_fv2/cfn_web_acl.rb', line 4002 def prices @prices end |
#wallet_address ⇒ String (readonly)
The wallet address for receiving payments.
4007 4008 4009 |
# File 'wa_fv2/cfn_web_acl.rb', line 4007 def wallet_address @wallet_address end |
Class Method Details
.jsii_properties ⇒ Object
4009 4010 4011 4012 4013 4014 4015 |
# File 'wa_fv2/cfn_web_acl.rb', line 4009 def self.jsii_properties { :chain => "chain", :prices => "prices", :wallet_address => "walletAddress", } end |
Instance Method Details
#to_jsii ⇒ Object
4017 4018 4019 4020 4021 4022 4023 4024 4025 |
# File 'wa_fv2/cfn_web_acl.rb', line 4017 def to_jsii result = {} result.merge!({ "chain" => @chain, "prices" => @prices, "walletAddress" => @wallet_address, }) result.compact end |