Class: AWSCDK::Events::CfnConnection::ParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Events::CfnConnection::ParameterProperty
- Defined in:
- events/cfn_connection.rb
Overview
Any additional query string parameter for the connection.
You can include up to 100 additional query string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB.
Instance Attribute Summary collapse
-
#is_value_secret ⇒ Boolean, ...
readonly
Specifies whether the value is secret.
-
#key ⇒ String
readonly
The key for a query string parameter.
-
#value ⇒ String
readonly
The value associated with the key for the query string parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:, is_value_secret: nil) ⇒ ParameterProperty
constructor
A new instance of ParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, value:, is_value_secret: nil) ⇒ ParameterProperty
Returns a new instance of ParameterProperty.
1040 1041 1042 1043 1044 1045 1046 1047 |
# File 'events/cfn_connection.rb', line 1040 def initialize(key:, value:, is_value_secret: nil) @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") @is_value_secret = is_value_secret Jsii::Type.check_type(@is_value_secret, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isValueSecret") unless @is_value_secret.nil? end |
Instance Attribute Details
#is_value_secret ⇒ Boolean, ... (readonly)
Note:
Default: - true
Specifies whether the value is secret.
1064 1065 1066 |
# File 'events/cfn_connection.rb', line 1064 def is_value_secret @is_value_secret end |
#key ⇒ String (readonly)
The key for a query string parameter.
1053 1054 1055 |
# File 'events/cfn_connection.rb', line 1053 def key @key end |
#value ⇒ String (readonly)
The value associated with the key for the query string parameter.
1058 1059 1060 |
# File 'events/cfn_connection.rb', line 1058 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1066 1067 1068 1069 1070 1071 1072 |
# File 'events/cfn_connection.rb', line 1066 def self.jsii_properties { :key => "key", :value => "value", :is_value_secret => "isValueSecret", } end |
Instance Method Details
#to_jsii ⇒ Object
1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'events/cfn_connection.rb', line 1074 def to_jsii result = {} result.merge!({ "key" => @key, "value" => @value, "isValueSecret" => @is_value_secret, }) result.compact end |