@Stability(value=Stable)
public static interface CfnGraphQLApi.AdditionalAuthenticationProviderProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGraphQLApi.AdditionalAuthenticationProviderProperty.Builder
A builder for
CfnGraphQLApi.AdditionalAuthenticationProviderProperty |
static class |
CfnGraphQLApi.AdditionalAuthenticationProviderProperty.Jsii$Proxy
An implementation for
CfnGraphQLApi.AdditionalAuthenticationProviderProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGraphQLApi.AdditionalAuthenticationProviderProperty.Builder |
builder() |
String |
getAuthenticationType()
The authentication type for API key, AWS Identity and Access Management , OIDC, Amazon Cognito user pools , or AWS Lambda .
|
default Object |
getLambdaAuthorizerConfig()
Configuration for AWS Lambda function authorization.
|
default Object |
getOpenIdConnectConfig()
The OIDC configuration.
|
default Object |
getUserPoolConfig()
The Amazon Cognito user pool configuration.
|
@Stability(value=Stable) @NotNull String getAuthenticationType()
Valid Values: API_KEY | AWS_IAM | OPENID_CONNECT | AMAZON_COGNITO_USER_POOLS | AWS_LAMBDA
@Stability(value=Stable) @Nullable default Object getLambdaAuthorizerConfig()
@Stability(value=Stable) @Nullable default Object getOpenIdConnectConfig()
@Stability(value=Stable) @Nullable default Object getUserPoolConfig()
@Stability(value=Stable) static CfnGraphQLApi.AdditionalAuthenticationProviderProperty.Builder builder()
Copyright © 2022. All rights reserved.