Class: Aws::AppSync::Types::AdditionalAuthenticationProvider

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

Overview

Note:

When making an API call, you may pass AdditionalAuthenticationProvider data as a hash:

{
  authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
  open_id_connect_config: {
    issuer: "String", # required
    client_id: "String",
    iat_ttl: 1,
    auth_ttl: 1,
  },
  user_pool_config: {
    user_pool_id: "String", # required
    aws_region: "String", # required
    app_id_client_regex: "String",
  },
  lambda_authorizer_config: {
    authorizer_result_ttl_in_seconds: 1,
    authorizer_uri: "String", # required
    identity_validation_expression: "String",
  },
}

Describes an additional authentication provider.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_typeString

The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.

Returns:

  • (String)


70
71
72
73
74
75
76
77
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 70

class AdditionalAuthenticationProvider < Struct.new(
  :authentication_type,
  :open_id_connect_config,
  :user_pool_config,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#lambda_authorizer_configTypes::LambdaAuthorizerConfig

Configuration for Amazon Web Services Lambda function authorization.



70
71
72
73
74
75
76
77
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 70

class AdditionalAuthenticationProvider < Struct.new(
  :authentication_type,
  :open_id_connect_config,
  :user_pool_config,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#open_id_connect_configTypes::OpenIDConnectConfig

The OpenID Connect configuration.



70
71
72
73
74
75
76
77
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 70

class AdditionalAuthenticationProvider < Struct.new(
  :authentication_type,
  :open_id_connect_config,
  :user_pool_config,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end

#user_pool_configTypes::CognitoUserPoolConfig

The Amazon Cognito user pool configuration.



70
71
72
73
74
75
76
77
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 70

class AdditionalAuthenticationProvider < Struct.new(
  :authentication_type,
  :open_id_connect_config,
  :user_pool_config,
  :lambda_authorizer_config)
  SENSITIVE = []
  include Aws::Structure
end