Interface CfnAuthorizer.JWTConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAuthorizer.JWTConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnAuthorizer
@Stability(Stable)
public static interface CfnAuthorizer.JWTConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The
JWTConfiguration property specifies the configuration of a JWT authorizer.
Required for the JWT authorizer type. Supported only for HTTP APIs.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
JWTConfigurationProperty jWTConfigurationProperty = JWTConfigurationProperty.builder()
.audience(List.of("audience"))
.issuer("issuer")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAuthorizer.JWTConfigurationPropertystatic final classAn implementation forCfnAuthorizer.JWTConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAudience
A list of the intended recipients of the JWT.A valid JWT must provide an
audthat matches at least one entry in this list. See RFC 7519 . Required for theJWTauthorizer type. Supported only for HTTP APIs. -
getIssuer
The base domain of the identity provider that issues JSON Web Tokens.For example, an Amazon Cognito user pool has the following format:
https://cognito-idp. {region} .amazonaws.com/ {userPoolId}. Required for theJWTauthorizer type. Supported only for HTTP APIs. -
builder
-