@Stability(value=Experimental) @Internal public static final class CognitoUserPoolsAuthorizerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CognitoUserPoolsAuthorizerProps
CognitoUserPoolsAuthorizerPropssoftware.amazon.jsii.JsiiObject.InitializationModeCognitoUserPoolsAuthorizerProps.Builder, CognitoUserPoolsAuthorizerProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(List<? extends IUserPool> cognitoUserPools,
String authorizerName,
String identitySource,
Duration resultsCacheTtl)
Constructor that initializes the object based on literal property values passed by the
CognitoUserPoolsAuthorizerProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAuthorizerName()
(experimental) An optional human friendly name for the authorizer.
|
List<IUserPool> |
getCognitoUserPools()
(experimental) The user pools to associate with this authorizer.
|
String |
getIdentitySource()
(experimental) The request header mapping expression for the bearer token.
|
Duration |
getResultsCacheTtl()
(experimental) How long APIGateway should cache the results.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public final List<IUserPool> getCognitoUserPools()
CognitoUserPoolsAuthorizerPropsgetCognitoUserPools in interface CognitoUserPoolsAuthorizerPropspublic final String getAuthorizerName()
CognitoUserPoolsAuthorizerPropsNote that, this is not the primary identifier of the authorizer.
Default: - the unique construct ID
getAuthorizerName in interface CognitoUserPoolsAuthorizerPropspublic final String getIdentitySource()
CognitoUserPoolsAuthorizerProps
This is typically passed as part of the header, in which case
this should be method.request.header.Authorizer where Authorizer is the header containing the bearer token.
Default: `IdentitySource.header('Authorization')`
getIdentitySource in interface CognitoUserPoolsAuthorizerPropshttps://docs.aws.amazon.com/apigateway/api-reference/link-relation/authorizer-create/#identitySourcepublic final Duration getResultsCacheTtl()
CognitoUserPoolsAuthorizerPropsMax 1 hour. Disable caching by setting this to 0.
Default: Duration.minutes(5)
getResultsCacheTtl in interface CognitoUserPoolsAuthorizerProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.