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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGraphQLApi.AdditionalAuthenticationProviderProperty
static final class
An 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 Object
Configuration for AWS Lambda function authorization.default Object
The OIDC configuration.default Object
The 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
- See Also:
-
getLambdaAuthorizerConfig
Configuration for AWS Lambda function authorization.- See Also:
-
getOpenIdConnectConfig
The OIDC configuration.- See Also:
-
getUserPoolConfig
The Amazon Cognito user pool configuration.- See Also:
-
builder
-