Class: AWSCDK::RTBFabric::CfnLinkRoutingRule::QueryStringKeyValuePairProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnLinkRoutingRule::QueryStringKeyValuePairProperty
- Defined in:
- rtb_fabric/cfn_link_routing_rule.rb
Overview
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
Query string key — RFC 3986 unreserved characters.
-
#value ⇒ String
readonly
Query string value — RFC 3986 unreserved characters.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ QueryStringKeyValuePairProperty
constructor
A new instance of QueryStringKeyValuePairProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:) ⇒ QueryStringKeyValuePairProperty
Returns a new instance of QueryStringKeyValuePairProperty.
587 588 589 590 591 592 |
# File 'rtb_fabric/cfn_link_routing_rule.rb', line 587 def initialize(key:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
Query string key — RFC 3986 unreserved characters.
598 599 600 |
# File 'rtb_fabric/cfn_link_routing_rule.rb', line 598 def key @key end |
#value ⇒ String (readonly)
Query string value — RFC 3986 unreserved characters.
603 604 605 |
# File 'rtb_fabric/cfn_link_routing_rule.rb', line 603 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
605 606 607 608 609 610 |
# File 'rtb_fabric/cfn_link_routing_rule.rb', line 605 def self.jsii_properties { :key => "key", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
612 613 614 615 616 617 618 619 |
# File 'rtb_fabric/cfn_link_routing_rule.rb', line 612 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, }) result.compact end |