Class: AWSCDK::Interfaces::AWSWafv2::RegexPatternSetReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSWafv2::RegexPatternSetReference
- Defined in:
- interfaces/aws_wafv2/regex_pattern_set_reference.rb
Overview
A reference to a RegexPatternSet resource.
Instance Attribute Summary collapse
-
#regex_pattern_set_arn ⇒ String
readonly
The ARN of the RegexPatternSet resource.
-
#regex_pattern_set_id ⇒ String
readonly
The Id of the RegexPatternSet resource.
-
#regex_pattern_set_name ⇒ String
readonly
The Name of the RegexPatternSet resource.
-
#scope ⇒ String
readonly
The Scope of the RegexPatternSet resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(regex_pattern_set_arn:, regex_pattern_set_id:, regex_pattern_set_name:, scope:) ⇒ RegexPatternSetReference
constructor
A new instance of RegexPatternSetReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(regex_pattern_set_arn:, regex_pattern_set_id:, regex_pattern_set_name:, scope:) ⇒ RegexPatternSetReference
Returns a new instance of RegexPatternSetReference.
11 12 13 14 15 16 17 18 19 20 |
# File 'interfaces/aws_wafv2/regex_pattern_set_reference.rb', line 11 def initialize(regex_pattern_set_arn:, regex_pattern_set_id:, regex_pattern_set_name:, scope:) @regex_pattern_set_arn = regex_pattern_set_arn Jsii::Type.check_type(@regex_pattern_set_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "regexPatternSetArn") @regex_pattern_set_id = regex_pattern_set_id Jsii::Type.check_type(@regex_pattern_set_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "regexPatternSetId") @regex_pattern_set_name = regex_pattern_set_name Jsii::Type.check_type(@regex_pattern_set_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "regexPatternSetName") @scope = scope Jsii::Type.check_type(@scope, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scope") end |
Instance Attribute Details
#regex_pattern_set_arn ⇒ String (readonly)
The ARN of the RegexPatternSet resource.
25 26 27 |
# File 'interfaces/aws_wafv2/regex_pattern_set_reference.rb', line 25 def regex_pattern_set_arn @regex_pattern_set_arn end |
#regex_pattern_set_id ⇒ String (readonly)
The Id of the RegexPatternSet resource.
29 30 31 |
# File 'interfaces/aws_wafv2/regex_pattern_set_reference.rb', line 29 def regex_pattern_set_id @regex_pattern_set_id end |
#regex_pattern_set_name ⇒ String (readonly)
The Name of the RegexPatternSet resource.
33 34 35 |
# File 'interfaces/aws_wafv2/regex_pattern_set_reference.rb', line 33 def regex_pattern_set_name @regex_pattern_set_name end |
#scope ⇒ String (readonly)
The Scope of the RegexPatternSet resource.
37 38 39 |
# File 'interfaces/aws_wafv2/regex_pattern_set_reference.rb', line 37 def scope @scope end |
Class Method Details
.jsii_properties ⇒ Object
39 40 41 42 43 44 45 46 |
# File 'interfaces/aws_wafv2/regex_pattern_set_reference.rb', line 39 def self.jsii_properties { :regex_pattern_set_arn => "regexPatternSetArn", :regex_pattern_set_id => "regexPatternSetId", :regex_pattern_set_name => "regexPatternSetName", :scope => "scope", } end |
Instance Method Details
#to_jsii ⇒ Object
48 49 50 51 52 53 54 55 56 57 |
# File 'interfaces/aws_wafv2/regex_pattern_set_reference.rb', line 48 def to_jsii result = {} result.merge!({ "regexPatternSetArn" => @regex_pattern_set_arn, "regexPatternSetId" => @regex_pattern_set_id, "regexPatternSetName" => @regex_pattern_set_name, "scope" => @scope, }) result.compact end |