Class: Aws::AppSync::Types::AuthProvider

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-appsync/types.rb

Overview

Describes an authorization provider.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auth_typeString

The authorization type.

Returns:

  • (String)


577
578
579
580
581
582
583
584
# File 'lib/aws-sdk-appsync/types.rb', line 577

class AuthProvider < Struct.new(
  :auth_type,
  :cognito_config,
  :open_id_connect_config,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#cognito_configTypes::CognitoConfig

Describes an Amazon Cognito user pool configuration.



577
578
579
580
581
582
583
584
# File 'lib/aws-sdk-appsync/types.rb', line 577

class AuthProvider < Struct.new(
  :auth_type,
  :cognito_config,
  :open_id_connect_config,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#lambda_authorizer_configTypes::LambdaAuthorizerConfig

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



577
578
579
580
581
582
583
584
# File 'lib/aws-sdk-appsync/types.rb', line 577

class AuthProvider < Struct.new(
  :auth_type,
  :cognito_config,
  :open_id_connect_config,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#open_id_connect_configTypes::OpenIDConnectConfig

Describes an OpenID Connect (OIDC) configuration.



577
578
579
580
581
582
583
584
# File 'lib/aws-sdk-appsync/types.rb', line 577

class AuthProvider < Struct.new(
  :auth_type,
  :cognito_config,
  :open_id_connect_config,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end