@Stability(value=Experimental) public static final class HttpAuthorizerProps.Builder extends Object implements software.amazon.jsii.Builder<HttpAuthorizerProps>
HttpAuthorizerProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public HttpAuthorizerProps.Builder httpApi(IHttpApi httpApi)
HttpAuthorizerProps.getHttpApi()httpApi - HTTP Api to attach the authorizer to. This parameter is required.this@Stability(value=Experimental) public HttpAuthorizerProps.Builder identitySource(List<String> identitySource)
HttpAuthorizerProps.getIdentitySource()identitySource - The identity source for which authorization is requested. This parameter is required.this@Stability(value=Experimental) public HttpAuthorizerProps.Builder type(HttpAuthorizerType type)
HttpAuthorizerProps.getType()type - The type of authorizer. This parameter is required.this@Stability(value=Experimental) public HttpAuthorizerProps.Builder authorizerName(String authorizerName)
HttpAuthorizerProps.getAuthorizerName()authorizerName - Name of the authorizer.this@Stability(value=Experimental) public HttpAuthorizerProps.Builder authorizerUri(String authorizerUri)
HttpAuthorizerProps.getAuthorizerUri()authorizerUri - The authorizer's Uniform Resource Identifier (URI).
For REQUEST authorizers, this must be a well-formed Lambda function URI.this@Stability(value=Experimental) public HttpAuthorizerProps.Builder enableSimpleResponses(Boolean enableSimpleResponses)
HttpAuthorizerProps.getEnableSimpleResponses()enableSimpleResponses - Specifies whether a Lambda authorizer returns a response in a simple format.
If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy.this@Stability(value=Experimental) public HttpAuthorizerProps.Builder jwtAudience(List<String> jwtAudience)
HttpAuthorizerProps.getJwtAudience()jwtAudience - A list of the intended recipients of the JWT.
A valid JWT must provide an aud that matches at least one entry in this list.this@Stability(value=Experimental) public HttpAuthorizerProps.Builder jwtIssuer(String jwtIssuer)
HttpAuthorizerProps.getJwtIssuer()jwtIssuer - The base domain of the identity provider that issues JWT.this@Stability(value=Experimental) public HttpAuthorizerProps.Builder payloadFormatVersion(AuthorizerPayloadVersion payloadFormatVersion)
HttpAuthorizerProps.getPayloadFormatVersion()payloadFormatVersion - Specifies the format of the payload sent to an HTTP API Lambda authorizer.this@Stability(value=Experimental) public HttpAuthorizerProps.Builder resultsCacheTtl(Duration resultsCacheTtl)
HttpAuthorizerProps.getResultsCacheTtl()resultsCacheTtl - How long APIGateway should cache the results.
Max 1 hour.this@Stability(value=Experimental) public HttpAuthorizerProps build()
build in interface software.amazon.jsii.Builder<HttpAuthorizerProps>HttpAuthorizerPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.