Class CfnGraphQLApi.AdditionalAuthenticationProviderProperty
Describes an additional authentication provider.
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGraphQLApi.AdditionalAuthenticationProviderProperty : CfnGraphQLApi.IAdditionalAuthenticationProviderProperty
Syntax (vb)
Public Class CfnGraphQLApi.AdditionalAuthenticationProviderProperty 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() | Describes an additional authentication provider. |
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()
Describes an additional authentication provider.
public AdditionalAuthenticationProviderProperty()
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"
}
};
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
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
Remarks
OpenIdConnectConfig
The OIDC configuration.
public object? OpenIdConnectConfig { get; set; }
Property Value
Remarks
UserPoolConfig
The Amazon Cognito user pool configuration.
public object? UserPoolConfig { get; set; }