Class: AWSCDK::ElasticLoadBalancingv2::CfnListenerRule::JwtValidationActionAdditionalClaimProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticLoadBalancingv2::CfnListenerRule::JwtValidationActionAdditionalClaimProperty
- Defined in:
- elastic_load_balancingv2/cfn_listener_rule.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.
1216 1217 1218 1219 1220 1221 1222 1223 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1216 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.
1229 1230 1231 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1229 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.
1236 1237 1238 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1236 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.
1243 1244 1245 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1243 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
1245 1246 1247 1248 1249 1250 1251 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1245 def self.jsii_properties { :format => "format", :name => "name", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
1253 1254 1255 1256 1257 1258 1259 1260 1261 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1253 def to_jsii result = {} result.merge!({ "format" => @format, "name" => @name, "values" => @values, }) result.compact end |