ApiEventConfigAuthProvider class
Constructors
-
ApiEventConfigAuthProvider({required Input<
String> authType, Input<ApiEventConfigAuthProviderCognitoConfig?> ? cognitoConfig, Input<ApiEventConfigAuthProviderLambdaAuthorizerConfig?> ? lambdaAuthorizerConfig, Input<ApiEventConfigAuthProviderOpenidConnectConfig?> ? openidConnectConfig}) -
Creates a new ApiEventConfigAuthProvider.
authTypeType of authentication provider. Valid values:API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA.cognitoConfigConfiguration for Cognito user pool authentication. Required whenauthTypeisAMAZON_COGNITO_USER_POOLS. SeecognitoConfigBlock below.lambdaAuthorizerConfigConfiguration for Lambda authorization. Required whenauthTypeisAWS_LAMBDA. SeelambdaAuthorizerConfigBlock below.openidConnectConfigConfiguration for OpenID Connect. Required whenauthTypeisOPENID_CONNECT. SeeopenidConnectConfigBlock below.const -
ApiEventConfigAuthProvider.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
authType
→ Input<
String> -
Type of authentication provider. Valid values:
API_KEY,AWS_IAM,AMAZON_COGNITO_USER_POOLS,OPENID_CONNECT,AWS_LAMBDA.final -
cognitoConfig
→ Input<
ApiEventConfigAuthProviderCognitoConfig?> ? -
Configuration for Cognito user pool authentication. Required when
authTypeisAMAZON_COGNITO_USER_POOLS. SeecognitoConfigBlock below.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
lambdaAuthorizerConfig
→ Input<
ApiEventConfigAuthProviderLambdaAuthorizerConfig?> ? -
Configuration for Lambda authorization. Required when
authTypeisAWS_LAMBDA. SeelambdaAuthorizerConfigBlock below.final -
openidConnectConfig
→ Input<
ApiEventConfigAuthProviderOpenidConnectConfig?> ? -
Configuration for OpenID Connect. Required when
authTypeisOPENID_CONNECT. SeeopenidConnectConfigBlock below.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited