@Stability(value=Experimental) @Internal public static final class AuthorizationMode.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AuthorizationMode
AuthorizationModesoftware.amazon.jsii.JsiiObject.InitializationModeAuthorizationMode.Builder, AuthorizationMode.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AuthorizationMode.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AuthorizationMode.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
ApiKeyConfig |
getApiKeyConfig()
(experimental) If authorizationType is `AuthorizationType.API_KEY`, this option can be configured.
|
AuthorizationType |
getAuthorizationType()
(experimental) One of possible four values AppSync supports.
|
LambdaAuthorizerConfig |
getLambdaAuthorizerConfig()
(experimental) If authorizationType is `AuthorizationType.LAMBDA`, this option is required.
|
OpenIdConnectConfig |
getOpenIdConnectConfig()
(experimental) If authorizationType is `AuthorizationType.OIDC`, this option is required.
|
UserPoolConfig |
getUserPoolConfig()
(experimental) If authorizationType is `AuthorizationType.USER_POOL`, this option is required.
|
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.protected Jsii$Proxy(AuthorizationMode.Builder builder)
AuthorizationMode.Builder.public final AuthorizationType getAuthorizationType()
AuthorizationModeDefault: - `AuthorizationType.API_KEY`
getAuthorizationType in interface AuthorizationModehttps://docs.aws.amazon.com/appsync/latest/devguide/security.htmlpublic final ApiKeyConfig getApiKeyConfig()
AuthorizationModeDefault: - name: 'DefaultAPIKey' | description: 'Default API Key created by CDK'
getApiKeyConfig in interface AuthorizationModepublic final LambdaAuthorizerConfig getLambdaAuthorizerConfig()
AuthorizationModeDefault: - none
getLambdaAuthorizerConfig in interface AuthorizationModepublic final OpenIdConnectConfig getOpenIdConnectConfig()
AuthorizationModeDefault: - none
getOpenIdConnectConfig in interface AuthorizationModepublic final UserPoolConfig getUserPoolConfig()
AuthorizationModeDefault: - none
getUserPoolConfig in interface AuthorizationMode@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.