Variable authModeConst

authMode: {
    API_KEY_MODE: "API_KEY";
    AWS_IAM: "AWS_IAM";
    AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS";
} = ...

Type declaration

  • ReadonlyAPI_KEY_MODE: "API_KEY"
  • ReadonlyAWS_IAM: "AWS_IAM"
  • ReadonlyAMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS"

since v1.0.0 — use the string literals on AUTH_MODE or the discriminated auth.type field directly. Re-exported only so v0.x users can upgrade without immediate code changes; this alias will be removed in v2.