@aws-cdk_aws-cognito-identitypool-alpha.IdentityPoolProviderUrl
static open
static user
class IdentityPoolProviderUrl
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cognito.IdentityPool.Alpha.IdentityPoolProviderUrl |
![]() | github.com/aws/aws-cdk-go/awscdkcognitoidentitypoolalpha/v2#IdentityPoolProviderUrl |
![]() | software.amazon.awscdk.services.cognito.identitypool.alpha.IdentityPoolProviderUrl |
![]() | aws_cdk.aws_cognito_identitypool_alpha.IdentityPoolProviderUrl |
![]() | @aws-cdk/aws-cognito-identitypool-alpha ยป IdentityPoolProviderUrl |
Keys for Login Providers - correspond to client id's of respective federation identity providers.
Example
import { UserPool } from 'aws-cdk-lib/aws-cognito';
import { IdentityPoolProviderUrl } from '@aws-cdk/aws-cognito-identitypool-alpha';
declare const userPool : UserPool;
new IdentityPool(this, 'myidentitypool', {
identityPoolName: 'myidentitypool',
roleMappings: [{
mappingKey: 'cognito',
providerUrl: IdentityPoolProviderUrl.userPool(userPool.userPoolProviderUrl),
useToken: true,
}],
});
Initializer
new IdentityPoolProviderUrl(type: IdentityPoolProviderType, value: string)
Parameters
- type
Identity
โ type of Provider Url.Pool Provider Type - value
string
โ value of Provider Url.
Properties
Name | Type | Description |
---|---|---|
type | Identity | type of Provider Url. |
value | string | value of Provider Url. |
static AMAZON | Identity | Amazon Provider Url. |
static APPLE | Identity | Apple Provider Url. |
static DIGITS | Identity | Digits Provider Url. |
static FACEBOOK | Identity | Facebook Provider Url. |
static GOOGLE | Identity | Google Provider Url. |
static TWITTER | Identity | Twitter Provider Url. |
type
Type:
Identity
type of Provider Url.
value
Type:
string
value of Provider Url.
static AMAZON
Type:
Identity
Amazon Provider Url.
static APPLE
Type:
Identity
Apple Provider Url.
static DIGITS
Type:
Identity
Digits Provider Url.
static FACEBOOK
Type:
Identity
Facebook Provider Url.
static GOOGLE
Type:
Identity
Google Provider Url.
static TWITTER
Type:
Identity
Twitter Provider Url.
Methods
Name | Description |
---|---|
static custom(url) | Custom Provider Url. |
static open | OpenId Provider Url. |
static saml(url) | Saml Provider Url. |
static user | User Pool Provider Url. |
static custom(url)
public static custom(url: string): IdentityPoolProviderUrl
Parameters
- url
string
Returns
Custom Provider Url.
Id(url)
static openpublic static openId(url: string): IdentityPoolProviderUrl
Parameters
- url
string
Returns
OpenId Provider Url.
static saml(url)
public static saml(url: string): IdentityPoolProviderUrl
Parameters
- url
string
Returns
Saml Provider Url.
Pool(url)
static userpublic static userPool(url: string): IdentityPoolProviderUrl
Parameters
- url
string
Returns
User Pool Provider Url.