interface IdentityPoolProviders
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Cognito.IdentityPool.IdentityPoolProviders |
Java | software.amazon.awscdk.services.cognito.identitypool.IdentityPoolProviders |
Python | aws_cdk.aws_cognito_identitypool.IdentityPoolProviders |
TypeScript (source) | @aws-cdk/aws-cognito-identitypool » IdentityPoolProviders |
External Identity Providers To Connect to User Pools and Identity Pools.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cognito_identitypool from '@aws-cdk/aws-cognito-identitypool';
const identityPoolProviders: cognito_identitypool.IdentityPoolProviders = {
amazon: {
appId: 'appId',
},
apple: {
servicesId: 'servicesId',
},
digits: {
consumerKey: 'consumerKey',
consumerSecret: 'consumerSecret',
},
facebook: {
appId: 'appId',
},
google: {
clientId: 'clientId',
},
twitter: {
consumerKey: 'consumerKey',
consumerSecret: 'consumerSecret',
},
};
Properties
Name | Type | Description |
---|---|---|
amazon? | Identity | App Id for Amazon Identity Federation. |
apple? | Identity | Services Id for Apple Identity Federation. |
digits? | Identity | Consumer Key and Secret for Digits Identity Federation. |
facebook? | Identity | App Id for Facebook Identity Federation. |
google? | Identity | Client Id for Google Identity Federation. |
twitter? | Identity | Consumer Key and Secret for Twitter Identity Federation. |
amazon?
Type:
Identity
(optional, default: No Amazon Authentication Provider used without OpenIdConnect or a User Pool)
App Id for Amazon Identity Federation.
apple?
Type:
Identity
(optional, default: No Apple Authentication Provider used without OpenIdConnect or a User Pool)
Services Id for Apple Identity Federation.
digits?
Type:
Identity
(optional, default: No Digits Authentication Provider used without OpenIdConnect or a User Pool)
Consumer Key and Secret for Digits Identity Federation.
facebook?
Type:
Identity
(optional, default: No Facebook Authentication Provider used without OpenIdConnect or a User Pool)
App Id for Facebook Identity Federation.
google?
Type:
Identity
(optional, default: No Google Authentication Provider used without OpenIdConnect or a User Pool)
Client Id for Google Identity Federation.
twitter?
Type:
Identity
(optional, default: No Twitter Authentication Provider used without OpenIdConnect or a User Pool)
Consumer Key and Secret for Twitter Identity Federation.