Interface HttpAuthorizerAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpAuthorizerAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:04.362Z")
@Stability(Stable)
public interface HttpAuthorizerAttributes
extends software.amazon.jsii.JsiiSerializable
Reference to an http authorizer.
Example:
import software.amazon.awscdk.services.apigatewayv2.HttpAuthorizer;
import software.amazon.awscdk.Fn;
String authorizerId = Fn.importValue("authorizerId");
String authorizerType = Fn.importValue("authorizerType");
IHttpRouteAuthorizer authorizer = HttpAuthorizer.fromHttpAuthorizerAttributes(this, "HttpAuthorizer", HttpAuthorizerAttributes.builder()
.authorizerId(authorizerId)
.authorizerType(authorizerType)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHttpAuthorizerAttributesstatic final classAn implementation forHttpAuthorizerAttributes -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizerId
Id of the Authorizer. -
getAuthorizerType
Type of authorizer.Possible values are:
- JWT - JSON Web Token Authorizer
- CUSTOM - Lambda Authorizer
- NONE - No Authorization
-
builder
- Returns:
- a
HttpAuthorizerAttributes.BuilderofHttpAuthorizerAttributes
-