Package io.quarkus.amazon.lambda.http
Class IAMPrincipal
java.lang.Object
io.quarkus.amazon.lambda.http.IAMPrincipal
- All Implemented Interfaces:
Principal
Used if IAM is used for authentication.
Will only be allocated if requestContext.authorizer.iam.userId is set
in the http event sent by API Gateway
-
Constructor Summary
ConstructorsConstructorDescriptionIAMPrincipal
(com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent.RequestContext.IAM iam) -
Method Summary
-
Constructor Details
-
IAMPrincipal
public IAMPrincipal(com.amazonaws.services.lambda.runtime.events.APIGatewayV2HTTPEvent.RequestContext.IAM iam)
-
-
Method Details