Class: AWSCDK::WAFv2::CfnRuleGroup::CryptoConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
wa_fv2/cfn_rule_group.rb

Overview

Configures cryptocurrency payment settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(payment_networks:) ⇒ CryptoConfigProperty

Returns a new instance of CryptoConfigProperty.

Parameters:



1295
1296
1297
1298
# File 'wa_fv2/cfn_rule_group.rb', line 1295

def initialize(payment_networks:)
  @payment_networks = payment_networks
  Jsii::Type.check_type(@payment_networks, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfd2FmdjIuQ2ZuUnVsZUdyb3VwLlBheW1lbnROZXR3b3JrUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "paymentNetworks")
end

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



1306
1307
1308
1309
1310
# File 'wa_fv2/cfn_rule_group.rb', line 1306

def self.jsii_properties
  {
    :payment_networks => "paymentNetworks",
  }
end

Instance Method Details

#to_jsiiObject



1312
1313
1314
1315
1316
1317
1318
# File 'wa_fv2/cfn_rule_group.rb', line 1312

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