@Stability(value=Experimental) public static final class HttpAuthorizer.Builder extends Object implements software.amazon.jsii.Builder<HttpAuthorizer>
HttpAuthorizer.| Modifier and Type | Method and Description |
|---|---|
HttpAuthorizer.Builder |
authorizerName(String authorizerName)
(experimental) Name of the authorizer.
|
HttpAuthorizer |
build() |
static HttpAuthorizer.Builder |
create(software.constructs.Construct scope,
String id) |
HttpAuthorizer.Builder |
httpApi(IHttpApi httpApi)
(experimental) HTTP Api to attach the authorizer to.
|
HttpAuthorizer.Builder |
identitySource(List<String> identitySource)
(experimental) The identity source for which authorization is requested.
|
HttpAuthorizer.Builder |
jwtAudience(List<String> jwtAudience)
(experimental) A list of the intended recipients of the JWT.
|
HttpAuthorizer.Builder |
jwtIssuer(String jwtIssuer)
(experimental) The base domain of the identity provider that issues JWT.
|
HttpAuthorizer.Builder |
type(HttpAuthorizerType type)
(experimental) The type of authorizer.
|
@Stability(value=Experimental) public static HttpAuthorizer.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.HttpAuthorizer.Builder.@Stability(value=Experimental) public HttpAuthorizer.Builder httpApi(IHttpApi httpApi)
httpApi - HTTP Api to attach the authorizer to. This parameter is required.this@Stability(value=Experimental) public HttpAuthorizer.Builder identitySource(List<String> identitySource)
identitySource - The identity source for which authorization is requested. This parameter is required.thishttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-identitysource@Stability(value=Experimental) public HttpAuthorizer.Builder type(HttpAuthorizerType type)
type - The type of authorizer. This parameter is required.this@Stability(value=Experimental) public HttpAuthorizer.Builder authorizerName(String authorizerName)
Default: - id of the HttpAuthorizer construct.
authorizerName - Name of the authorizer. This parameter is required.this@Stability(value=Experimental) public HttpAuthorizer.Builder jwtAudience(List<String> jwtAudience)
A valid JWT must provide an aud that matches at least one entry in this list.
Default: - required for JWT authorizer typess.
jwtAudience - A list of the intended recipients of the JWT. This parameter is required.this@Stability(value=Experimental) public HttpAuthorizer.Builder jwtIssuer(String jwtIssuer)
Default: - required for JWT authorizer types.
jwtIssuer - The base domain of the identity provider that issues JWT. This parameter is required.this@Stability(value=Experimental) public HttpAuthorizer build()
build in interface software.amazon.jsii.Builder<HttpAuthorizer>Copyright © 2021. All rights reserved.