Class: AWSCDK::ElasticLoadBalancingv2::CfnListener::JwtValidationActionAdditionalClaimProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticLoadBalancingv2::CfnListener::JwtValidationActionAdditionalClaimProperty
- Defined in:
- elastic_load_balancingv2/cfn_listener.rb
Overview
Information about an additional claim to validate.
Instance Attribute Summary collapse
-
#format ⇒ String
readonly
The format of the claim value.
-
#name ⇒ String
readonly
The name of the claim.
-
#values ⇒ Array<String>
readonly
The claim value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(format:, name:, values:) ⇒ JwtValidationActionAdditionalClaimProperty
constructor
A new instance of JwtValidationActionAdditionalClaimProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(format:, name:, values:) ⇒ JwtValidationActionAdditionalClaimProperty
Returns a new instance of JwtValidationActionAdditionalClaimProperty.
1154 1155 1156 1157 1158 1159 1160 1161 |
# File 'elastic_load_balancingv2/cfn_listener.rb', line 1154 def initialize(format:, name:, values:) @format = format Jsii::Type.check_type(@format, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "format") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") end |
Instance Attribute Details
#format ⇒ String (readonly)
The format of the claim value.
1167 1168 1169 |
# File 'elastic_load_balancingv2/cfn_listener.rb', line 1167 def format @format end |
#name ⇒ String (readonly)
The name of the claim.
You can't specify exp , iss , nbf , or iat because we validate them by default.
1174 1175 1176 |
# File 'elastic_load_balancingv2/cfn_listener.rb', line 1174 def name @name end |
#values ⇒ Array<String> (readonly)
The claim value.
The maximum size of the list is 10. Each value can be up to 256 characters in length. If the format is space-separated-values , the values can't include spaces.
1181 1182 1183 |
# File 'elastic_load_balancingv2/cfn_listener.rb', line 1181 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
1183 1184 1185 1186 1187 1188 1189 |
# File 'elastic_load_balancingv2/cfn_listener.rb', line 1183 def self.jsii_properties { :format => "format", :name => "name", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
1191 1192 1193 1194 1195 1196 1197 1198 1199 |
# File 'elastic_load_balancingv2/cfn_listener.rb', line 1191 def to_jsii result = {} result.merge!({ "format" => @format, "name" => @name, "values" => @values, }) result.compact end |