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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAuthorizer.JWTConfigurationProperty
static final class
An 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
aud
that matches at least one entry in this list. See RFC 7519 . Required for theJWT
authorizer type. Supported only for HTTP APIs.- See Also:
-
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 theJWT
authorizer type. Supported only for HTTP APIs.- See Also:
-
builder
-