Class: AWSCDK::Route53Resolver::CfnFirewallRuleGroup::FirewallAdvancedContentCategoryConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Route53Resolver::CfnFirewallRuleGroup::FirewallAdvancedContentCategoryConfigProperty
- Defined in:
- route53_resolver/cfn_firewall_rule_group.rb
Overview
Configuration for an advanced content category rule type.
Instance Attribute Summary collapse
-
#category ⇒ String
readonly
The content category value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category:) ⇒ FirewallAdvancedContentCategoryConfigProperty
constructor
A new instance of FirewallAdvancedContentCategoryConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category:) ⇒ FirewallAdvancedContentCategoryConfigProperty
Returns a new instance of FirewallAdvancedContentCategoryConfigProperty.
623 624 625 626 |
# File 'route53_resolver/cfn_firewall_rule_group.rb', line 623 def initialize(category:) @category = category Jsii::Type.check_type(@category, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "category") end |
Instance Attribute Details
#category ⇒ String (readonly)
The content category value.
632 633 634 |
# File 'route53_resolver/cfn_firewall_rule_group.rb', line 632 def category @category end |
Class Method Details
.jsii_properties ⇒ Object
634 635 636 637 638 |
# File 'route53_resolver/cfn_firewall_rule_group.rb', line 634 def self.jsii_properties { :category => "category", } end |
Instance Method Details
#to_jsii ⇒ Object
640 641 642 643 644 645 646 |
# File 'route53_resolver/cfn_firewall_rule_group.rb', line 640 def to_jsii result = {} result.merge!({ "category" => @category, }) result.compact end |