Interface CfnGraphQLApi.IAdditionalAuthenticationProviderProperty
Describes an additional authentication provider.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface IAdditionalAuthenticationProviderProperty
Syntax (vb)
Public Interface IAdditionalAuthenticationProviderProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var additionalAuthenticationProviderProperty = new AdditionalAuthenticationProviderProperty {
AuthenticationType = "authenticationType",
// the properties below are optional
LambdaAuthorizerConfig = new LambdaAuthorizerConfigProperty {
AuthorizerResultTtlInSeconds = 123,
AuthorizerUri = "authorizerUri",
IdentityValidationExpression = "identityValidationExpression"
},
OpenIdConnectConfig = new OpenIDConnectConfigProperty {
AuthTtl = 123,
ClientId = "clientId",
IatTtl = 123,
Issuer = "issuer"
},
UserPoolConfig = new CognitoUserPoolConfigProperty {
AppIdClientRegex = "appIdClientRegex",
AwsRegion = "awsRegion",
UserPoolId = "userPoolId"
}
};
Synopsis
Properties
AuthenticationType | The authentication type for API key, AWS Identity and Access Management , OIDC, Amazon Cognito user pools , or AWS Lambda . |
LambdaAuthorizerConfig | Configuration for AWS Lambda function authorization. |
OpenIdConnectConfig | The OIDC configuration. |
UserPoolConfig | The Amazon Cognito user pool configuration. |
Properties
AuthenticationType
The authentication type for API key, AWS Identity and Access Management , OIDC, Amazon Cognito user pools , or AWS Lambda .
string AuthenticationType { get; }
Property Value
System.String
Remarks
Valid Values: API_KEY
| AWS_IAM
| OPENID_CONNECT
| AMAZON_COGNITO_USER_POOLS
| AWS_LAMBDA
LambdaAuthorizerConfig
Configuration for AWS Lambda function authorization.
virtual object LambdaAuthorizerConfig { get; }
Property Value
System.Object
Remarks
OpenIdConnectConfig
The OIDC configuration.
virtual object OpenIdConnectConfig { get; }
Property Value
System.Object
Remarks
UserPoolConfig
The Amazon Cognito user pool configuration.
virtual object UserPoolConfig { get; }
Property Value
System.Object