AuthProvider - Amazon AppSync
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AuthProvider

Describes an authorization provider.

Contents

authType

The authorization type.

Type: String

Valid Values: API_KEY | AWS_IAM | AMAZON_COGNITO_USER_POOLS | OPENID_CONNECT | AWS_LAMBDA

Required: Yes

cognitoConfig

Describes an Amazon Cognito user pool configuration.

Type: CognitoConfig object

Required: No

lambdaAuthorizerConfig

A LambdaAuthorizerConfig specifies how to authorize Amazon AppSync API access when using the AWS_LAMBDA authorizer mode. Be aware that an Amazon AppSync API can have only one Amazon Lambda authorizer configured at a time.

Type: LambdaAuthorizerConfig object

Required: No

openIDConnectConfig

Describes an OpenID Connect (OIDC) configuration.

Type: OpenIDConnectConfig object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: