@Stability(value=Experimental) public static final class HttpUserPoolAuthorizer.Builder extends Object implements software.amazon.jsii.Builder<HttpUserPoolAuthorizer>
HttpUserPoolAuthorizer.| Modifier and Type | Method and Description |
|---|---|
HttpUserPoolAuthorizer.Builder |
authorizerName(String authorizerName)
(experimental) The name of the authorizer.
|
HttpUserPoolAuthorizer |
build() |
static HttpUserPoolAuthorizer.Builder |
create() |
HttpUserPoolAuthorizer.Builder |
identitySource(List<String> identitySource)
(experimental) The identity source for which authorization is requested.
|
HttpUserPoolAuthorizer.Builder |
userPool(IUserPool userPool)
(experimental) The associated user pool.
|
HttpUserPoolAuthorizer.Builder |
userPoolClient(IUserPoolClient userPoolClient)
(experimental) The user pool client that should be used to authorize requests with the user pool.
|
HttpUserPoolAuthorizer.Builder |
userPoolRegion(String userPoolRegion)
(experimental) The AWS region in which the user pool is present.
|
@Stability(value=Experimental) public static HttpUserPoolAuthorizer.Builder create()
HttpUserPoolAuthorizer.Builder.@Stability(value=Experimental) public HttpUserPoolAuthorizer.Builder userPool(IUserPool userPool)
userPool - The associated user pool. This parameter is required.this@Stability(value=Experimental) public HttpUserPoolAuthorizer.Builder userPoolClient(IUserPoolClient userPoolClient)
userPoolClient - The user pool client that should be used to authorize requests with the user pool. This parameter is required.this@Stability(value=Experimental) public HttpUserPoolAuthorizer.Builder authorizerName(String authorizerName)
Default: 'UserPoolAuthorizer'
authorizerName - The name of the authorizer. This parameter is required.this@Stability(value=Experimental) public HttpUserPoolAuthorizer.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 HttpUserPoolAuthorizer.Builder userPoolRegion(String userPoolRegion)
Default: - same region as the Route the authorizer is attached to.
userPoolRegion - The AWS region in which the user pool is present. This parameter is required.this@Stability(value=Experimental) public HttpUserPoolAuthorizer build()
build in interface software.amazon.jsii.Builder<HttpUserPoolAuthorizer>Copyright © 2021. All rights reserved.