@Stability(value=Stable) public static final class CfnAuthorizer.JWTConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAuthorizer.JWTConfigurationProperty>
CfnAuthorizer.JWTConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAuthorizer.JWTConfigurationProperty.Builder |
audience(List<String> audience)
Sets the value of
CfnAuthorizer.JWTConfigurationProperty.getAudience() |
CfnAuthorizer.JWTConfigurationProperty |
build()
Builds the configured instance.
|
CfnAuthorizer.JWTConfigurationProperty.Builder |
issuer(String issuer)
Sets the value of
CfnAuthorizer.JWTConfigurationProperty.getIssuer() |
@Stability(value=Stable) public CfnAuthorizer.JWTConfigurationProperty.Builder audience(List<String> audience)
CfnAuthorizer.JWTConfigurationProperty.getAudience()audience - 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. See RFC 7519 . Required for the JWT authorizer type. Supported only for HTTP APIs.this@Stability(value=Stable) public CfnAuthorizer.JWTConfigurationProperty.Builder issuer(String issuer)
CfnAuthorizer.JWTConfigurationProperty.getIssuer()issuer - The base domain of the identity provider that issues JSON Web Tokens.
For example, an Amazon Cognito user pool has the following format: https://cognito-idp. {region} .amazonaws.com/ {userPoolId} . Required for the JWT authorizer type. Supported only for HTTP APIs.this@Stability(value=Stable) public CfnAuthorizer.JWTConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnAuthorizer.JWTConfigurationProperty>CfnAuthorizer.JWTConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.