Class: AWSCDK::Interfaces::AWSWafv2::IPSetReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSWafv2::IPSetReference
- Defined in:
- interfaces/aws_wafv2/ip_set_reference.rb
Overview
A reference to a IPSet resource.
Instance Attribute Summary collapse
-
#ip_set_arn ⇒ String
readonly
The ARN of the IPSet resource.
-
#ip_set_id ⇒ String
readonly
The Id of the IPSet resource.
-
#ip_set_name ⇒ String
readonly
The Name of the IPSet resource.
-
#scope ⇒ String
readonly
The Scope of the IPSet resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ip_set_arn:, ip_set_id:, ip_set_name:, scope:) ⇒ IPSetReference
constructor
A new instance of IPSetReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ip_set_arn:, ip_set_id:, ip_set_name:, scope:) ⇒ IPSetReference
Returns a new instance of IPSetReference.
11 12 13 14 15 16 17 18 19 20 |
# File 'interfaces/aws_wafv2/ip_set_reference.rb', line 11 def initialize(ip_set_arn:, ip_set_id:, ip_set_name:, scope:) @ip_set_arn = ip_set_arn Jsii::Type.check_type(@ip_set_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ipSetArn") @ip_set_id = ip_set_id Jsii::Type.check_type(@ip_set_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ipSetId") @ip_set_name = ip_set_name Jsii::Type.check_type(@ip_set_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ipSetName") @scope = scope Jsii::Type.check_type(@scope, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scope") end |
Instance Attribute Details
#ip_set_arn ⇒ String (readonly)
The ARN of the IPSet resource.
25 26 27 |
# File 'interfaces/aws_wafv2/ip_set_reference.rb', line 25 def ip_set_arn @ip_set_arn end |
#ip_set_id ⇒ String (readonly)
The Id of the IPSet resource.
29 30 31 |
# File 'interfaces/aws_wafv2/ip_set_reference.rb', line 29 def ip_set_id @ip_set_id end |
#ip_set_name ⇒ String (readonly)
The Name of the IPSet resource.
33 34 35 |
# File 'interfaces/aws_wafv2/ip_set_reference.rb', line 33 def ip_set_name @ip_set_name end |
#scope ⇒ String (readonly)
The Scope of the IPSet resource.
37 38 39 |
# File 'interfaces/aws_wafv2/ip_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/ip_set_reference.rb', line 39 def self.jsii_properties { :ip_set_arn => "ipSetArn", :ip_set_id => "ipSetId", :ip_set_name => "ipSetName", :scope => "scope", } end |
Instance Method Details
#to_jsii ⇒ Object
48 49 50 51 52 53 54 55 56 57 |
# File 'interfaces/aws_wafv2/ip_set_reference.rb', line 48 def to_jsii result = {} result.merge!({ "ipSetArn" => @ip_set_arn, "ipSetId" => @ip_set_id, "ipSetName" => @ip_set_name, "scope" => @scope, }) result.compact end |