@Stability(value=Experimental) public static final class HttpAuthorizerProps.Builder extends Object implements software.amazon.jsii.Builder<HttpAuthorizerProps>
HttpAuthorizerProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HttpAuthorizerProps.Builder |
authorizerName(String authorizerName)
Sets the value of
HttpAuthorizerProps.getAuthorizerName() |
HttpAuthorizerProps |
build()
Builds the configured instance.
|
HttpAuthorizerProps.Builder |
httpApi(IHttpApi httpApi)
Sets the value of
HttpAuthorizerProps.getHttpApi() |
HttpAuthorizerProps.Builder |
identitySource(List<String> identitySource)
Sets the value of
HttpAuthorizerProps.getIdentitySource() |
HttpAuthorizerProps.Builder |
jwtAudience(List<String> jwtAudience)
Sets the value of
HttpAuthorizerProps.getJwtAudience() |
HttpAuthorizerProps.Builder |
jwtIssuer(String jwtIssuer)
Sets the value of
HttpAuthorizerProps.getJwtIssuer() |
HttpAuthorizerProps.Builder |
type(HttpAuthorizerType type)
Sets the value of
HttpAuthorizerProps.getType() |
@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 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 build()
build in interface software.amazon.jsii.Builder<HttpAuthorizerProps>HttpAuthorizerPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.