Class IdentityPoolProviderUrl

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cognito.identitypool.alpha.IdentityPoolProviderUrl
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:52.973Z") @Stability(Experimental) public class IdentityPoolProviderUrl extends software.amazon.jsii.JsiiObject
(experimental) Keys for Login Providers - each correspond to the client IDs of their respective federation Identity Providers.

Example:

 import software.amazon.awscdk.services.cognito.identitypool.alpha.IdentityPoolProviderUrl;
 IdentityPool.Builder.create(this, "myidentitypool")
         .identityPoolName("myidentitypool")
         .roleMappings(List.of(IdentityPoolRoleMapping.builder()
                 .providerUrl(IdentityPoolProviderUrl.custom("my-custom-provider.com"))
                 .useToken(true)
                 .build()))
         .build();
 
  • Field Details

    • AMAZON

      @Stability(Experimental) public static final IdentityPoolProviderUrl AMAZON
      (experimental) Amazon Provider url.
    • APPLE

      @Stability(Experimental) public static final IdentityPoolProviderUrl APPLE
      (experimental) Apple Provider url.
    • FACEBOOK

      @Stability(Experimental) public static final IdentityPoolProviderUrl FACEBOOK
      (experimental) Facebook Provider url.
    • GOOGLE

      @Stability(Experimental) public static final IdentityPoolProviderUrl GOOGLE
      (experimental) Google Provider url.
    • TWITTER

      @Stability(Experimental) public static final IdentityPoolProviderUrl TWITTER
      (experimental) Twitter Provider url.
  • Constructor Details

    • IdentityPoolProviderUrl

      protected IdentityPoolProviderUrl(software.amazon.jsii.JsiiObjectRef objRef)
    • IdentityPoolProviderUrl

      protected IdentityPoolProviderUrl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • IdentityPoolProviderUrl

      @Stability(Experimental) 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

      @Stability(Experimental) @NotNull public static IdentityPoolProviderUrl custom(@NotNull String url)
      (experimental) Custom Provider url.

      Parameters:
      url - This parameter is required.
    • openId

      @Stability(Experimental) @NotNull public static IdentityPoolProviderUrl openId(@NotNull String url)
      (experimental) OpenId Provider url.

      Parameters:
      url - This parameter is required.
    • saml

      @Stability(Experimental) @NotNull public static IdentityPoolProviderUrl saml(@NotNull String url)
      (experimental) Saml Provider url.

      Parameters:
      url - This parameter is required.
    • userPool

      @Stability(Experimental) @NotNull public static IdentityPoolProviderUrl userPool(@NotNull IUserPool userPool, @NotNull IUserPoolClient userPoolClient)
      (experimental) User Pool Provider Url.

      Parameters:
      userPool - This parameter is required.
      userPoolClient - This parameter is required.
    • getType

      @Stability(Experimental) @NotNull public IdentityPoolProviderType getType()
      (experimental) The type of Identity Pool Provider.
    • getValue

      @Stability(Experimental) @NotNull public String getValue()
      (experimental) The value of the Identity Pool Provider.