interface IdentityPoolAmazonLoginProvider
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Cognito.Identitypool.IdentityPoolAmazonLoginProvider |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscognitoidentitypool#IdentityPoolAmazonLoginProvider |
Java | software.amazon.awscdk.services.cognito.identitypool.IdentityPoolAmazonLoginProvider |
Python | aws_cdk.aws_cognito_identitypool.IdentityPoolAmazonLoginProvider |
TypeScript (source) | aws-cdk-lib » aws_cognito_identitypool » IdentityPoolAmazonLoginProvider |
Login Provider for identity federation using Amazon credentials.
Example
new IdentityPool(this, 'myidentitypool', {
identityPoolName: 'myidentitypool',
authenticationProviders: {
amazon: {
appId: 'amzn1.application.12312k3j234j13rjiwuenf',
},
facebook: {
appId: '1234567890123',
},
google: {
clientId: '12345678012.apps.googleusercontent.com',
},
apple: {
servicesId: 'com.myappleapp.auth',
},
twitter: {
consumerKey: 'my-twitter-id',
consumerSecret: 'my-twitter-secret',
},
},
});
Properties
| Name | Type | Description |
|---|---|---|
| app | string | App ID for Amazon identity federation. |
appId
Type:
string
App ID for Amazon identity federation.

.NET
Go
Java
Python
TypeScript (