@Stability(value=Experimental) public static final class HttpLambdaAuthorizerProps.Builder extends Object implements software.amazon.jsii.Builder<HttpLambdaAuthorizerProps>
HttpLambdaAuthorizerProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HttpLambdaAuthorizerProps.Builder |
authorizerName(String authorizerName)
Sets the value of
HttpLambdaAuthorizerProps.getAuthorizerName() |
HttpLambdaAuthorizerProps |
build()
Builds the configured instance.
|
HttpLambdaAuthorizerProps.Builder |
identitySource(List<String> identitySource)
Sets the value of
HttpLambdaAuthorizerProps.getIdentitySource() |
HttpLambdaAuthorizerProps.Builder |
responseTypes(List<? extends HttpLambdaResponseType> responseTypes)
Sets the value of
HttpLambdaAuthorizerProps.getResponseTypes() |
HttpLambdaAuthorizerProps.Builder |
resultsCacheTtl(Duration resultsCacheTtl)
Sets the value of
HttpLambdaAuthorizerProps.getResultsCacheTtl() |
@Stability(value=Experimental) public HttpLambdaAuthorizerProps.Builder authorizerName(String authorizerName)
HttpLambdaAuthorizerProps.getAuthorizerName()authorizerName - Friendly authorizer name.this@Stability(value=Experimental) public HttpLambdaAuthorizerProps.Builder identitySource(List<String> identitySource)
HttpLambdaAuthorizerProps.getIdentitySource()identitySource - The identity source for which authorization is requested.this@Stability(value=Experimental) public HttpLambdaAuthorizerProps.Builder responseTypes(List<? extends HttpLambdaResponseType> responseTypes)
HttpLambdaAuthorizerProps.getResponseTypes()responseTypes - The types of responses the lambda can return.
If HttpLambdaResponseType.SIMPLE is included then
response format 2.0 will be used.this@Stability(value=Experimental) public HttpLambdaAuthorizerProps.Builder resultsCacheTtl(Duration resultsCacheTtl)
HttpLambdaAuthorizerProps.getResultsCacheTtl()resultsCacheTtl - How long APIGateway should cache the results.
Max 1 hour.
Disable caching by setting this to Duration.seconds(0).this@Stability(value=Experimental) public HttpLambdaAuthorizerProps build()
build in interface software.amazon.jsii.Builder<HttpLambdaAuthorizerProps>HttpLambdaAuthorizerPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.