Class: AWSCDK::RTBFabric::CfnLinkRoutingRule::QueryStringKeyValuePairProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
rtb_fabric/cfn_link_routing_rule.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key:, value:) ⇒ QueryStringKeyValuePairProperty

Returns a new instance of QueryStringKeyValuePairProperty.

Parameters:

  • key (String)

    Query string key — RFC 3986 unreserved characters.

  • value (String)

    Query string value — RFC 3986 unreserved characters.



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

#keyString (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

#valueString (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_propertiesObject



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_jsiiObject



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