Interface CfnGraphQLApi.AdditionalAuthenticationProviderProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGraphQLApi.AdditionalAuthenticationProviderProperty.Jsii$Proxy
- Enclosing class:
- CfnGraphQLApi
@Stability(Stable)
public static interface CfnGraphQLApi.AdditionalAuthenticationProviderProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.appsync.*;
AdditionalAuthenticationProviderProperty additionalAuthenticationProviderProperty = AdditionalAuthenticationProviderProperty.builder()
.authenticationType("authenticationType")
// the properties below are optional
.lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()
.authorizerResultTtlInSeconds(123)
.authorizerUri("authorizerUri")
.identityValidationExpression("identityValidationExpression")
.build())
.openIdConnectConfig(OpenIDConnectConfigProperty.builder()
.authTtl(123)
.clientId("clientId")
.iatTtl(123)
.issuer("issuer")
.build())
.userPoolConfig(CognitoUserPoolConfigProperty.builder()
.appIdClientRegex("appIdClientRegex")
.awsRegion("awsRegion")
.userPoolId("userPoolId")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGraphQLApi.AdditionalAuthenticationProviderPropertystatic final classAn implementation forCfnGraphQLApi.AdditionalAuthenticationProviderProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The authentication type for API key, AWS Identity and Access Management , OIDC, Amazon Cognito user pools , or AWS Lambda .default ObjectConfiguration for AWS Lambda function authorization.default ObjectThe OIDC configuration.default ObjectThe Amazon Cognito user pool configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthenticationType
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 -
getLambdaAuthorizerConfig
Configuration for AWS Lambda function authorization. -
getOpenIdConnectConfig
The OIDC configuration. -
getUserPoolConfig
The Amazon Cognito user pool configuration. -
builder
-