@aws-cdk_aws-cognito-identitypool-alpha.IdentityPoolProviderUrl

class IdentityPoolProviderUrl ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Cognito.IdentityPool.Alpha.IdentityPoolProviderUrl
Gogithub.com/aws/aws-cdk-go/awscdkcognitoidentitypoolalpha/v2#IdentityPoolProviderUrl
Javasoftware.amazon.awscdk.services.cognito.identitypool.alpha.IdentityPoolProviderUrl
Pythonaws_cdk.aws_cognito_identitypool_alpha.IdentityPoolProviderUrl
TypeScript (source)@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 IdentityPoolProviderType โ€” type of Provider Url.
  • value string โ€” value of Provider Url.

Properties

NameTypeDescription
type๐Ÿ”นIdentityPoolProviderTypetype of Provider Url.
value๐Ÿ”นstringvalue of Provider Url.
static AMAZON๐Ÿ”นIdentityPoolProviderUrlAmazon Provider Url.
static APPLE๐Ÿ”นIdentityPoolProviderUrlApple Provider Url.
static DIGITS๐Ÿ”นIdentityPoolProviderUrlDigits Provider Url.
static FACEBOOK๐Ÿ”นIdentityPoolProviderUrlFacebook Provider Url.
static GOOGLE๐Ÿ”นIdentityPoolProviderUrlGoogle Provider Url.
static TWITTER๐Ÿ”นIdentityPoolProviderUrlTwitter Provider Url.

type๐Ÿ”น

Type: IdentityPoolProviderType

type of Provider Url.


value๐Ÿ”น

Type: string

value of Provider Url.


static AMAZON๐Ÿ”น

Type: IdentityPoolProviderUrl

Amazon Provider Url.


static APPLE๐Ÿ”น

Type: IdentityPoolProviderUrl

Apple Provider Url.


static DIGITS๐Ÿ”น

Type: IdentityPoolProviderUrl

Digits Provider Url.


static FACEBOOK๐Ÿ”น

Type: IdentityPoolProviderUrl

Facebook Provider Url.


static GOOGLE๐Ÿ”น

Type: IdentityPoolProviderUrl

Google Provider Url.


static TWITTER๐Ÿ”น

Type: IdentityPoolProviderUrl

Twitter Provider Url.

Methods

NameDescription
static custom(url)๐Ÿ”นCustom Provider Url.
static openId(url)๐Ÿ”นOpenId Provider Url.
static saml(url)๐Ÿ”นSaml Provider Url.
static userPool(url)๐Ÿ”นUser Pool Provider Url.

static custom(url)๐Ÿ”น

public static custom(url: string): IdentityPoolProviderUrl

Parameters

  • url string

Returns

  • IdentityPoolProviderUrl

Custom Provider Url.


static openId(url)๐Ÿ”น

public static openId(url: string): IdentityPoolProviderUrl

Parameters

  • url string

Returns

  • IdentityPoolProviderUrl

OpenId Provider Url.


static saml(url)๐Ÿ”น

public static saml(url: string): IdentityPoolProviderUrl

Parameters

  • url string

Returns

  • IdentityPoolProviderUrl

Saml Provider Url.


static userPool(url)๐Ÿ”น

public static userPool(url: string): IdentityPoolProviderUrl

Parameters

  • url string

Returns

  • IdentityPoolProviderUrl

User Pool Provider Url.