# UserPoolAuthenticationProviderBindConfig

Represents a UserPoolAuthenticationProvider Bind Configuration.

Returned by: [IUserPoolAuthenticationProvider.bind](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cognito_identitypool.IUserPoolAuthenticationProvider.html#bind)

- Source: [`aws-cognito-identitypool/lib/identitypool-user-pool-authentication-provider.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-cognito-identitypool/lib/identitypool-user-pool-authentication-provider.ts#L56)
- Type last changed: v2.186.0 · 27 Mar 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `clientId`: string (required) — Client Id of the Associated User Pool Client.

- `providerName`: string (required) — The identity providers associated with the UserPool.

- `serverSideTokenCheck`: boolean (required) — Whether to enable the identity pool's server side token check.
