Class IdentityPoolProviderUrl
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.identitypool.IdentityPoolProviderUrl
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:33.419Z")
@Stability(Stable)
public class IdentityPoolProviderUrl
extends software.amazon.jsii.JsiiObject
Keys for Login Providers - each correspond to the client IDs of their respective federation Identity Providers.
Example:
import software.amazon.awscdk.services.cognito.identitypool.IdentityPoolProviderUrl;
IdentityPool.Builder.create(this, "myidentitypool")
.identityPoolName("myidentitypool")
.roleMappings(List.of(IdentityPoolRoleMapping.builder()
.providerUrl(IdentityPoolProviderUrl.custom("my-custom-provider.com"))
.useToken(true)
.build()))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IdentityPoolProviderUrlAmazon Provider url.static final IdentityPoolProviderUrlApple Provider url.static final IdentityPoolProviderUrlFacebook Provider url.static final IdentityPoolProviderUrlGoogle Provider url.static final IdentityPoolProviderUrlTwitter Provider url. -
Constructor Summary
ConstructorsModifierConstructorDescriptionIdentityPoolProviderUrl(IdentityPoolProviderType type, String value) protectedIdentityPoolProviderUrl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedIdentityPoolProviderUrl(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic IdentityPoolProviderUrlCustom Provider url.getType()The type of Identity Pool Provider.getValue()The value of the Identity Pool Provider.static IdentityPoolProviderUrlOpenId Provider url.static IdentityPoolProviderUrlSaml Provider url.static IdentityPoolProviderUrluserPool(IUserPool userPool, IUserPoolClient userPoolClient) User Pool Provider Url.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
AMAZON
Amazon Provider url. -
APPLE
Apple Provider url. -
FACEBOOK
Facebook Provider url. -
GOOGLE
Google Provider url. -
TWITTER
Twitter Provider url.
-
-
Constructor Details
-
IdentityPoolProviderUrl
protected IdentityPoolProviderUrl(software.amazon.jsii.JsiiObjectRef objRef) -
IdentityPoolProviderUrl
protected IdentityPoolProviderUrl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
IdentityPoolProviderUrl
@Stability(Stable) public IdentityPoolProviderUrl(@NotNull IdentityPoolProviderType type, @NotNull String value) - Parameters:
type- The type of Identity Pool Provider. This parameter is required.value- The value of the Identity Pool Provider. This parameter is required.
-
-
Method Details
-
custom
Custom Provider url.- Parameters:
url- This parameter is required.
-
openId
OpenId Provider url.- Parameters:
url- This parameter is required.
-
saml
Saml Provider url.- Parameters:
url- This parameter is required.
-
userPool
@Stability(Stable) @NotNull public static IdentityPoolProviderUrl userPool(@NotNull IUserPool userPool, @NotNull IUserPoolClient userPoolClient) User Pool Provider Url.- Parameters:
userPool- This parameter is required.userPoolClient- This parameter is required.
-
getType
The type of Identity Pool Provider. -
getValue
The value of the Identity Pool Provider.
-