UserPoolAuthenticationProviderBindConfig Struct
Represents a UserPoolAuthenticationProvider Bind Configuration.
| Source | aws-cognito-identitypool/lib/identitypool-user-pool-authentication-provider.ts |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito_identitypool as cognito_identitypool } from 'aws-cdk-lib';
const userPoolAuthenticationProviderBindConfig: cognito_identitypool.UserPoolAuthenticationProviderBindConfig = {
clientId: 'clientId',
providerName: 'providerName',
serverSideTokenCheck: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito_identitypool as cognito_identitypool
user_pool_authentication_provider_bind_config = cognito_identitypool.UserPoolAuthenticationProviderBindConfig(
client_id="clientId",
provider_name="providerName",
server_side_token_check=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.identitypool.*;
UserPoolAuthenticationProviderBindConfig userPoolAuthenticationProviderBindConfig = UserPoolAuthenticationProviderBindConfig.builder()
.clientId("clientId")
.providerName("providerName")
.serverSideTokenCheck(false)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito.Identitypool;
var userPoolAuthenticationProviderBindConfig = new UserPoolAuthenticationProviderBindConfig {
ClientId = "clientId",
ProviderName = "providerName",
ServerSideTokenCheck = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
userPoolAuthenticationProviderBindConfig := &UserPoolAuthenticationProviderBindConfig{
ClientId: jsii.String("clientId"),
ProviderName: jsii.String("providerName"),
ServerSideTokenCheck: jsii.Boolean(false),
}
Properties
Client Id of the Associated User Pool Client.
providerNamestringprovider_namestrproviderNameStringProviderNamestringProviderName*string required #The identity providers associated with the UserPool.
serverSideTokenCheckbooleanserver_side_token_checkboolserverSideTokenCheckBooleanServerSideTokenCheckboolServerSideTokenCheck*bool required #Whether to enable the identity pool's server side token check.