@Stability(value=Stable)
public static interface CfnGraphQLApi.UserPoolConfigProperty
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.*;
UserPoolConfigProperty userPoolConfigProperty = UserPoolConfigProperty.builder()
.appIdClientRegex("appIdClientRegex")
.awsRegion("awsRegion")
.defaultAction("defaultAction")
.userPoolId("userPoolId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGraphQLApi.UserPoolConfigProperty.Builder
A builder for
CfnGraphQLApi.UserPoolConfigProperty |
static class |
CfnGraphQLApi.UserPoolConfigProperty.Jsii$Proxy
An implementation for
CfnGraphQLApi.UserPoolConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGraphQLApi.UserPoolConfigProperty.Builder |
builder() |
default String |
getAppIdClientRegex()
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
|
default String |
getAwsRegion()
The AWS Region in which the user pool was created.
|
default String |
getDefaultAction()
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.
|
default String |
getUserPoolId()
The user pool ID.
|
@Stability(value=Stable) @Nullable default String getAppIdClientRegex()
@Stability(value=Stable) @Nullable default String getAwsRegion()
@Stability(value=Stable) @Nullable default String getDefaultAction()
When specifying Amazon Cognito user pools as the default authentication, you must set the value for DefaultAction to ALLOW if specifying AdditionalAuthenticationProviders .
@Stability(value=Stable) @Nullable default String getUserPoolId()
@Stability(value=Stable) static CfnGraphQLApi.UserPoolConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.