@Stability(value=Experimental) public static final class HttpJwtAuthorizer.Builder extends Object implements software.amazon.jsii.Builder<HttpJwtAuthorizer>
HttpJwtAuthorizer.| Modifier and Type | Method and Description |
|---|---|
HttpJwtAuthorizer.Builder |
authorizerName(String authorizerName)
(experimental) The name of the authorizer.
|
HttpJwtAuthorizer |
build() |
static HttpJwtAuthorizer.Builder |
create(String id,
String jwtIssuer) |
HttpJwtAuthorizer.Builder |
identitySource(List<String> identitySource)
(experimental) The identity source for which authorization is requested.
|
HttpJwtAuthorizer.Builder |
jwtAudience(List<String> jwtAudience)
(experimental) A list of the intended recipients of the JWT.
|
@Stability(value=Experimental) public static HttpJwtAuthorizer.Builder create(String id, String jwtIssuer)
id - The id of the underlying construct. This parameter is required.jwtIssuer - The base domain of the identity provider that issues JWT. This parameter is required.HttpJwtAuthorizer.Builder.@Stability(value=Experimental) public HttpJwtAuthorizer.Builder jwtAudience(List<String> jwtAudience)
A valid JWT must provide an aud that matches at least one entry in this list.
jwtAudience - A list of the intended recipients of the JWT. This parameter is required.this@Stability(value=Experimental) public HttpJwtAuthorizer.Builder authorizerName(String authorizerName)
Default: - same value as `id` passed in the constructor
authorizerName - The name of the authorizer. This parameter is required.this@Stability(value=Experimental) public HttpJwtAuthorizer.Builder identitySource(List<String> identitySource)
Default: ['$request.header.Authorization']
identitySource - The identity source for which authorization is requested. This parameter is required.this@Stability(value=Experimental) public HttpJwtAuthorizer build()
build in interface software.amazon.jsii.Builder<HttpJwtAuthorizer>Copyright © 2022. All rights reserved.