@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:23.709Z") @Stability(value=Experimental) public interface HttpUserPoolAuthorizerProps extends software.amazon.jsii.JsiiSerializable
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.authorizers.*;
import software.amazon.awscdk.services.cognito.*;
UserPoolClient userPoolClient;
HttpUserPoolAuthorizerProps httpUserPoolAuthorizerProps = HttpUserPoolAuthorizerProps.builder()
.authorizerName("authorizerName")
.identitySource(List.of("identitySource"))
.userPoolClients(List.of(userPoolClient))
.userPoolRegion("userPoolRegion")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
HttpUserPoolAuthorizerProps.Builder
A builder for
HttpUserPoolAuthorizerProps |
static class |
HttpUserPoolAuthorizerProps.Jsii$Proxy
An implementation for
HttpUserPoolAuthorizerProps |
| Modifier and Type | Method and Description |
|---|---|
static HttpUserPoolAuthorizerProps.Builder |
builder() |
default String |
getAuthorizerName()
(experimental) Friendly name of the authorizer.
|
default List<String> |
getIdentitySource()
(experimental) The identity source for which authorization is requested.
|
default List<IUserPoolClient> |
getUserPoolClients()
(experimental) The user pool clients that should be used to authorize requests with the user pool.
|
default String |
getUserPoolRegion()
(experimental) The AWS region in which the user pool is present.
|
@Stability(value=Experimental) @Nullable default String getAuthorizerName()
Default: - same value as `id` passed in the constructor
@Stability(value=Experimental) @Nullable default List<String> getIdentitySource()
Default: ['$request.header.Authorization']
@Stability(value=Experimental) @Nullable default List<IUserPoolClient> getUserPoolClients()
Default: - a new client will be created for the given user pool
@Stability(value=Experimental) @Nullable default String getUserPoolRegion()
Default: - same region as the Route the authorizer is attached to.
@Stability(value=Experimental) static HttpUserPoolAuthorizerProps.Builder builder()
Copyright © 2022. All rights reserved.