Class: AWSCDK::ElasticLoadBalancingv2::AuthenticateJwtOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticLoadBalancingv2::AuthenticateJwtOptions
- Defined in:
- elastic_load_balancingv2/authenticate_jwt_options.rb
Overview
Options for ListenerAction.authenticateJwt().
Instance Attribute Summary collapse
-
#_next ⇒ AWSCDK::ElasticLoadBalancingv2::ListenerAction
readonly
What action to execute next.
-
#issuer ⇒ String
readonly
The issuer of the JWT token.
-
#jwks_endpoint ⇒ String
readonly
The JWKS (JSON Web Key Set) endpoint URL.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(issuer:, jwks_endpoint:, _next:) ⇒ AuthenticateJwtOptions
constructor
A new instance of AuthenticateJwtOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(issuer:, jwks_endpoint:, _next:) ⇒ AuthenticateJwtOptions
Returns a new instance of AuthenticateJwtOptions.
10 11 12 13 14 15 16 17 |
# File 'elastic_load_balancingv2/authenticate_jwt_options.rb', line 10 def initialize(issuer:, jwks_endpoint:, _next:) @issuer = issuer Jsii::Type.check_type(@issuer, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "issuer") @jwks_endpoint = jwks_endpoint Jsii::Type.check_type(@jwks_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "jwksEndpoint") @_next = _next Jsii::Type.check_type(@_next, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWxhc3RpY2xvYWRiYWxhbmNpbmd2Mi5MaXN0ZW5lckFjdGlvbiJ9")), "next") end |
Instance Attribute Details
#_next ⇒ AWSCDK::ElasticLoadBalancingv2::ListenerAction (readonly)
What action to execute next.
Multiple actions form a linked chain; the chain must always terminate in a (weighted)forward, fixedResponse or redirect action.
41 42 43 |
# File 'elastic_load_balancingv2/authenticate_jwt_options.rb', line 41 def _next @_next end |
#issuer ⇒ String (readonly)
The issuer of the JWT token.
This must be a full URL, including the HTTPS protocol, the domain, and the path.
26 27 28 |
# File 'elastic_load_balancingv2/authenticate_jwt_options.rb', line 26 def issuer @issuer end |
#jwks_endpoint ⇒ String (readonly)
The JWKS (JSON Web Key Set) endpoint URL.
The endpoint must be publicly accessible and return the public keys used to verify JWT signatures.
34 35 36 |
# File 'elastic_load_balancingv2/authenticate_jwt_options.rb', line 34 def jwks_endpoint @jwks_endpoint end |
Class Method Details
.jsii_properties ⇒ Object
43 44 45 46 47 48 49 |
# File 'elastic_load_balancingv2/authenticate_jwt_options.rb', line 43 def self.jsii_properties { :issuer => "issuer", :jwks_endpoint => "jwksEndpoint", :_next => "next", } end |
Instance Method Details
#to_jsii ⇒ Object
51 52 53 54 55 56 57 58 59 |
# File 'elastic_load_balancingv2/authenticate_jwt_options.rb', line 51 def to_jsii result = {} result.merge!({ "issuer" => @issuer, "jwksEndpoint" => @jwks_endpoint, "next" => @_next, }) result.compact end |