Interface IdentityPoolProviders

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IdentityPoolAuthenticationProviders
All Known Implementing Classes:
IdentityPoolAuthenticationProviders.Jsii$Proxy, IdentityPoolProviders.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.471Z") @Stability(Experimental) public interface IdentityPoolProviders extends software.amazon.jsii.JsiiSerializable
(experimental) External Identity Providers To Connect to User Pools and Identity Pools.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cognito.identitypool.*;
 IdentityPoolProviders identityPoolProviders = IdentityPoolProviders.builder()
         .amazon(IdentityPoolAmazonLoginProvider.builder()
                 .appId("appId")
                 .build())
         .apple(IdentityPoolAppleLoginProvider.builder()
                 .servicesId("servicesId")
                 .build())
         .digits(IdentityPoolDigitsLoginProvider.builder()
                 .consumerKey("consumerKey")
                 .consumerSecret("consumerSecret")
                 .build())
         .facebook(IdentityPoolFacebookLoginProvider.builder()
                 .appId("appId")
                 .build())
         .google(IdentityPoolGoogleLoginProvider.builder()
                 .clientId("clientId")
                 .build())
         .twitter(IdentityPoolTwitterLoginProvider.builder()
                 .consumerKey("consumerKey")
                 .consumerSecret("consumerSecret")
                 .build())
         .build();
 
  • Method Details

    • getAmazon

      @Stability(Experimental) @Nullable default IdentityPoolAmazonLoginProvider getAmazon()
      (experimental) App Id for Amazon Identity Federation.

      Default: - No Amazon Authentication Provider used without OpenIdConnect or a User Pool

    • getApple

      @Stability(Experimental) @Nullable default IdentityPoolAppleLoginProvider getApple()
      (experimental) Services Id for Apple Identity Federation.

      Default: - No Apple Authentication Provider used without OpenIdConnect or a User Pool

    • getDigits

      @Stability(Experimental) @Nullable default IdentityPoolDigitsLoginProvider getDigits()
      (experimental) Consumer Key and Secret for Digits Identity Federation.

      Default: - No Digits Authentication Provider used without OpenIdConnect or a User Pool

    • getFacebook

      @Stability(Experimental) @Nullable default IdentityPoolFacebookLoginProvider getFacebook()
      (experimental) App Id for Facebook Identity Federation.

      Default: - No Facebook Authentication Provider used without OpenIdConnect or a User Pool

    • getGoogle

      @Stability(Experimental) @Nullable default IdentityPoolGoogleLoginProvider getGoogle()
      (experimental) Client Id for Google Identity Federation.

      Default: - No Google Authentication Provider used without OpenIdConnect or a User Pool

    • getTwitter

      @Stability(Experimental) @Nullable default IdentityPoolTwitterLoginProvider getTwitter()
      (experimental) Consumer Key and Secret for Twitter Identity Federation.

      Default: - No Twitter Authentication Provider used without OpenIdConnect or a User Pool

    • builder

      @Stability(Experimental) static IdentityPoolProviders.Builder builder()
      Returns:
      a IdentityPoolProviders.Builder of IdentityPoolProviders