Interface HttpAuthorizerAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpAuthorizerAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:56.387Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHttpAuthorizerAttributes
static final class
An 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.Builder
ofHttpAuthorizerAttributes
-