Interface CfnApi.CognitoConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApi.CognitoConfigProperty.Jsii$Proxy
- Enclosing class:
CfnApi
@Stability(Stable)
public static interface CfnApi.CognitoConfigProperty
extends software.amazon.jsii.JsiiSerializable
Optional authorization configuration for using Amazon Cognito user pools with your API endpoint.
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.*;
CognitoConfigProperty cognitoConfigProperty = CognitoConfigProperty.builder()
.awsRegion("awsRegion")
.userPoolId("userPoolId")
// the properties below are optional
.appIdClientRegex("appIdClientRegex")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApi.CognitoConfigPropertystatic final classAn implementation forCfnApi.CognitoConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsRegion
- See Also:
-
getUserPoolId
- See Also:
-
getAppIdClientRegex
- See Also:
-
builder
-