@Stability(value=Stable) public static final class CfnIdentityPool.CognitoIdentityProviderProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnIdentityPool.CognitoIdentityProviderProperty>
CfnIdentityPool.CognitoIdentityProviderProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnIdentityPool.CognitoIdentityProviderProperty |
build()
Builds the configured instance.
|
CfnIdentityPool.CognitoIdentityProviderProperty.Builder |
clientId(String clientId)
Sets the value of
CfnIdentityPool.CognitoIdentityProviderProperty.getClientId() |
CfnIdentityPool.CognitoIdentityProviderProperty.Builder |
providerName(String providerName)
Sets the value of
CfnIdentityPool.CognitoIdentityProviderProperty.getProviderName() |
CfnIdentityPool.CognitoIdentityProviderProperty.Builder |
serverSideTokenCheck(Boolean serverSideTokenCheck)
|
CfnIdentityPool.CognitoIdentityProviderProperty.Builder |
serverSideTokenCheck(IResolvable serverSideTokenCheck)
|
@Stability(value=Stable) public CfnIdentityPool.CognitoIdentityProviderProperty.Builder clientId(String clientId)
CfnIdentityPool.CognitoIdentityProviderProperty.getClientId()clientId - The client ID for the Amazon Cognito user pool.this@Stability(value=Stable) public CfnIdentityPool.CognitoIdentityProviderProperty.Builder providerName(String providerName)
CfnIdentityPool.CognitoIdentityProviderProperty.getProviderName()providerName - The provider name for an Amazon Cognito user pool.
For example: cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789 .this@Stability(value=Stable) public CfnIdentityPool.CognitoIdentityProviderProperty.Builder serverSideTokenCheck(Boolean serverSideTokenCheck)
serverSideTokenCheck - TRUE if server-side token validation is enabled for the identity provider’s token.
After you set the ServerSideTokenCheck to 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.
this@Stability(value=Stable) public CfnIdentityPool.CognitoIdentityProviderProperty.Builder serverSideTokenCheck(IResolvable serverSideTokenCheck)
serverSideTokenCheck - TRUE if server-side token validation is enabled for the identity provider’s token.
After you set the ServerSideTokenCheck to 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.
this@Stability(value=Stable) public CfnIdentityPool.CognitoIdentityProviderProperty build()
build in interface software.amazon.jsii.Builder<CfnIdentityPool.CognitoIdentityProviderProperty>CfnIdentityPool.CognitoIdentityProviderPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.