Class CognitoUserPoolsAuthorizerProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigateway.CognitoUserPoolsAuthorizerProps.Jsii$Proxy
- All Implemented Interfaces:
CognitoUserPoolsAuthorizerProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CognitoUserPoolsAuthorizerProps
@Stability(Stable)
@Internal
public static final class CognitoUserPoolsAuthorizerProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CognitoUserPoolsAuthorizerProps
An implementation for
CognitoUserPoolsAuthorizerProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.apigateway.CognitoUserPoolsAuthorizerProps
CognitoUserPoolsAuthorizerProps.Builder, CognitoUserPoolsAuthorizerProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCognitoUserPoolsAuthorizerProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
An optional human friendly name for the authorizer.The user pools to associate with this authorizer.final String
The request header mapping expression for the bearer token.final Duration
How long APIGateway should cache the results.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCognitoUserPoolsAuthorizerProps.Builder
.
-
-
Method Details
-
getCognitoUserPools
Description copied from interface:CognitoUserPoolsAuthorizerProps
The user pools to associate with this authorizer.- Specified by:
getCognitoUserPools
in interfaceCognitoUserPoolsAuthorizerProps
-
getAuthorizerName
Description copied from interface:CognitoUserPoolsAuthorizerProps
An optional human friendly name for the authorizer.Note that, this is not the primary identifier of the authorizer.
Default: - the unique construct ID
- Specified by:
getAuthorizerName
in interfaceCognitoUserPoolsAuthorizerProps
-
getIdentitySource
Description copied from interface:CognitoUserPoolsAuthorizerProps
The request header mapping expression for the bearer token.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')`
- Specified by:
getIdentitySource
in interfaceCognitoUserPoolsAuthorizerProps
- See Also:
-
getResultsCacheTtl
Description copied from interface:CognitoUserPoolsAuthorizerProps
How long APIGateway should cache the results.Max 1 hour. Disable caching by setting this to 0.
Default: Duration.minutes(5)
- Specified by:
getResultsCacheTtl
in interfaceCognitoUserPoolsAuthorizerProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-