AWS::AppSync::Api AuthProvider - Amazon CloudFormation
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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::AppSync::Api AuthProvider

Describes an authorization provider.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

Properties

AuthType

The authorization type.

Required: Yes

Type: String

Allowed values: AMAZON_COGNITO_USER_POOLS | AWS_IAM | API_KEY | OPENID_CONNECT | AWS_LAMBDA

Update requires: No interruption

CognitoConfig

Describes an Amazon Cognito user pool configuration.

Required: No

Type: CognitoConfig

Update requires: No interruption

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.

Required: No

Type: LambdaAuthorizerConfig

Update requires: No interruption

OpenIDConnectConfig

Describes an OpenID Connect (OIDC) configuration.

Required: No

Type: OpenIDConnectConfig

Update requires: No interruption