Class CfnGraphQLApi.AdditionalAuthenticationProviderProperty
Describes an additional authentication provider.
Inheritance
System.Object
CfnGraphQLApi.AdditionalAuthenticationProviderProperty
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AdditionalAuthenticationProviderProperty : Object, CfnGraphQLApi.IAdditionalAuthenticationProviderProperty
Syntax (vb)
Public Class AdditionalAuthenticationProviderProperty
Inherits Object
Implements 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
Constructors
AdditionalAuthenticationProviderProperty() |
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. |
Constructors
AdditionalAuthenticationProviderProperty()
public AdditionalAuthenticationProviderProperty()
Properties
AuthenticationType
The authentication type for API key, AWS Identity and Access Management , OIDC, Amazon Cognito user pools , or AWS Lambda .
public string AuthenticationType { get; set; }
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.
public object LambdaAuthorizerConfig { get; set; }
Property Value
System.Object
Remarks
OpenIdConnectConfig
The OIDC configuration.
public object OpenIdConnectConfig { get; set; }
Property Value
System.Object
Remarks
UserPoolConfig
The Amazon Cognito user pool configuration.
public object UserPoolConfig { get; set; }
Property Value
System.Object