Class: AWSCDK::WAFv2::CfnLoggingConfiguration::MatchPatternProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnLoggingConfiguration::MatchPatternProperty
- Defined in:
- wa_fv2/cfn_logging_configuration.rb
Overview
Instance Attribute Summary collapse
- #all ⇒ Object? readonly
- #included_paths ⇒ Array<String>? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(all: nil, included_paths: nil) ⇒ MatchPatternProperty
constructor
A new instance of MatchPatternProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(all: nil, included_paths: nil) ⇒ MatchPatternProperty
Returns a new instance of MatchPatternProperty.
915 916 917 918 919 920 |
# File 'wa_fv2/cfn_logging_configuration.rb', line 915 def initialize(all: nil, included_paths: nil) @all = all Jsii::Type.check_type(@all, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "all") unless @all.nil? @included_paths = included_paths Jsii::Type.check_type(@included_paths, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "includedPaths") unless @included_paths.nil? end |
Instance Attribute Details
#all ⇒ Object? (readonly)
924 925 926 |
# File 'wa_fv2/cfn_logging_configuration.rb', line 924 def all @all end |
#included_paths ⇒ Array<String>? (readonly)
927 928 929 |
# File 'wa_fv2/cfn_logging_configuration.rb', line 927 def included_paths @included_paths end |
Class Method Details
.jsii_properties ⇒ Object
929 930 931 932 933 934 |
# File 'wa_fv2/cfn_logging_configuration.rb', line 929 def self.jsii_properties { :all => "all", :included_paths => "includedPaths", } end |
Instance Method Details
#to_jsii ⇒ Object
936 937 938 939 940 941 942 943 |
# File 'wa_fv2/cfn_logging_configuration.rb', line 936 def to_jsii result = {} result.merge!({ "all" => @all, "includedPaths" => @included_paths, }) result.compact end |