Interface CfnApiPropsMixin.AuthProviderProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApiPropsMixin.AuthProviderProperty.Jsii$Proxy
- Enclosing class:
CfnApiPropsMixin
@Stability(Stable)
public static interface CfnApiPropsMixin.AuthProviderProperty
extends software.amazon.jsii.JsiiSerializable
Describes an authorization 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.cfnpropertymixins.services.appsync.*;
AuthProviderProperty authProviderProperty = AuthProviderProperty.builder()
.authType("authType")
.cognitoConfig(CognitoConfigProperty.builder()
.appIdClientRegex("appIdClientRegex")
.awsRegion("awsRegion")
.userPoolId("userPoolId")
.build())
.lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()
.authorizerResultTtlInSeconds(123)
.authorizerUri("authorizerUri")
.identityValidationExpression("identityValidationExpression")
.build())
.openIdConnectConfig(OpenIDConnectConfigProperty.builder()
.authTtl(123)
.clientId("clientId")
.iatTtl(123)
.issuer("issuer")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApiPropsMixin.AuthProviderPropertystatic final classAn implementation forCfnApiPropsMixin.AuthProviderProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe authorization type.default ObjectDescribes an Amazon Cognito user pool configuration.default ObjectALambdaAuthorizerConfigspecifies how to authorize AWS AppSync API access when using theAWS_LAMBDAauthorizer mode.default ObjectDescribes an OpenID Connect (OIDC) configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthType
The authorization type.- See Also:
-
getCognitoConfig
Describes an Amazon Cognito user pool configuration.Returns union: either
IResolvableorCfnApiPropsMixin.CognitoConfigProperty- See Also:
-
getLambdaAuthorizerConfig
ALambdaAuthorizerConfigspecifies how to authorize AWS AppSync API access when using theAWS_LAMBDAauthorizer mode.Be aware that an AWS AppSync API can have only one AWS Lambda authorizer configured at a time.
Returns union: either
IResolvableorCfnApiPropsMixin.LambdaAuthorizerConfigProperty- See Also:
-
getOpenIdConnectConfig
Describes an OpenID Connect (OIDC) configuration.Returns union: either
IResolvableorCfnApiPropsMixin.OpenIDConnectConfigProperty- See Also:
-
builder
-