@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() |
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.
|
HttpJwtAuthorizer.Builder |
jwtIssuer(String jwtIssuer)
(experimental) The base domain of the identity provider that issues JWT.
|
@Stability(value=Experimental) public static HttpJwtAuthorizer.Builder create()
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 jwtIssuer(String jwtIssuer)
jwtIssuer - The base domain of the identity provider that issues JWT. This parameter is required.this@Stability(value=Experimental) public HttpJwtAuthorizer.Builder authorizerName(String authorizerName)
Default: 'JwtAuthorizer'
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 © 2021. All rights reserved.