Class CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty>
- Enclosing interface:
CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty
@Stability(Stable)
public static final class CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationType(String authenticationType) build()Builds the configured instance.lambdaAuthorizerConfig(CfnGraphQLApiPropsMixin.LambdaAuthorizerConfigProperty lambdaAuthorizerConfig) lambdaAuthorizerConfig(IResolvable lambdaAuthorizerConfig) openIdConnectConfig(CfnGraphQLApiPropsMixin.OpenIDConnectConfigProperty openIdConnectConfig) openIdConnectConfig(IResolvable openIdConnectConfig) userPoolConfig(CfnGraphQLApiPropsMixin.CognitoUserPoolConfigProperty userPoolConfig) userPoolConfig(IResolvable userPoolConfig)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationType
@Stability(Stable) public CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.Builder authenticationType(String authenticationType) Sets the value ofCfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.getAuthenticationType()- Parameters:
authenticationType- The authentication type for API key, AWS Identity and Access Management , OIDC, Amazon Cognito user pools , or AWS Lambda . Valid Values:API_KEY|AWS_IAM|OPENID_CONNECT|AMAZON_COGNITO_USER_POOLS|AWS_LAMBDA- Returns:
this
-
lambdaAuthorizerConfig
@Stability(Stable) public CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.Builder lambdaAuthorizerConfig(IResolvable lambdaAuthorizerConfig) Sets the value ofCfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.getLambdaAuthorizerConfig()- Parameters:
lambdaAuthorizerConfig- Configuration for AWS Lambda function authorization.- Returns:
this
-
lambdaAuthorizerConfig
@Stability(Stable) public CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.Builder lambdaAuthorizerConfig(CfnGraphQLApiPropsMixin.LambdaAuthorizerConfigProperty lambdaAuthorizerConfig) Sets the value ofCfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.getLambdaAuthorizerConfig()- Parameters:
lambdaAuthorizerConfig- Configuration for AWS Lambda function authorization.- Returns:
this
-
openIdConnectConfig
@Stability(Stable) public CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.Builder openIdConnectConfig(IResolvable openIdConnectConfig) Sets the value ofCfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.getOpenIdConnectConfig()- Parameters:
openIdConnectConfig- The OIDC configuration.- Returns:
this
-
openIdConnectConfig
@Stability(Stable) public CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.Builder openIdConnectConfig(CfnGraphQLApiPropsMixin.OpenIDConnectConfigProperty openIdConnectConfig) Sets the value ofCfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.getOpenIdConnectConfig()- Parameters:
openIdConnectConfig- The OIDC configuration.- Returns:
this
-
userPoolConfig
@Stability(Stable) public CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.Builder userPoolConfig(IResolvable userPoolConfig) Sets the value ofCfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.getUserPoolConfig()- Parameters:
userPoolConfig- The Amazon Cognito user pool configuration.- Returns:
this
-
userPoolConfig
@Stability(Stable) public CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.Builder userPoolConfig(CfnGraphQLApiPropsMixin.CognitoUserPoolConfigProperty userPoolConfig) Sets the value ofCfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty.getUserPoolConfig()- Parameters:
userPoolConfig- The Amazon Cognito user pool configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty>- Returns:
- a new instance of
CfnGraphQLApiPropsMixin.AdditionalAuthenticationProviderProperty - Throws:
NullPointerException- if any required attribute was not provided
-