@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:26.950Z") @Stability(value=Experimental) public enum AuthorizationType extends Enum<AuthorizationType>
| Enum Constant and Description |
|---|
API_KEY
(experimental) API Key authorization type.
|
IAM
(experimental) AWS IAM authorization type.
|
OIDC
(experimental) OpenID Connect authorization type.
|
USER_POOL
(experimental) Cognito User Pool authorization type.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final AuthorizationType API_KEY
@Stability(value=Experimental) public static final AuthorizationType IAM
Can be used with Cognito Identity Pool federated credentials
@Stability(value=Experimental) public static final AuthorizationType USER_POOL
@Stability(value=Experimental) public static final AuthorizationType OIDC
public static AuthorizationType[] values()
for (AuthorizationType c : AuthorizationType.values()) System.out.println(c);
public static AuthorizationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.