ApiEventConfigAuthProvider constructor

const ApiEventConfigAuthProvider({
  1. required Input<String> authType,
  2. Input<ApiEventConfigAuthProviderCognitoConfig?>? cognitoConfig,
  3. Input<ApiEventConfigAuthProviderLambdaAuthorizerConfig?>? lambdaAuthorizerConfig,
  4. Input<ApiEventConfigAuthProviderOpenidConnectConfig?>? openidConnectConfig,
})

Creates a new ApiEventConfigAuthProvider. authType Type of authentication provider. Valid values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA. cognitoConfig Configuration for Cognito user pool authentication. Required when authType is AMAZON_COGNITO_USER_POOLS. See cognitoConfig Block below. lambdaAuthorizerConfig Configuration for Lambda authorization. Required when authType is AWS_LAMBDA. See lambdaAuthorizerConfig Block below. openidConnectConfig Configuration for OpenID Connect. Required when authType is OPENID_CONNECT. See openidConnectConfig Block below.

Implementation

const ApiEventConfigAuthProvider({
  required this.authType,
  this.cognitoConfig,
  this.lambdaAuthorizerConfig,
  this.openidConnectConfig,
});