AuthProvider - AWS AppSync

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 AWS AppSync API access when using the AWS_LAMBDA authorizer mode. Be aware that an AWS AppSync API can have only one AWS 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 AWS SDKs, see the following: