@Stability(value=Stable) public static final class CfnGraphQLApi.UserPoolConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnGraphQLApi.UserPoolConfigProperty>
CfnGraphQLApi.UserPoolConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnGraphQLApi.UserPoolConfigProperty.Builder |
appIdClientRegex(String appIdClientRegex)
Sets the value of
CfnGraphQLApi.UserPoolConfigProperty.getAppIdClientRegex() |
CfnGraphQLApi.UserPoolConfigProperty.Builder |
awsRegion(String awsRegion)
Sets the value of
CfnGraphQLApi.UserPoolConfigProperty.getAwsRegion() |
CfnGraphQLApi.UserPoolConfigProperty |
build()
Builds the configured instance.
|
CfnGraphQLApi.UserPoolConfigProperty.Builder |
defaultAction(String defaultAction)
Sets the value of
CfnGraphQLApi.UserPoolConfigProperty.getDefaultAction() |
CfnGraphQLApi.UserPoolConfigProperty.Builder |
userPoolId(String userPoolId)
Sets the value of
CfnGraphQLApi.UserPoolConfigProperty.getUserPoolId() |
@Stability(value=Stable) public CfnGraphQLApi.UserPoolConfigProperty.Builder appIdClientRegex(String appIdClientRegex)
CfnGraphQLApi.UserPoolConfigProperty.getAppIdClientRegex()appIdClientRegex - A regular expression for validating the incoming Amazon Cognito user pool app client ID.this@Stability(value=Stable) public CfnGraphQLApi.UserPoolConfigProperty.Builder awsRegion(String awsRegion)
CfnGraphQLApi.UserPoolConfigProperty.getAwsRegion()awsRegion - The AWS Region in which the user pool was created.this@Stability(value=Stable) public CfnGraphQLApi.UserPoolConfigProperty.Builder defaultAction(String defaultAction)
CfnGraphQLApi.UserPoolConfigProperty.getDefaultAction()defaultAction - 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.
When specifying Amazon Cognito user pools as the default authentication, you must set the value for DefaultAction to ALLOW if specifying AdditionalAuthenticationProviders .this@Stability(value=Stable) public CfnGraphQLApi.UserPoolConfigProperty.Builder userPoolId(String userPoolId)
CfnGraphQLApi.UserPoolConfigProperty.getUserPoolId()userPoolId - The user pool ID.this@Stability(value=Stable) public CfnGraphQLApi.UserPoolConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnGraphQLApi.UserPoolConfigProperty>CfnGraphQLApi.UserPoolConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.