interface AdditionalAuthenticationProviderProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppSync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty |
Java | software.amazon.awscdk.services.appsync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty |
Python | aws_cdk.aws_appsync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty |
TypeScript | @aws-cdk/aws-appsync » CfnGraphQLApi » AdditionalAuthenticationProviderProperty |
Describes an additional authentication provider.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appsync from '@aws-cdk/aws-appsync';
const additionalAuthenticationProviderProperty: appsync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty = {
authenticationType: 'authenticationType',
// the properties below are optional
lambdaAuthorizerConfig: {
authorizerResultTtlInSeconds: 123,
authorizerUri: 'authorizerUri',
identityValidationExpression: 'identityValidationExpression',
},
openIdConnectConfig: {
authTtl: 123,
clientId: 'clientId',
iatTtl: 123,
issuer: 'issuer',
},
userPoolConfig: {
appIdClientRegex: 'appIdClientRegex',
awsRegion: 'awsRegion',
userPoolId: 'userPoolId',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| authentication | string | The authentication type for API key, AWS Identity and Access Management , OIDC, Amazon Cognito user pools , or AWS Lambda . |
| lambda | IResolvable | Lambda | Configuration for AWS Lambda function authorization. |
| open | IResolvable | Open | The OIDC configuration. |
| user | IResolvable | Cognito | The Amazon Cognito user pool configuration. |
authenticationType
Type:
string
The authentication type for API key, AWS Identity and Access Management , OIDC, Amazon Cognito user pools , or AWS Lambda .
Valid Values: API_KEY | AWS_IAM | OPENID_CONNECT | AMAZON_COGNITO_USER_POOLS | AWS_LAMBDA
lambdaAuthorizerConfig?
Type:
IResolvable | Lambda
(optional)
Configuration for AWS Lambda function authorization.
openIdConnectConfig?
Type:
IResolvable | Open
(optional)
The OIDC configuration.
userPoolConfig?
Type:
IResolvable | Cognito
(optional)
The Amazon Cognito user pool configuration.

.NET
Java
Python
TypeScript