Interface CfnGraphQLApi.IAdditionalAuthenticationProviderProperty
Describes an additional authentication provider.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnGraphQLApi.IAdditionalAuthenticationProviderProperty
Syntax (vb)
Public Interface CfnGraphQLApi.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
Remarks
Valid Values: API_KEY | AWS_IAM | OPENID_CONNECT | AMAZON_COGNITO_USER_POOLS | AWS_LAMBDA
LambdaAuthorizerConfig
Configuration for AWS Lambda function authorization.
object? LambdaAuthorizerConfig { get; }
Property Value
Remarks
OpenIdConnectConfig
The OIDC configuration.
object? OpenIdConnectConfig { get; }
Property Value
Remarks
UserPoolConfig
The Amazon Cognito user pool configuration.
object? UserPoolConfig { get; }