Class CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty>
- Enclosing interface:
CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty
@Stability(Stable)
public static final class CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.getClientId()clientId(IUserPoolClientRef clientId) Sets the value ofCfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.getClientId()providerName(String providerName) serverSideTokenCheck(Boolean serverSideTokenCheck) serverSideTokenCheck(IResolvable serverSideTokenCheck)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
@Stability(Stable) public CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.Builder clientId(String clientId) Sets the value ofCfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.getClientId()- Parameters:
clientId- The client ID for the Amazon Cognito user pool.- Returns:
this
-
clientId
@Stability(Stable) public CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.Builder clientId(IUserPoolClientRef clientId) Sets the value ofCfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.getClientId()- Parameters:
clientId- The client ID for the Amazon Cognito user pool.- Returns:
this
-
providerName
@Stability(Stable) public CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.Builder providerName(String providerName) - Parameters:
providerName- The provider name for an Amazon Cognito user pool. For example:cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789.- Returns:
this
-
serverSideTokenCheck
@Stability(Stable) public CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.Builder serverSideTokenCheck(Boolean serverSideTokenCheck) Sets the value ofCfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.getServerSideTokenCheck()- Parameters:
serverSideTokenCheck- TRUE if server-side token validation is enabled for the identity provider’s token. After you set theServerSideTokenCheckto TRUE for an identity pool, that identity pool checks with the integrated user pools to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error.
- Returns:
this
-
serverSideTokenCheck
@Stability(Stable) public CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.Builder serverSideTokenCheck(IResolvable serverSideTokenCheck) Sets the value ofCfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty.getServerSideTokenCheck()- Parameters:
serverSideTokenCheck- TRUE if server-side token validation is enabled for the identity provider’s token. After you set theServerSideTokenCheckto TRUE for an identity pool, that identity pool checks with the integrated user pools to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty>- Returns:
- a new instance of
CfnIdentityPoolPropsMixin.CognitoIdentityProviderProperty - Throws:
NullPointerException- if any required attribute was not provided
-