| Package | Description |
|---|---|
| software.amazon.awscdk.services.apigateway |
Amazon API Gateway Construct Library
|
| software.amazon.awscdk.services.lambda.eventsources |
AWS Lambda Event Sources
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IAuthorizer.Jsii$Default
Internal default implementation for
IAuthorizer. |
| Modifier and Type | Class and Description |
|---|---|
class |
Authorizer
(experimental) Base class for all custom authorizers.
|
class |
CognitoUserPoolsAuthorizer
(experimental) Cognito user pools based custom authorizer.
|
static class |
IAuthorizer.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
class |
RequestAuthorizer
(experimental) Request-based lambda authorizer that recognizes the caller's identity via request parameters, such as headers, paths, query strings, stage variables, or context variables.
|
class |
TokenAuthorizer
(experimental) Token based lambda authorizer that recognizes the caller's identity as a bearer token, such as a JSON Web Token (JWT) or an OAuth token.
|
| Modifier and Type | Method and Description |
|---|---|
default IAuthorizer |
MethodOptions.getAuthorizer()
(experimental) If `authorizationType` is `Custom`, this specifies the ID of the method authorizer resource.
|
IAuthorizer |
MethodOptions.Jsii$Proxy.getAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
MethodOptions.Builder |
MethodOptions.Builder.authorizer(IAuthorizer authorizer)
Sets the value of
MethodOptions.getAuthorizer() |
| Constructor and Description |
|---|
Jsii$Proxy(Boolean apiKeyRequired,
List<String> authorizationScopes,
AuthorizationType authorizationType,
IAuthorizer authorizer,
List<? extends MethodResponse> methodResponses,
String operationName,
Map<String,? extends IModel> requestModels,
Map<String,? extends Boolean> requestParameters,
IRequestValidator requestValidator,
RequestValidatorOptions requestValidatorOptions)
Constructor that initializes the object based on literal property values passed by the
MethodOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
ApiEventSource.Builder |
ApiEventSource.Builder.authorizer(IAuthorizer authorizer)
(experimental) If `authorizationType` is `Custom`, this specifies the ID of the method authorizer resource.
|
Copyright © 2021. All rights reserved.